Skip to main content
2 of 7
added 24 characters in body; edited tags
chl
  • 54.3k
  • 23
  • 227
  • 388

How to deal with perfect separation in logistic regression?

If you have variable which perfecly separates zeroes and ones in target variable, R will yield the following "perfect or quasi perfect separation" warning message:

Warning message:
glm.fit: fitted probabilities numerically 0 or 1 occurred 

We still get the model but the coefficient estimates are inflated.

How do you deal with this in practice?

user333
  • 7.3k
  • 20
  • 50
  • 58