Hi there,
I have stata 13.1 and ran gologit2. After that I tried to estimate average marginal effects, first with margins, dyxy(*), but the output does not seem to be right (and I have heared that margins after gologit2 only works with stata 14?). margeff and mfx did not work either:
Furthermore, I tried to estimate predicted probabilities with margins. This worked fine using the following code:
But specifying the at() option there is an error after the second command:
I am not sure where I made a mistake? Does anybody have a solution for the average marginal effects and the predicted probabilities with at() option?
Thanks in advance!
I have stata 13.1 and ran gologit2. After that I tried to estimate average marginal effects, first with margins, dyxy(*), but the output does not seem to be right (and I have heared that margins after gologit2 only works with stata 14?). margeff and mfx did not work either:
Code:
. margeff -margeff- does not work with gologit2; use -mfx- instead . mfx default predict() is unsuitable for marginal-effect calculation
Code:
. margins, predict(outcome(#1)) . margins, predict(outcome(#2)) . margins, predict(outcome(#3))
Code:
. margins, at(deutsch_türkisch=1) predict(outcome(#1)) /// > vsquish post . margins, at(deutsch_türkisch=1) predict(outcome(#2)) /// > vsquish post option at() not allowed r(198);
Thanks in advance!
Comment