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]

RE: st: RE:RE: AW: marginal effects after ssm command


From   "Arantza Ugidos" <arantza.ugidos@ehu.es>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE:RE: AW: marginal effects after ssm command
Date   Tue, 23 Feb 2010 17:13:40 +0100

Thanks Marteen for your help, we are on it.

Arantza

-----Mensaje original-----
De: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] En nombre de Maarten buis
Enviado el: lunes, 15 de febrero de 2010 14:02
Para: statalist@hsphsun2.harvard.edu
Asunto: Re: st: RE:RE: AW: marginal effects after ssm command

--- On Mon, 15/2/10, Arantza Ugidos wrote:
> We do not know where the error may be. With other commands
> mfx works fine. But after ssm it does not return marginal
> effects but the estimated coefficients again. 

-mfx- looks at the default -predict- function that is 
associated with a command, which should be left behind in
e(predict). If e(predict) is empty then -mfx- looks by default
at the change in the linear prediction, which is what you 
found. Since -ssm- is a wrapper for -gllamm- the authors 
apperently did not think it would be a good idea to provide
such a predict function. Instead, they say in the help file:
"-gllamm- itself should be used to extend the model and for 
prediction and simulation using -gllapred- or -gllasim-". 
The problem is that -mfx- won't work with -gllapred-, so 
you'll probably need to derive the marginal effects yourself.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   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