Site icon Stata.Professor : Your Partner in Research

asdoc | How to transpose the results table | Export to Word in Stata

Dear Dr. Attaullah Shah, first of all thank you very much for your great Stata-ado asdoc. I am failing at creating a table and wanted to ask you if you can help me. The Syntax is: sysuse auto, clear bysort foreign: asdoc tabstat mpg rep78 headroom weight length turn , /// stat( mean) label replace The resulting table is almost exactly what I want, just transposed incorrectly. Is there a way to transpose this table with asdoc so that the variables are not in the columns but in the rows? Thanks in advance, Jörg Eulenberger
Exit mobile version