The R Project SVN R

Rev

Rev 61433 | Rev 68948 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61433 Rev 62641
Line 85... Line 85...
85
\dontshow{require(utils)
85
\dontshow{require(utils)
86
example("glm", echo = FALSE)}
86
example("glm", echo = FALSE)}
87
anova(glm.D93)
87
anova(glm.D93)
88
anova(glm.D93, test = "Cp")
88
anova(glm.D93, test = "Cp")
89
anova(glm.D93, test = "Chisq")
89
anova(glm.D93, test = "Chisq")
-
 
90
glm.D93a <-
90
glm.D93a <- update(glm.D93, ~treatment*outcome) ## equivalent to Pearson Chi-square
91
   update(glm.D93, ~treatment*outcome) # equivalent to Pearson Chi-square
91
anova(glm.D93, glm.D93a, test = "Rao")
92
anova(glm.D93, glm.D93a, test = "Rao")
92
}
93
}
93
\keyword{models}
94
\keyword{models}
94
\keyword{regression}
95
\keyword{regression}
95
 
96