Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: margins after mlogit interaction term


From   Ida Hansen <[email protected]>
To   [email protected]
Subject   st: margins after mlogit interaction term
Date   Fri, 27 Jan 2012 17:19:51 +0100

Dear Statalisters



I'm using Stata 12. I'm using margins after mlogit. I have an interaction
term in the model. I have read that the old mfx command gave incorrect
results for interaction effects, while the new margins command gives you no
results. However, I got results for the interaction terms (country*gender)
using margins after mlogit, and I suppose therefore that I have done
something wrong. How can I estimate correct interaction terms in
multinominal logistic regression?

Best Regards,

Ida Hansen



Example for outcome 1:


tabulate country, generate(country)



generate interaction=women*country


xi:mlogit dependent women country1 country2 country3 interaction1
interaction2 interaction3, baseoutcome(0)

margins, dydx(women country1 country2 country3 interaction1 interaction2
interaction3)predict(outcome(1))
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index