anova.lmRob {robust}R Documentation

Compute and Anova table

Description

Produces an Anova table for a robustly fitted linear model.

Usage

anova.lmRob(object, ..., test = c("RF", "RWald"))

Arguments

object an lmRob object.
... additional arguments required by the generic anova function. If ... contains additional robustly fitted linear models then the function anova.lmRob.list is dispatched.
test a single character value specifying which test should be computed in the Anova table. The possible choices are "RWald" and "RF".

Details

The default test used by anova is the "RWald" test, which is the Wald test based on robust estimates of the coefficients and covariance matrix. If test is "RF", the robustified F-test is used instead.

Value

an anova object.

References

Hampel, F. R., Ronchetti, E. M., Rousseeuw, P. J., and Stahel, W. A. (1986). Robust statistics: the approach based on influence functions. John Wiley & Sons.

See Also

lmRob, anova, anova.lmRob.list.

Examples

data(stack.dat)
stack.small <- lmRob(Loss ~ Water.Temp + Acid.Conc., data = stack.dat)
stack.full <- lmRob(Loss ~ ., data = stack.dat)
anova(stack.full)
anova(stack.full, stack.small)

[Package robust version 0.2-0 Index]