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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: generating a word table including the first stage regression(s) with an iv-regression


From   Eric Booth <ebooth@ppri.tamu.edu>
To   "<statalist@hsphsun2.harvard.edu>" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: generating a word table including the first stage regression(s) with an iv-regression
Date   Tue, 7 Dec 2010 16:53:11 +0000

<>

This is close, but the 1st stage in the -ivregress- is slightly different than the standalone -regress-  I'm not sure if it's possible to manipulate the -regress- to match the first stage in -ivregress- :

*********!

webuse hsng2, clear
g id = state

 regress hsngval pcturban faminc, 
est sto one
ivregress 2sls rent pcturban (hsngval = faminc), vce(cluster id) first
est sto two

outreg2 [one two] using test.doc, replace bdec(2) bfmt(f) sdec(7) sfmt(e)

**or using -estout- :
estout one two,  cells(b se(par)) margin legend

*********!

- Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
ebooth@ppri.tamu.edu
Office: +979.845.6754


On Dec 7, 2010, at 5:34 AM, Leslie Neubecker wrote:

> Dear statalisters,
> 
> Is there a way to generate a word table of regression results including the first stage regression(s) with an iv-regression, such as
> 
> ivregress 2sls depvar controls (endog = instr), vce(cluster id) first?
> 
> Currently I am using outreg2, but that only includes the iv-regression, not the first stage regression in the tables.
> 
> Thanks in advance for your suggestions.
> 
> Best regards,
> 
> Leslie
> 
> 
> The original of this email was scanned for viruses by the Government Secure Intranet virus scanning service supplied by Cable&Wireless Worldwide in partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On leaving the GSi this email was certified virus free.
> Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.
> 
> *
> *   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/




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