I'm trying to calculate the marginal effects of a Tobit model using the margins command instead of mfx, because margins is faster and mfx is a discontinued command.
Tobit models have 3 marginal effects, the marginal effect on probability at the truncated point, the conditional marginal effect and the unconditional marginal effect. For each one I used mfx with the following options
Code:
mfx compute, predict (p(0,.)) mfx compute, predict (e(0,.)) mfx compute, predict (ys(0,.))
Code:
margins , dydx(*) predict(p(0,.)) margins , dydx(*) predict(e(0,.)) margins , dydx(*) predict(ystar(0,.))
Any help is welcome, thank you
0 Response to Marginal effects Tobit (mfx vs margins)
Post a Comment