Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Summary stats table in a particular format


From   Shehzad Ali <drshehzad_ali@yahoo.com>
To   Stata List <statalist@hsphsun2.harvard.edu>
Subject   st: Summary stats table in a particular format
Date   Sun, 5 Aug 2012 20:29:29 +0100 (BST)

Hi listers,

I am using -tabstat- to create a table of summary stats; however, I want the table to appear in the format below. Just wondering if someone may be able to help.

                                                   group1                 group2
var1 label
Mean (SD)                               2.5 (1.1)                2.9 (1.2)
Median (min to max)              2.1 (0.4 to 5.9)      2.2 (0.3 to 6.8)
N (% missing)                         120 (5%)               140 (7%)

var2 label
Mean (SD)                               
Median (min to max)              
N (% missing)                         

Many thanks
Shehzad

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index