Dear Statalist,
Hi.
I want to estimate the bivariate probit model with panel data.
My dependent variable(Y), endogenous independent variable(X), and instrument variable(Z) are all binary variables.
(Some of my control variables ($control_for_y and $control_for_x) are binary and others are continuous.)
I think there is a reverse causality between X and Y(i.e. Y->X), so I'm considering using a bivariate probit model.
Also, if possible, I want to run a regression with fixed effects.
I searched and tried several ways, but none of them seemed to be working:
- biprobit model: I tried a biprobit code below first. However, I later discovered that the biprobit model is not appropriate for panel data.
(Id is panel variable, and wave is time variable for the panel data.)
- xtprobit model: Since I'm using panel data, it seems reasonable. However, I don't know how to deal with my endogenous regressor(X) in this model.
- xtspecialreg: I've heard about this, but as far as I know, xtspecialreg requires the instrument variable to be continuous. (If it is not true, please let me know.)
So, which model should I use in this case?
I've heard about cmp but have not tried it yet. Do you think cmp is the best command I can use in this case?
And also, how can I calculate the marginal effects after probit regression?
Thank you in advance!
Hi.
I want to estimate the bivariate probit model with panel data.
My dependent variable(Y), endogenous independent variable(X), and instrument variable(Z) are all binary variables.
(Some of my control variables ($control_for_y and $control_for_x) are binary and others are continuous.)
I think there is a reverse causality between X and Y(i.e. Y->X), so I'm considering using a bivariate probit model.
Also, if possible, I want to run a regression with fixed effects.
I searched and tried several ways, but none of them seemed to be working:
- biprobit model: I tried a biprobit code below first. However, I later discovered that the biprobit model is not appropriate for panel data.
Code:
biprobit (y = x $control_for_y i.wave) (x = y $control_for_x z i.wave), vce(cluster id)
- xtprobit model: Since I'm using panel data, it seems reasonable. However, I don't know how to deal with my endogenous regressor(X) in this model.
- xtspecialreg: I've heard about this, but as far as I know, xtspecialreg requires the instrument variable to be continuous. (If it is not true, please let me know.)
So, which model should I use in this case?
I've heard about cmp but have not tried it yet. Do you think cmp is the best command I can use in this case?
And also, how can I calculate the marginal effects after probit regression?
Thank you in advance!
Comment