Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

AW: st: Marginal Effects for Logistic Mulitlevel Model withInteractionTerms


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Evans Jadotte
Gesendet: Donnerstag, 19. August 2010 14:40
An: statalist@hsphsun2.harvard.edu
Betreff: Re: st: Marginal Effects for Logistic Mulitlevel Model
withInteractionTerms

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/


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index