[R] lm type of sums of squares

John Fox jfox at mcmaster.ca
Fri Oct 28 19:25:38 CEST 2005


Dear Jarrett,

anova() gives sequential sums of squares (as ?anova.lm says). See
Anova() in the car package for something similar to Type II and III
sums of squares.

I hope this helps,
 John

On Fri, 28 Oct 2005 10:05:39 -0700
 Jarrett Byrnes <redbeard at arrr.net> wrote:
> I'm curious, I realize there are methods for Type II and III sums of 
> squares, and yet, when I've been constructing models with lm, I've 
> noticed that position of the term of the model has not mattered in 
> terms of its p-value.  Does lm use sequential Type I sums of squares,
> 
> or something else?
> 
> Thanks!
> 
> -Jarrett
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/




More information about the R-help mailing list