Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Summary Stat Table


From   "Prabal Kr. De" <[email protected]>
To   [email protected]
Subject   st: Summary Stat Table
Date   Mon, 10 Sep 2007 11:48:51 -0700 (PDT)

Hi!
 I have a question about formatting summary
statistics. I want to have a table like:
    Domestic   Foreign Total 
weight   3317.115  2315.909  3019.459 
    (695.36) (433.00) (777.19) 
length   196.1346 168.5455 187.9324 
    (20.05) (13.68) (22.27) 

 
I am using -tabstat- and then "copy table" and then
formatting in Excel.
 
use auto
sort foreign
tabstat weight length, stats(mean sd) by(foreign)
 
which produces
 
foreign weight length 
   
Domestic 3317.115 196.1346 
 695.3637 20.04605 
   
Foreign 2315.909 168.5455 
 433.0035 13.68255 
   
Total 3019.459 187.9324 
 777.1936 22.26634 

Is there a way I can produce the first table within
STATA itself?
Thanks a lot in advance.
        Regards,
 Prabal


       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 
*
*   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