Carissa Moffat Miller <[email protected]>:
test _IfemaleXmarr married
On Mon, Jan 12, 2009 at 10:36 PM, Carissa Moffat Miller
<[email protected]> wrote:
>
> Statalist:
>
> I am trying to statistically compare two logistic regression models using svy commands and have not found a way to compare the models like the lrtest would allow me to normally do with logistic regression.
>
> I know that I can run the Wald test (.test) command after each model and get F test results,and to compare constructed equations, but I do not see a way to use this to compare logistic models.
>
> Is there a way I can compare two models (one nested) using the test command to tell if there is a statistically significant difference? Or is there another command/procedure that is a better alternative?
>
>
> Carissa
>
> Syntax for two models that I want to compare:
>
> svyset APSU [pweight=FAWT], strata (ASTRATUM)
> xi: svy: logistic aepart i.agecat i.income i.higheduc i.raceeth2 urban i.female*married
>
> xi: svy: logistic aepart i.agecat i.income i.higheduc i.raceeth2 urban i.female
>
*
* 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/