anova.glmRob: ANOVA for Robust Generalized Linear Model Fits

Description Usage Arguments Value See Also Examples

View source: R/anova.glmRob.q

Description

Compute an analysis of variance table for one or more robust generalized linear model fits.

Usage

1
2
3
4
## 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")) 

Arguments

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.

Value

an anova object.

See Also

glmRob, anova, anova.glmRoblist.

Examples

1
2
3
4
5
6
7
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)

robust documentation built on May 2, 2019, 5:20 p.m.

Related to anova.glmRob in robust...