Dear Stata users,
I fitted my model using two-step estimator by -Heckman and I need help with the postestimation comands:
1).I I want to calculate the average marginal effects for the regression equation, but when i type:
i got the following error message:
The strange thing is that I was able to estimate the marginal effects for the selection equation using
it worked just fine.
2) After I calculate the marginal effects for both equation, any suggestion on graphics instead:
If anyone could help me I appreciate it.
Max
I fitted my model using two-step estimator by -Heckman and I need help with the postestimation comands:
1).I I want to calculate the average marginal effects for the regression equation, but when i type:
Code:
margins, dydx(*) predict(ycond)
predict option ycond not appropriate with margins
Code:
margins, dydx(*) predict(psel)
2) After I calculate the marginal effects for both equation, any suggestion on graphics instead:
Code:
marginsplot
Max
Comment