Dear all,
I am trying to figure out how we can refer to a specific coefficient from the first-stage of ivreg2.
In particular, I am interested in the coefficient from the instrumental variable (for the case of one IV and one endogenous variable).
Consider, for example, running the following
sysuse auto
ivreg2 price (mpg = weight), first
If we want to recover the coefficient of 'mpg' from the second-stage, we can just run
di _b[mpg]
My point is how to recover the _b[weight] from the first-stage?
I know that we can recover, for example, the F-stat from the first stage by running
di e(first)[4,1]
So I was wondering whether we can recover the coefficient of _b[weight] in a similar fashion (instead of using 'savefirst' option or the 'est store').
Thank you!
Best regards,
Otavio
Related Posts with Finding the _b[coefficient] from the first-stage of ivreg2
How can I export different tables to excel using different sheets?Hi, I'm having a hard time trying to export three different tabstats to three different excel sheets…
Customize the width of columns in tables using putdocxHi all, I'm having difficulty determining if and how putdocx can create a table with explicitly set…
to convert data into unique observationArray Hello, i am new to stata and i'm working on unbalanced panel. i have uploaded image of data.…
How can I export different tables to excel using different sheets?Hi, I'm having a hard time trying to export three different tabstats to three different excel sheets…
How can I keep a large a number of variables in STATAHello, I would like to do the OLS after variables selection by LASSO. Lasso selected about 70 varia…
Subscribe to:
Post Comments (Atom)
0 Response to Finding the _b[coefficient] from the first-stage of ivreg2
Post a Comment