With the latest version of cmp, after estimation, you can condition predicted probabilities and expectations for one equation's outcome on the bounding of another equation's outcome.
From the help file:
Get the latest version by typing "ssc install cmp, replace".
--David
From the help file:
cmp's most unusual predict option is condition(). It allows computed probabilities and expectations for one equation's outcome to be conditioned on the bounding of another equation's. E.g., one can use the option to predict the probability of a student's math score being between 5 and 10 if her reading score is between 4 and 8 (with something like "pr(5 10) eq(math) cond(4 8, eq(reading))"), or her expected math score conditioned the same way ("e eq(math) cond(4 8, eq(reading))"), or even her expected math score when both variables are so bounded ("e(5 10) eq(math) cond(4 8, eq(reading))"). Probability estimates for ordered probit equations can be conditioned too. The Heckman selection model examples below illustrate.Since these statistics are available through predict, you can also use -margins- to get marginal effects on them.
Get the latest version by typing "ssc install cmp, replace".
--David
Comment