The default optimizer is IRLS which uses a wls internally with internal weights as part of the algorithm.
This problem can happen when some values are at the boundaries, e.g. perfect prediction in GLM Binomial.
That's the equivalence of having a zero variance problem at an observation which might result in zero division and infs, or nans if there is for example a sqrt.
We should have imposed limits and clipping for most of those cases in GLM.
What's your model, family, link?
Maybe there is a boundary condition for which we missed the clipping.
GLM allows using a link that doesn't constrain the values to be in the range of the distribution. Those cases should produce a warning.
These cases can be useful, but will not always work.
Josef
--
You received this message because you are subscribed to the Google Groups "pystatsmodels" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pystatsmodel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pystatsmodels/fa11323b-73af-4aac-b272-aba7e18e49d1%40googlegroups.com.