I am trying to estimate the marginal effect of the regressors on the probability of an uncensored outcome in a tobit model using the cmp module. When using the regular tobit command in Stata this can be accomplished by:
Code:
sysuse auto.dta tobit mpg trunk weight, ll(17) margins, dydx(trunk weight) predict(pr(17,.)) atmeans
Code:
sysuse auto.dta cmp (mpg=trunk weight), ind("cond(mpg>17, $cmp_cont, $cmp_left)" ) margins, dydx(trunk weight) predict(pr(17 .)) atmeans
I'm wondering if there was some other way of getting these marginal effects?
Cheers,
Peter
0 Response to Tobit model in cmp -- marginal effect on probability of positive outcome
Post a Comment