Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Evans Jadotte <evans.jadotte@uab.es> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Marginal Effects for Logistic Mulitlevel Model withInteractionTerms |
Date | Thu, 19 Aug 2010 14:40:08 +0200 |
Iris.C.Goensch@zeu.uni-giessen.de wrote:
Dear Statalist Participants, I am estimating a logistig multilevel model (which includes interaction terms) and I would like to calculate marginal effects, but I always get the error "default prediction is a function of possibly stochastic quantities other than e(b)". I have tried different specifications (Stata 11) both for the model and for the margins command. Basically, it reads xtmelogit enrolled age i.male c.female_educ i.male#c.female_educ || cluster: || hhid: , or intpoints(1); and then margins, dydx(*) or margins, dydx(*) at(male=0 age=6) but I always get the error. Is there a way to calculate the marginal effects (AME or MER) after xtmelogit? Thanks! Iris ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. * * 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/
Hi Iris, Try "mfx" as a post-estimation command for marginal effects or elasticities. Evans * * 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/