| anova.lmRob | R Documentation |
Compute an analysis of variance table for one or more robust linear model fits.
## S3 method for class 'lmRob'
anova(object, ..., test = c("RF", "RWald"))
## S3 method for class 'lmRoblist'
anova(object, const, ipsi, yc, test = c("RWald", "RF"), ...)
object |
an lmRob object. |
... |
additional arguments required by the generic anova function. If |
const |
a numeric value containing the tuning constant. |
ipsi |
an integer value specifying the psi-function. |
yc |
a numeric value containing the tuning constant. |
test |
a single character value specifying which test should be computed in the Anova table. The possible choices are "RWald" and "RF". |
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.
an anova object.
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.
lmRob,
anova.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.