Bookmark and Share

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]

Re: st: observations differ with lrtest because of interaction terms


From   Austin Nichols <[email protected]>
To   [email protected]
Subject   Re: st: observations differ with lrtest because of interaction terms
Date   Tue, 18 May 2010 17:44:13 -0400

Meredith Carlson <[email protected]>:
Start with
http://www.stata.com/support/faqs/stat/logitcd.html
http://www.stata.com/help.cgi?exlogistic
http://fmwww.bc.edu/repec/bocode/f/firthlogit.html
(or just use -test- instead of -lrtest-, or restrict the
larger model to the same set of obs).

On Tue, May 18, 2010 at 5:13 PM, Meredith Carlson
<[email protected]> wrote:
> 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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index