[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Logistic regression

From   Richard Williams <>
Subject   Re: st: Logistic regression
Date   Fri, 24 Oct 2008 10:45:46 -0400

At 10:15 AM 10/24/2008, Charles Chasela wrote:
In doing a logistic regression, after storing A and B to do a Likelihood
ratio test lrtest A B, it said there is a difference in the population in
the two variables 884 vs 885.

Is there anything I can do to deal with the problem.

Charles Chasela

It sounds like missing data lost you a case as you added more variables. You should run both analyses on the exact same cases. One easy way to do this is via the -nestreg- command, e.g.

nestreg, lr: logit y (x1 x2 x3) (x4 x5 x6)

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

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index