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: -esttab- with ivreg2


From   Michael Betz <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: -esttab- with ivreg2
Date   Mon, 22 Oct 2012 15:04:51 +0000

Hi,

I'm trying to create a table of the first-stage results from an instrumental variable regression using the user-written programs -ivreg2- and -estout-. As far as I understand, you can replace the point estimates in the table with contents in e() using the main option in esttab. -ivreg2- stores the first stage results in e(first), but I've having no luck getting -esttab- to put them in the table. Below is my code:

est clear
eststo _00: ivreg2 totpovrt00 totpovrt90 $mining90 $shchg90 $base90 $full90 st_* (mtmscquan90_00=maxsr1) if arc==1, robust first
estadd scalar fstat =e(widstat)
esttab _00*, main(first) r2 starl(* 0.1 ** 0.05 *** 0.01) sca(fstat) nogap nonum drop(st_*)  

Adding the scalar fstat works fine, but the table only reports the second stage t-stats in parenthesis below an empty cell for the main table results. Any thoughts?

Thanks,
Mike



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index