Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Comparing nested regression models


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Comparing nested regression models
Date   Wed, 2 Jul 2008 10:00:14 +0100 (BST)

--- Tam Lin <kirtlegreen@yahoo.co.uk> wrote:
> I am analysing survey data with probability weights applied.  I want
> to compare simple with complex logistic regression models.  Normally
> I would save estimates from the complex model using the 'estimates
> store' command, and then  consider the simple model to be nested in
> the complex model.  I would then run the likelihood ratio test with
> the 'lrtest' command.
> 
> However, I cannot do this with p-weighted data.  I could use the
> 'force' command but the help menu advises against this.  
> 
> Is there an alternative way to compare two logistic regression models
> using the p-weighted data?

See: http://www.stata.com/support/faqs/stat/lrtest.html

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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