Skip to content

Logistic Regression woes

2 messages · Clayton Springer, Brian Ripley

#
Hi All,

When I tried to do logistic regression and I got the following messages:
Warning messages: 
1: Algorithm did not converge in: (if (is.empty.model(mt)) glm.fit.null else glm.fit)(x = X, y = Y,  
2: fitted probabilities numerically 0 or 1 occurred in: (if (is.empty.model(mt)) glm.fit.null else glm.fit)(x = X, y = Y,  

The dataset in question has 2 classes and 80 features, and there are a few features which are collinear.

What could my source of trouble here?

Clayton
#
On Tue, 26 Feb 2002, Clayton Springer wrote:

            
I suspect the two groups are linearly separable.  Then there is no
MLE.  How many data points?  Linear separation is common by change for up
to 2p (here 162) data points.