Dear Statisticians,
I have a problem to get the results of putexcel in columns (i.e. using colwise option). Here is the example command that I have for STATA 13:
tabstat Lectured, statistics(count sum mean min p25 p50 p75 max) save
putexcel A1=matrix(r(StatTotal), names) using test.xlsx, sheet("Results") colwise replace
I don't understand why still the results that I get in excel are in one column. Could you please help me why colwise does not work?! I need the results of my matrix in one row in excel.
Thanks for your responses everyone!
I have a problem to get the results of putexcel in columns (i.e. using colwise option). Here is the example command that I have for STATA 13:
tabstat Lectured, statistics(count sum mean min p25 p50 p75 max) save
putexcel A1=matrix(r(StatTotal), names) using test.xlsx, sheet("Results") colwise replace
I don't understand why still the results that I get in excel are in one column. Could you please help me why colwise does not work?! I need the results of my matrix in one row in excel.
Thanks for your responses everyone!
Comment