Dear Statalist members,
I am trying to estimate a model with two endogenous regressors-- one dummy (x1) and another continuous (x2) -- and two instruments z1 and z2. The outcome variable y is continuous
I believe that I could just use the following stata command if both the endogenous variables x1 and x2 were continuous. $controls is a set of control variables
ivregress 2sls y $controls (x1 x2 = z1 z2)
But, with a dummy endogenous variable both ivregress and ivprobit commands seem inappropriate. So, I was wondering if David Roodman's cmp command would be appropriate in this situation, and if so, if the codes below are correctly specified for estimating a model with two endogenous regressors.
setup cmp
cmp (y = $controls x1 x2) (x1= $controls z1 z2) (x2 = $controls z1 z2), ind($cmp_cont, $cmp_probit, $cmp_probit)
Please suggest!
I am trying to estimate a model with two endogenous regressors-- one dummy (x1) and another continuous (x2) -- and two instruments z1 and z2. The outcome variable y is continuous
I believe that I could just use the following stata command if both the endogenous variables x1 and x2 were continuous. $controls is a set of control variables
ivregress 2sls y $controls (x1 x2 = z1 z2)
But, with a dummy endogenous variable both ivregress and ivprobit commands seem inappropriate. So, I was wondering if David Roodman's cmp command would be appropriate in this situation, and if so, if the codes below are correctly specified for estimating a model with two endogenous regressors.
setup cmp
cmp (y = $controls x1 x2) (x1= $controls z1 z2) (x2 = $controls z1 z2), ind($cmp_cont, $cmp_probit, $cmp_probit)
Please suggest!
Comment