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: Likelihood ratio problem


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Likelihood ratio problem
Date   Wed, 14 Apr 2010 08:06:18 +0000 (GMT)

--- On Wed, 14/4/10, cajones wrote:
> I am running the same random effects logit regression model
> on two populations. To test if the populations are
> significantly different, I need to complete a likelihood
> ratio test. Unfortunately, the suest command gives me the
> following error:
> 
> unable to generate scores for model a
> suest requires that predict allow the score option
> r(322);

You'd better estimate a single model for both populations 
together and study the differences using interaction terms. 
You would need to be a bit careful with specifying the 
random effects, but that is just a matter of smartly 
coding the variables, as is discussed on pages 9 --18 of 
this presentation by Bobby Gutierrez at the 2007 Nordic 
Stata Users' meeting:

http://repec.org/nbsug2007/sweden07.pdf 

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/


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