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

st: RE: stats by group


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: stats by group
Date   Wed, 23 Mar 2005 23:31:33 -0000

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/



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