You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Logit: strong but not perfect (?) separation #2282
optimization fails to converge, most observations are predicted close to 0 or 1, standard errors of some parameters are huge, eigenvalues of exog don't have a problem (in rescaled version)
but we don't get perfect separation, and no perfect separation exception.
We have L1 regularization for Logit, but it would hide the non-identification problem in this case. We don't identify partial separation yet, and are not yet able to give a good error message.
Activity
kshedden commentedon Feb 23, 2015
A little bit of regularization (L1 or L2) would take care of this. A regularization PR for GLMs should be coming in a few weeks.
josef-pkt commentedon Feb 23, 2015
We have L1 regularization for Logit, but it would hide the non-identification problem in this case. We don't identify partial separation yet, and are not yet able to give a good error message.
http://www.ats.ucla.edu/stat/mult_pkg/faq/general/complete_separation_logit_models.htm
mentions Firth penalization at the end, but I just saw this a short time ago and didn't check.