powered by
Compute a robust F-Test, i.e., a Wald test for multiple coefficients of an rlm object.
rlm
f.robftest(object, var = -1)
An object of class "htest", hence with the standard print methods for hypothesis tests. This is basically a list with components
"htest"
the F statistic, according to ...
numerator and denominator degrees of freedom.
(extracted from input object.)
object
"two.sided", always.
"two.sided"
the P-value, using an F-test on statistic and df[1:2].
statistic
df[1:2]
result of rlm().
rlm()
variables. Either their names or their indices; the default, -1 means all but the intercept.
-1
Werner Stahel, July 2000; updates by Martin Maechler.
This builds heavily on summary.rlm(), the summary method for rlm results.
summary.rlm()
summary
FIXME --- Need some here !
rlm, summary.aov, etc.
summary.aov
if(require("MASS")) { ## same data as example(rlm) data(stackloss) summary(rsl <- rlm(stack.loss ~ ., stackloss)) f.robftest(rsl) } else " forget it "
Run the code above in your browser using DataLab