File: anova.glmRob.Rd

package info (click to toggle)
r-cran-robust 0.7-5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,548 kB
  • sloc: fortran: 11,898; ansic: 741; sh: 13; makefile: 2
file content (48 lines) | stat: -rw-r--r-- 1,097 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\name{anova.glmRob}
\alias{anova.glmRob}
\alias{anova.glmRoblist}

\title{ANOVA for Robust Generalized Linear Model Fits}

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

\usage{
\method{anova}{glmRob}(object, ..., test = c("none", "Chisq", "F", "Cp"))
\method{anova}{glmRoblist}(object, ..., test = c("none", "Chisq", "F", "Cp")) 
}

\arguments{
\item{object}{a glmRob object.}

\item{\dots}{additional glmRob objects.}

\item{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 \code{anova} object.
}

\seealso{
\code{\link{glmRob}}, 
\code{\link{anova}}, 
\code{\link{anova.glmRoblist}}.
}

\examples{
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)
}

\keyword{robust}
\keyword{regression}
\keyword{methods}