Hello,
I am currently estimating a linear IV (2SLS) regression in which both the dependent and endogenous variable are binary. I am using Stata version 13.1.
My 2SLS specification looks like this:
both y and x1 are binary variables (and renamed here for simplicity).
I would like to check robustness of my results to estimating this using the probit model i.e. an IV probit, but with a binary endogenous variable. The stata command ivprobit is unsuitable for this type of regression, and I am trying to use the cmp command. I have read both the help file and Roodman's 2011 article in the Stata Journal. However, I am a little confused regarding two issues:
1. The correct specification to estimate through cmp
2. Estimation of the marginal effect of the endogenous variable and instruments
Regarding issue (1) above, I *think* the correct specification in cmp is to use the ‘two stage’ (bivariate) probit (given as example 3 in Roodman’s article), which in cmp would be:
Is this correct? In any case, I am currently using this command, and to calculate average marginal effects afterwards:
however, when I do this, the marginal effects for x2 and x3 are omitted (the output is below):
Does anyone have any advice on whether I am doing (1) or (2) (or both!) incorrectly, and how I might be able to calculate the average marginal effect of x2 and x3 on x1 in this model?
Thanks in advance!
I am currently estimating a linear IV (2SLS) regression in which both the dependent and endogenous variable are binary. I am using Stata version 13.1.
My 2SLS specification looks like this:
Code:
ivreg2 y (x1 = x2 x3) $controls, robust
I would like to check robustness of my results to estimating this using the probit model i.e. an IV probit, but with a binary endogenous variable. The stata command ivprobit is unsuitable for this type of regression, and I am trying to use the cmp command. I have read both the help file and Roodman's 2011 article in the Stata Journal. However, I am a little confused regarding two issues:
1. The correct specification to estimate through cmp
2. Estimation of the marginal effect of the endogenous variable and instruments
Regarding issue (1) above, I *think* the correct specification in cmp is to use the ‘two stage’ (bivariate) probit (given as example 3 in Roodman’s article), which in cmp would be:
Code:
cmp (y = $controls x1) (x1 = x2 x3 $controls) , ind($cmp_probit $cmp_probit) robust
Code:
margins, force dydx(*) predict(pr)
Code:
Average marginal effects Number of obs = 27777 Model VCE : Robust Expression : Pr(y), predict(pr) dy/dx w.r.t. : x1 x2 x3 -------------------------------------------------------------------------------- | Delta-method | dy/dx Std. Err. z P>|z| [95% Conf. Interval] ---------------+---------------------------------------------------------------- x1 | .0311537 .0219898 1.42 0.157 -.0119455 .0742529 x2 | 0 (omitted) x3 | 0 (omitted) --------------------------------------------------------------------------------
Does anyone have any advice on whether I am doing (1) or (2) (or both!) incorrectly, and how I might be able to calculate the average marginal effect of x2 and x3 on x1 in this model?
Thanks in advance!
Comment