Statalist


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

st: labeling estout models with titles from eststo


From   Howard Lempel <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: labeling estout models with titles from eststo
Date   Tue, 30 Sep 2008 15:50:34 -0400

Hello all,

I have a question on the use of the -estout- command, which is available from both SSC and SJ.  I have a do file that runs many regressions and stores each of them using -eststo, title("MyTitle")-.  I would then like to use -estout- to make tables of my results.  I would like each model to be labeled using that model's title.

An example using the auto dataset:

sysuse auto
reg price mpg
eststo model1, title("title1")

reg price mpg rep78
eststo model2, title("title2")

estout model*


Here is my output:

        model1  model2
        b       b
mpg     -238.8943       -271.6425
rep78           666.9568
_cons   11253.06        9657.754


I would like to find a way to replace "model1" and "model2" with "title1" and "title2."� Because I have many models, I would like to be able to do this without specifying a string for each model in -estout-'s -mlabel()- option if at all possible.

Thanks for your consideration.
Howie


Howie Lempel
Research Assistant
The Brookings Institution | Economic Studies

1775 Massachusetts Ave NW | Washington DC 20036
[email protected] | p: (202) 238-3576


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index