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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: Exporting xtsum results: A Querry


From   Muhammad Anees <anees@aneconomist.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Exporting xtsum results: A Querry
Date   Mon, 6 Jun 2011 13:28:30 +0500

Hi

I have xtsummed a panel dataset separately for male and female
individuals and also for the pooled sample as:

xtsum varlist,
xtsum varlist if male==1 (for male sample)
xtsum varlist if male==0 (for female sample)

My querry is what stata ado or user written command can be used to
export the results into one table as

varlist       |                   female                    |
         male                       |                   pooled
           |
                 |  overall   | Between   | Within   |  overall   |
Between   | Within   |  overall   | Between   | Within   |

The first row is groups and the second row gives results from the
xtsum for each group. I know how to tabout regression results using
esttab or estout commands and make a single table for many groups etc,
but how it could be done for xtsum results for two, three or more
groups and make a single exported table for presentations? Your
suggestion will lessen my burden to do it manually.


Anees
*
*   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