Statalist


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

Re: st: lrtest is not appropriate with survey estimation results


From   Richard Williams <Richard.A.Williams.5@ND.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: lrtest is not appropriate with survey estimation results
Date   Wed, 31 Oct 2007 08:16:04 -0400

At 12:14 AM 10/31/2007, Moises Rosas (w) wrote:
Dear Statalisters

When trying to perform a likelihood ratio test on two
nested models the following error message is shown:

lrtest is not appropriate with survey estimation
results

How can I perform such a test?

TIA

Moises Rosas
Generally you do a Wald test instead. So, for example, if model 1 has x1, x2, and x3, and model 2 has x1, x2, x3, x4 and x5, you estimate model 2 and then type

test x4 x5

You can also use the nestreg prefix, e.g.

nestreg: svy: reg y (x1 x2 x3) (x4 x5)


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW: http://www.nd.edu/~rwilliam

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