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]
st: observations differ with lrtest because of interaction terms
From
Meredith Carlson <[email protected]>
To
[email protected]
Subject
st: observations differ with lrtest because of interaction terms
Date
Tue, 18 May 2010 14:13:24 -0700 (PDT)
Hello Stata users,
I'm a Stata rookie, so please bear with me... I'm having problems when I run lrtest with logistic regression to test for interaction between wealth index and region variables. The number of observations differ, not because of missing values, but because of the interaction terms. The model including interaction has fewer observations because some have been dropped because of this note...
note: _IsesXreg_3_9 != 0 predicts failure perfectly
_IsesXreg_3_9 dropped and 4 obs not used
What exactly does this note mean? What can I do to correct the number of observations so lrtest will run?
Any advice would be greatly appreciated. Thank you!
*
* 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/