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]

Re: st: Marginal Effects for Logistic Mulitlevel Model withInteractionTerms


From   Evans Jadotte <[email protected]>
To   [email protected]
Subject   Re: st: Marginal Effects for Logistic Mulitlevel Model withInteractionTerms
Date   Thu, 19 Aug 2010 14:40:08 +0200

[email protected] 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/


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