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: column headings using estout


From   David Sikkink <David.Sikkink.1@nd.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: column headings using estout
Date   Wed, 6 Jun 2012 08:05:48 -0400

I am running a series of nested regression models and storing the estimates using eststo. 

I would like to have a heading and subheading for each column of regression coefficients in the output from estout. I want the top heading to be the dependent variable name, and the subheading to indicate the particular nested model represented in the column (e.g., "Demographics", "Add Political Party" etc.). 

Multiple dependent variables will be run and included, but the subheadings will repeat for the nested regressions of each dependent variable. 

The result should look like this:

                      DepVar1                        DepVar1                         DepVar2                       DepVar2            
                      Demographics              Add Pol Party             Demographics           Add Pol Party
IndVar1              1.2                                   1.1                               .9                                     .8
IndVar2              3.2                                   2.8                              2.5                                  2.2
IndVar3                                                       .6                                                                         .3
IndVar4                                                      4.2                                                                       3.8


Thanks for any direction you can offer.

--David

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