Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Christopher Baum <kit.baum@bc.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: Re: Outreg2, first stage regression results |
Date | Mon, 21 May 2012 15:20:50 -0400 |
<> As i run a iv-regression model i already made tables for the second stage regression results with outreg2. But! I also want to report my first stage regression results. But in stata 11 i can only can outreg the second stage results. Does anyone know how to also table my first stage results? command is now: ivregress gmm dep loanas var1 var2 (endog = instr isntr), vce(cluster ID) first outreg2 variables using table_1, excel dec(4) paren(se) symbol(***,**,*) replace I don't use the user-written -outreg2-; I use Ben Jann's -estout- from SSC, but I imagine -outreg2- can handle this too. In Baum/Schaffer/Stillman's -ivreg2- (latest version on SSC), you can reproduce -ivregress- results exactly, and there are options to save the first stage regressions as a separate set of estimates. So using the abdata dataset: eststo clear eststo: ivreg2 n (w k ys = L(1/2).(w k ys)) year, first savefirst savefprefix(alpha) esttab alphaw alphak alphays est1 will tabulate both the FSRs and the 2SLS regression result in one table. Kit Kit Baum | Boston College Economics & DIW Berlin | http://ideas.repec.org/e/pba1.html An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html * * 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/