I have run a gsem command with 5 outcome variables, link (probit) and a latent factor L. I want to obtain marginal effects of the explanatory variables after getting the gsem estimates. I have tried the following two commands:
margins, dydx(*)
margins, dydx(*) predict(outcome( Y1) fixed)
However, I am getting the message "prediction is a function of possibly stochastic quantities other than e(b)" after running any of the two commands. I am seeking suggestions to mitigate this error.
margins, dydx(*)
margins, dydx(*) predict(outcome( Y1) fixed)
However, I am getting the message "prediction is a function of possibly stochastic quantities other than e(b)" after running any of the two commands. I am seeking suggestions to mitigate this error.