Omitting -col(stat)- will transpose the table.
Nick
[email protected]
Jeffrey Grogger
> This is embarrassing, but I can't figure out how to generate
> means of a
> list of variables broken down by group (two groups), such
> that the group
> means sit side-by-side. This almost works:
>
> tabstat empq*,by(e) long col(stat) stat(mean)
>
> except that the lists of group means sit on top of each
> other, which makes
> cross-group comparisons difficult. Any suggestions?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/