Stata: How do I transpose the oneway summary table? -
it difficult explain gave concrete example. please see link below detail (codes, screenshots , explanation).
https://www.dropbox.com/s/oxwyyqszqxzlqa2/question.pdf?dl=0
the code having right follows (also contained in link)
sysuse auto, clear tabout foreign using tablep1.tex, /// cells(mean mpg sd mpg mean weight sd weight mean length sd length) /// clab(mpg_mean sd weight_mean sd length_mean sd) /// sum npos(tufte) /// replace /// style(tex) bt cl2(2-3 4-5 6-7) cltr2(.75em 1.5em) /// topf(top.tex) botf(bot.tex) topstr(10cm) botstr(auto.dta)
here, followed ian watson's tutorial http://www.ianwatson.com.au/stata.html
Comments
Post a Comment