Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: stats by group


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: stats by group
Date   Wed, 23 Mar 2005 23:31:33 -0000

Omitting -col(stat)- will transpose the table. 

Nick 
n.j.cox@durham.ac.uk 

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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index