Any model result container that should participate in anova() must
inherit from anova_able. Subclasses fill the four required slots;
build_anova() reads only those slots and dispatches the test statistic
computation on @family.
Slots
termsThe model terms object. Used to verify response consistency.
df_residualResidual degrees of freedom.
devianceScalar deviance measure. For Gaussian LMs this is the residual sum of squares. For GLMs this is the model deviance from
stats::deviance().dispersionScalar dispersion parameter. For Gaussian LMs this is
sigma^2(rss / df_residual). For GLMs with a known dispersion (binomial, Poisson) set to1. For quasi-families use the estimated Pearson dispersion.familyA string identifying the error family, e.g.
"gaussian","binomial","poisson". Used bybuild_anova()to select the correct test statistic. Must be consistent across all models passed to a singleanova()call.