Dear Statalist,
When having an endogenous binary variable, we get more precise estimates when employing a nonlinear first stage and using its fitted value as an instrument in the second stage (e.g., Wooldridge, 2010).
What I still do not quite understand is whether we can also include the original instrument as an instrument along the fitted value.
Let's say we have:
y1 = endogenous variable
z = instrument for y1
y2 = dependent variable of interest
x = covariates
First stage: y1 = beta_0 + beta_1 * z + beta_2 * x + u1
--> obtain fitted probability of y1 = hat{y1}
Second stage: y2 = alpha_0 + alpha_1 * hat{y1} + alpha_2 * x + u2
In Stata, we would write:
Could we also plug in z for an additional instrument for y1 on the second stage?
Thanks!
When having an endogenous binary variable, we get more precise estimates when employing a nonlinear first stage and using its fitted value as an instrument in the second stage (e.g., Wooldridge, 2010).
What I still do not quite understand is whether we can also include the original instrument as an instrument along the fitted value.
Let's say we have:
y1 = endogenous variable
z = instrument for y1
y2 = dependent variable of interest
x = covariates
First stage: y1 = beta_0 + beta_1 * z + beta_2 * x + u1
--> obtain fitted probability of y1 = hat{y1}
Second stage: y2 = alpha_0 + alpha_1 * hat{y1} + alpha_2 * x + u2
In Stata, we would write:
Code:
logit y1 z x, robust predict y1_hat ivreg2 y2 x (y1 = y1_hat), robust first endog(y1)
Code:
ivreg2 y2 x (y1 = z y1_hat), robust first endog(y1)
Thanks!

Comment