Statalist


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

Re: st: Summary Stat Table


From   "Sergiy Radyakin" <serjradyakin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Summary Stat Table
Date   Tue, 11 Sep 2007 15:49:10 +0200

file, in much the
    same way outreg produces formatted regression output, i.e. it
creates an ASCII
    text file with columns separated with tab characters and standard deviations
    displayed in parentheses below the means."

Try:

net search outsum

See the example there in the help file.

Best regards,
   Sergiy



On 9/10/07, Prabal Kr. De <contactprabal@yahoo.com> wrote:
> 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/
>
*
*   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