WeakIdentificationWarning#

exception superglm.WeakIdentificationWarning#

Bases: UserWarning

Some coefficients carry information only at the noise level of the data.

Fires once per fit_reml and names the coefficients. Each belongs to a factor level or column with little or no weight, few observations or little information: the data pin it down no better than the rounding of the computation does. The fit keeps these coefficients in the model and says so plainly: those whose information is at noise level are left out of smoothing-parameter (REML) selection, and every named coefficient’s estimate and standard error carry little information. They are listed in model.diagnostics() (per group under "weakly_identified" and, with a note, under "_model"). To remove the warning, drop the column or merge the level, or give its rows more weight or data.