Good morning, everyone. I've been stuck with an estimation for a few days now. I've read a lot on this forum, but I'm currently unable to proceed.
My goal is to estimate a model with a continuous dependent variable (Y). My main variables of interest are an endogenous dichotomy (X1) and a factor variable (X2). Additionally, I'm introducing other covariates into the model (X3, X4, X5, X6... Xn) and two instruments for the endogenous variable: Z and its square.
The first step was to try a 2SLS ivregress model:
However, I believe this regression is what Wooldridge refers to as a "forbidden regression."
So, the next step was to estimate a model using the "etregress" command, with one of the independent variables as endogenous and the other as a covariate:
The literature doesn't mention instrumental variables with the "etregress" command. I'm not sure if my last estimation are correct. Could anyone shed some light on this?
My goal is to estimate a model with a continuous dependent variable (Y). My main variables of interest are an endogenous dichotomy (X1) and a factor variable (X2). Additionally, I'm introducing other covariates into the model (X3, X4, X5, X6... Xn) and two instruments for the endogenous variable: Z and its square.
The first step was to try a 2SLS ivregress model:
Code:
ivregress 2sls Y X3 X4 (X1 i.X2 = Z Z^2 X5 X6)
So, the next step was to estimate a model using the "etregress" command, with one of the independent variables as endogenous and the other as a covariate:
Code:
etregress Y X2 X3 X4, treat (X1 = Z Z^2 X5 X6)
Comment