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]

st: RE: Create a table of estimation results from several simple regressions


From   "David Radwin" <dradwin@mprinc.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Create a table of estimation results from several simple regressions
Date   Tue, 29 May 2012 10:49:32 -0700 (PDT)

Hassan,

You might find it easiest to create your own (pipe- or comma- or
tab-delimited) text file using the -file- command. This will require a
little programming but will give you much more flexibility. See, for
example:

http://www.stata.com/statalist/archive/2008-02/msg00362.html

David
--
David Radwin
Senior Research Associate
MPR Associates, Inc.
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-849-4942
Fax: 510-849-0794

www.mprinc.com

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Hassan Enayati
> Sent: Tuesday, May 29, 2012 10:17 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Create a table of estimation results from several simple
> regressions
>
> Hello all,
>
> I need to create a table of estimation results, including estimates,
> standard errors, and number of observations, from several simple
> regressions. The finished table should have the following structure:
>
> Model 1 | Estimate | Std. Error | Num. Obs.
> Model 2 | Estimate | Std. Error | Num. Obs.
> Model 3 | Estimate | Std. Error | Num. Obs.
>
> At first, I used eststo and then esttab. Unfortunately, I can not get
> the esttab output to take the above specified form. The problem with
> esttab is that even under the wide option, it tabs over for each
> model. Additionally, esttab won't place the number of observations as
> the last entry on a given row. The result looks like the following:
>
> M1 | Est | SE |
>  Number of Obs
>                   M2 | Est | SE | #
>                    Number of Obs
>                                     M3 | Est | SE | #
>                                      Number of Obs
>
> How can I produce a table that looks like the first structure I showed
> above? Thanks in advance for the help.
>
> --
> Hassan

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index