Add perfect separation warning to MNLogit.
Activity
josef-pkt commentedon Oct 5, 2012
Detecting perfect prediction will be necessary.
However, in the example of #514 we get the problems (in my fit) with a few non perfectly predicted cases
with 20 parameters to estimate, we might hit the perfect separation problems already before all observations are perfectly predicted.
Note: I'm working with L1 regularized fit to have more meaningful results to look at.
josef-pkt commentedon Jul 20, 2015
Irix dataset is a good example for perfect separation in MNLogit.
see my answer http://stackoverflow.com/questions/31507396/mnlogit-in-statsmodel-returning-nan/31511894#31511894