Dear Statalist,
I have a question with respect to estimating an IV regression where I have two endogenous variables. One of them is a continuous variable and the other is a choice variable. The dependent variable (Y) is also continuous.
I thought that -ivreg2- would be a suitable command (I am using Stata 11.2); it allows two endogenous variables. However, I think -ivreg2- cannot estimate an OLS for one endogenous variable and logit/probit for the other one. Is this correct?
Could anyone help me with a different command that I could use in my case?
Alternatively, I was thinking to perform the IV regression “manually” as follows:
Original model: Y = a0 + a1X1 + a2X2 + a3X3 (X1 is continuous endogenous variable with instrument Z1; X2 is choice endogenous variable with instrument Z2; X3 are other exogenous variables).
1st stage: reg X1 Z1 Z2 X3
predict X1hat, xb
1st stage: logit X2 Z1 Z2 X3 –
predict X2hat, xb
2nd stage: reg Y X1hat X2hat X3
Is this alternative suitable? Will I get unbiased coefficient estimates and correct standard errors?
Thank you for your help.
Best wishes, Urska Kosi
I have a question with respect to estimating an IV regression where I have two endogenous variables. One of them is a continuous variable and the other is a choice variable. The dependent variable (Y) is also continuous.
I thought that -ivreg2- would be a suitable command (I am using Stata 11.2); it allows two endogenous variables. However, I think -ivreg2- cannot estimate an OLS for one endogenous variable and logit/probit for the other one. Is this correct?
Could anyone help me with a different command that I could use in my case?
Alternatively, I was thinking to perform the IV regression “manually” as follows:
Original model: Y = a0 + a1X1 + a2X2 + a3X3 (X1 is continuous endogenous variable with instrument Z1; X2 is choice endogenous variable with instrument Z2; X3 are other exogenous variables).
1st stage: reg X1 Z1 Z2 X3
predict X1hat, xb
1st stage: logit X2 Z1 Z2 X3 –
predict X2hat, xb
2nd stage: reg Y X1hat X2hat X3
Is this alternative suitable? Will I get unbiased coefficient estimates and correct standard errors?
Thank you for your help.
Best wishes, Urska Kosi
Comment