Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Descriptive statistics table for continuous variables by several subgroups


From   Michael McCulloch <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Descriptive statistics table for continuous variables by several subgroups
Date   Thu, 13 Mar 2014 11:38:32 -0700

Marie, the Tabout program can do this, and shows how to implement in LaTex. Ian Watson's tutorial paper is easily located via google.


Best wishes,
Michael McCulloch

--
Pine Street Foundation, since 1989
124 Pine Street | San Anselmo | California | 94960-2674  
P: (415) 407-1357 | F: (206) 338-2391 | http://www.PineStreetFoundation.org


> On Mar 13, 2014, at 11:30 AM, "Marie-Luise Schmitz" <[email protected]> wrote:
> 
> Dear Stata users,
>  
> I want to produce a table of descriptive statistics (mean values) for several continuous variables for different subgroups and years. Basically, I want to obtain a table that looks as follows:
>  
>                             2006                      2007                           2008
> variable      all     north    south         all     north    south         all     north    south
> var_1       
> var_2
> var_3
> N. obs.
>  
> I would like to export this table into Latex afterwards which might further complicate things.
>  
> I tried several things using the tabulate command but nothing worked because my rowvariables are not categorial. 
> Any help will be highly appreciated.
> 
> Marie
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index