| 1 |
\name{f.robftest} |
| 2 |
\alias{f.robftest} |
| 3 |
\title{Robust F-Test: Wald test for multiple coefficients of rlm() Object} |
| 4 |
\description{ |
| 5 |
Compute a robust F-Test, i.e., a Wald test for multiple coefficients |
| 6 |
of an \code{\link[MASS]{rlm}} object. |
| 7 |
} |
| 8 |
\usage{ |
| 9 |
f.robftest(object, var = -1) |
| 10 |
} |
| 11 |
\arguments{ |
| 12 |
\item{object}{result of \code{\link[MASS]{rlm}()}.} |
| 13 |
\item{var}{variables. Either their names or their indices; the |
| 14 |
default, \code{-1} means all \emph{but} the intercept.} |
| 15 |
} |
| 16 |
\details{ |
| 17 |
This builds heavily on \code{\link[MASS]{summary.rlm}()}, the |
| 18 |
\code{\link{summary}} method for \code{\link[MASS]{rlm}} results. |
| 19 |
} |
| 20 |
\value{ |
| 21 |
An object of class \code{"htest"}, hence with the standard print |
| 22 |
methods for hypothesis tests. This is basically a list with components |
| 23 |
\item{statistic}{the F statistic, according to ...}% FIXME |
| 24 |
\item{df}{numerator and denominator degrees of freedom.} |
| 25 |
\item{data.name}{(extracted from input \code{object}.)} |
| 26 |
\item{alternative}{\code{"two.sided"}, always.} |
| 27 |
\item{p.value}{the P-value, using an F-test on \code{statistic} and |
| 28 |
\code{df[1:2]}.} |
| 29 |
} |
| 30 |
\references{ |
| 31 |
FIXME --- Need some here ! |
| 32 |
} |
| 33 |
\author{Werner Stahel, July 2000; updates by Martin Maechler.} |
| 34 |
\seealso{\code{\link[MASS]{rlm}}, \code{\link{summary.aov}}, etc.} |
| 35 |
\examples{ |
| 36 |
if(require("MASS")) { |
| 37 |
## same data as example(rlm) |
| 38 |
data(stackloss) |
| 39 |
summary(rsl <- rlm(stack.loss ~ ., stackloss)) |
| 40 |
f.robftest(rsl) |
| 41 |
} else " forget it " |
| 42 |
|
| 43 |
} |
| 44 |
\keyword{robust} |
| 45 |
\keyword{htest} |
| 46 |
|