Statalist The Stata Listserver


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

st: robust and test


From   Jamie Fagg <[email protected]>
To   [email protected]
Subject   st: robust and test
Date   Wed, 11 Apr 2007 01:43:04 -0400

Dear all,

I have a basic query about -test- with robust-cluster models.

I want to compare two models:

(1)
xi: logistic depvar i.x1 i.x2, robust cluster(i)

(2)
xi: logistic depvar i.x1 i.x2 i.x1*i.x2, robust cluster(i)

I gather from the list and manuals that I can't use lrtest to compare
these models and that I should consider -test-. My first question is
therefore, can -test- compare the fit of two models like this, in the
way that lrtest can for models with no robust option specified.

If so, my second question relates to the syntax because the manuals seem
to suggest that there are 4 different ways of writing the syntax and I
can't decipher which is appropriate to carry out the operation as
described above. If this has been covered in the list already (I'm
afraid I couldn't find it if it has) could someone refer me to the note
in question. And if it hasn't, any help would be much appreciated.

best wishes

Jamie

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index