
Last chance! 50% off unlimited learning
Sale ends in
lm
and
glm
methods for anova(…, test != NULL)
and should not be used by the average user.stat.anova(table, test = c("Rao","LRT", "Chisq", "F", "Cp"),
scale, df.scale, n)
anova.glm(…, test = NULL)
."Rao"
,
"LRT"
, "Chisq"
, "F"
or "Cp"
.scale
.table
, augmented by a column
of test statistics, depending on the test
argument.anova.lm
, anova.glm
.##-- Continued from '?glm':
print(ag <- anova(glm.D93))
stat.anova(ag$table, test = "Cp",
scale = sum(resid(glm.D93, "pearson")^2)/4,
df.scale = 4, n = 9)
Run the code above in your browser using DataLab