Skip to content
Prev 43200 / 398513 Next

warning associated with Logistic Regression

David Firth <d.firth at warwick.ac.uk> writes:
Sufficient but not necessary. It can happen just by numerical roundoff
if the effect is strong enough. (I have an example with age and
prevalent menarche: for nearly all women this happens between the age
of 10 and 18, so if you have a couple of 40-year olds in your data
set, they'll get a fitted p of 1. Happens even more easily if you
throw in a cubic term.)
This, however, is a clear sign that the fit has diverged, and in that
case (but not necessarily otherwise) the asymptotic theory is invalid.