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
ENH/REF isfinite check when using _MinimalWLS #4566
GLM and RLM use _MinimalWLS starting in 0.9, merged in #3048
this does not include a isfinite check, and might hang or segfault with some linalg libraries if inf or nans are encountered.
E.g.
GLM binomial (in original distributed notebook) used endog that are outside of the support of the distribution. This raised an exception for the isfinite check with WLS (added in 0.9 in the has-constant check)
AFAIR, in my messy testing for 0.9 release I ended up with cases like this that now have no isfinite protection before going to linalg.
My guess
add check for support of endog, I think only binary model in discrete have them.
If endog and exog are ok from the data, then we only need to check that weights are finite during IRLS iterations in GLM and RLM.
Activity
josef-pkt commentedon Apr 29, 2018
maybe worth looking at for final 0.9 release, but we don't have general policy for isfinite checks yet.
BUG: Add finite check for _MinimalWLS
BUG: Add finite check for _MinimalWLS
BUG: Add finite check for _MinimalWLS
BUG: Add finite check for _MinimalWLS
BUG: Add finite check for _MinimalWLS
BUG: Add finite check for _MinimalWLS
BUG: Add finite check for _MinimalWLS
BUG: Add finite check for _MinimalWLS