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
corner case behavior if we have a model with perfect prediction by design
(I thought I already have an issue, but don't find it right now.
trigger for issue right now: according to their documentation, SPSS handles zero cases in loglike and deviance separately, dropping terms instead of "fixing" them as we do)
examples:
contingency table, loglinear model with saturated exog
computing saturated reference case for deviance, (I needed to add an epsilon to avoid corners)
model with aggregated or averaged data using freq_weights or var_weights
Those would make good test cases for the currently open issues of zero division and similar in GLM families.
Activity
josef-pkt commentedon May 3, 2020
bump
I just ran into the same problem replicating two sample proportion tests with GLM Binomial PR #6675
see #2680 for disabling perfect separation exception when using irls
I also got a zero division warning (raised only once ?)
josef-pkt commentedon Sep 3, 2021
exception when null model has perfect fit and scale=0
#7682 (comment)
josef-pkt commentedon Dec 9, 2022
PR #8552 added option to turn off/on the perfect separation/prediction check, default changed to no exception