[R] Type III Sum of Squares

Thomas Lumley tlumley at u.washington.edu
Fri Mar 1 18:32:48 CET 2002

On 1 Mar 2002, Peter Dalgaard BSA wrote:

> Sébastien Plante <sebastien_plante at uqar.qc.ca> writes:
> > Hi,
> >
> > When doing a two-ways anova in R and comparing my same results with an SPSS
> > output, I noticed that R calculated type I Sum of Squares. Is it possible to
> > use Type III Sum of Squares?
> drop1() is pretty close.

and if you know what two models a Type III sum of squares compares you can
fit those two models and do

anova(model1, model2)


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list