I have a binary outcome and binary endogenous regressor. Suppose these are my variables:
There are so many methods/commands to fix the selection bias problem (like ivtreatreg, heckprob, etc.) so I wanted to confirm if the method I am using works. Could anyone please confirm if this works? Thanks!
- Outcome variable: Y (binary)
- Treatment variable: Whether the person received training or not (training = 1 for treated, training = 0 for untreated).- binary (I have info on both those who receive training and those who don't)
- Selection bias: Some individuals might self-select into training programs
- endogeneity exists
- instrumental variable: Z
- controls_A: all variables that are related to training
- controls_B: all variables that impact Y (it might include some controls from control_A)
Code:
probit training Z controls_A *Inverse Mills Ratio predict imr, score *Bivariate Probit Model with Selection and Endogeneity biprobit (Y= training controls_B imr) (training = Z controls_B)
Comment