Hello everyone.
I'm trying to compute and store the marginal effects of a 2-equations probit system estimation. As I said, I need to store the marginal effects (for each equation) for future plotting. The following it's my try, but after the first set of marginal effects (first equation), give an error message:
This is my code:
The idea is to avoid computing the whole system again to compute and store the second equation marginal effects.
Thank you
I'm trying to compute and store the marginal effects of a 2-equations probit system estimation. As I said, I need to store the marginal effects (for each equation) for future plotting. The following it's my try, but after the first set of marginal effects (first equation), give an error message:
Code:
option dydx() not allowed r(198);
Code:
eststo myeqs: /// suest myeq_1 myeq_2 preserve margins, dydx(1.beta*) predict(equation(myeqs_y1)) post estimates store m1 restore preserve margins, dydx(1.beta*) predict(equation(myeqs_y2)) post estimates store m2 restore
Thank you
Comment