I am using eprobit in Stata 15 to estimate a probit regression with endogenous sample selection.
After the estimations I want to calculate the probability of success conditional on selection and the selection probability.
I know I can use heckprobit to that (see following example), but I wonder if it is possible to do it with eprobit.
Regards,
Nikos
Code:
clear * webuse heartsm eprobit attack age bmi i.exercise, select(full = age bmi i.checkup) // This is equivalent to the above heckprobit attack age bmi i.exercise, select(full = age bmi i.checkup) // This is want I want to estimate with eprobit margins , predict(psel) margins , predict(pcond)
0 Response to Conditional probability after eprobit
Post a Comment