Statalist


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

Re: st: AW: marginal effects after xtlogit


From   Shuaizhang Feng <fengsz@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: marginal effects after xtlogit
Date   Mon, 30 Nov 2009 15:03:26 -0800 (PST)

Thanks for the clarification. 

But what should I do after running xtlogit , in order to get results on average marginal effect that are comparable to "logit" and then "margins, dydx(*)"? I have looked at the help files but could not figure this out. 


--- On Mon, 11/30/09, Martin Weiss <martin.weiss1@gmx.de> wrote:

> From: Martin Weiss <martin.weiss1@gmx.de>
> Subject: st: AW: marginal effects after xtlogit
> To: statalist@hsphsun2.harvard.edu
> Date: Monday, November 30, 2009, 4:54 PM
> 
> <> 
> 
> Note that the default prediction after -xtlogit, re- is the
> linear
> prediction, as seen in -help xtlogit postestimation-. For
> -logit-, it is the
> probability. I guess this is the source of the confusion:
> -margins- uses the
> default -predict- option after the respective estimation
> command, unless
> instructed otherwise...
> 
> 
> 
> 
> HTH
> Martin
> 
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]
> Im Auftrag von Shuaizhang Feng
> Gesendet: Montag, 30. November 2009 22:13
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: marginal effects after xtlogit
> 
> Dear list:
> 
> I just found that after using xtlogit (re), the command
> "margins, dydx(*)"
> produce identical average marginal effects as the estimated
> coefficents.
> This is for both discrete and continuous explanatory
> variables. Using the
> same command following logit seems OK. Is this some kind of
> error on stat's
> side? 
> 
> Thank you for any response.
> 
> Shuaizhang
> 
> 
>       
> *
> *   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/
> 


      

*
*   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   |   What's new   |   Site index