anova.glmRob | R Documentation |
Compute an analysis of variance table for one or more robust generalized linear model fits.
## S3 method for class 'glmRob'
anova(object, ..., test = c("none", "Chisq", "F", "Cp"))
## S3 method for class 'glmRoblist'
anova(object, ..., test = c("none", "Chisq", "F", "Cp"))
object |
a glmRob object. |
... |
additional glmRob objects. |
test |
a character string specifying the test statistic to be used. Can be one of "F", "Chisq", "Cp" or "none" for no test. |
an anova
object.
glmRob
,
anova
,
anova.glmRoblist
.
data(breslow.dat)
bres.int <- glmRob(sumY ~ Age10 + Base4*Trt, family = poisson(), data = breslow.dat)
anova(bres.int)
bres.main <- glmRob(sumY ~ Age10 + Base4 + Trt, family = poisson(), data = breslow.dat)
anova(bres.main, bres.int)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.