models.likelihood_ratio_test()
The likelihood ratio test of a GLM within a larger one, as R’s
Usage
models.likelihood_ratio_test(
small,
big,
)anova(small, big, test = "Chisq"): the scaled deviance drop (D_small - D_big) / phi_big on chi2(q). For a family whose dispersion is known (Poisson, binomial).
Parameters
small: GlmFitbig: GlmFit
Returns
Raises
ValueError- As f_test.