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]
AW: st: Marginal Effects for Logistic Mulitlevel Model withInteractionTerms
From
"Martin Weiss" <[email protected]>
To
<[email protected]>
Subject
AW: st: Marginal Effects for Logistic Mulitlevel Model withInteractionTerms
Date
Thu, 19 Aug 2010 14:49:45 +0200
<>
" Try "mfx" as a post-estimation command for marginal effects or
elasticities."
I do not think that the way out of a serious warning issued by Stata should
be the use of a "deprecated" command like -mfx-. The strategy does not even
work, to boot:
***
webuse towerlondon, clear
xtmelogit dtlm difficulty i.group || family: || subject:
cap noi mfx
***
The only circumstances under which one should recommend this approach would
be if Iris used Stata 10, but I have not read anything to this effect yet...
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Evans Jadotte
Gesendet: Donnerstag, 19. August 2010 14:40
An: [email protected]
Betreff: Re: st: Marginal Effects for Logistic Mulitlevel Model
withInteractionTerms
[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/
*
* 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/