NBThetaBoundWarning#
- exception superglm.NBThetaBoundWarning#
Bases:
UserWarningThe NB2 theta estimate sits on an active search bound.
The reported
theta_hatis the constrained boundary value, not an interior maximum-likelihood estimate, and the accompanying result carriesconverged=False. An active upper bound usually means the data are no more dispersed than Poisson at the fitted mean (the profile likelihood increases toward the Poisson limittheta -> inf); an active lower bound means overdispersion beyond the searchable range.