Hi all,
I am attempting to export into excel after using tabulate using the following code
putexcel set weights1, replace sheet("weights", replace)
putexcel A1="DoB1stchild" B1="Freq"
tab DoByear_first_ch if et29==1, matcell(freq) matrow(names)
putexcel A2=matrix(names)
putexcel B2=martrix(freq)
but I receive an error "matrix not found" after the last command.
When running "mat list freq" to check if the matrix exists, I am returned a matrix
Any help you are able to provide is greatly appreciated!
I am attempting to export into excel after using tabulate using the following code
putexcel set weights1, replace sheet("weights", replace)
putexcel A1="DoB1stchild" B1="Freq"
tab DoByear_first_ch if et29==1, matcell(freq) matrow(names)
putexcel A2=matrix(names)
putexcel B2=martrix(freq)
but I receive an error "matrix not found" after the last command.
When running "mat list freq" to check if the matrix exists, I am returned a matrix
Any help you are able to provide is greatly appreciated!
Comment