Skip to content

Type I and Type III SS in anova

5 messages · Menelaos Stavrinides, John Fox, Stefan Uhmann +1 more

#
Dear Menelaos,
On
No.
model<-aov(y~a*b)
/
in
If you use "type-III" tests in an unbalanced ANOVA, and want to test
sensible hypotheses, you should use an orthogonal row-basis for the effects,
such as is provided by contr.helmert, contr.poly, or contr.sum, but not by
the default contr.treatment. When you fit a model before changing the
contrast type, contr.treatment is used. Changing the contrast type
subsequent to that has no effect on a model that's already fit (how could
it, unless, e.g., the model is updated?). Because the summary method for aov
objects reports "typei-I" (sequential) tests, the results are independent of
the contrast type.

Regards,
 John
http://www.R-project.org/posting-guide.html
#
Dear list,

slightly OT: can you recommend me any sources where I can find more 
about this Type I - II - III anova problem? It seems as my statistics 
courses did not cover this issue, so I feel rather naive and have this 
sort of feeling that some of my analyses might be complete nonsense.

Regards,
Stefan

John Fox schrieb, Am 26.09.2008 12:36:
#
Try

library(fortunes); fortune("Type III")

(Try it multiple times as there are two relevant quotes: one is to
http://www.stats.ox.ac.uk/pub/MASS3/Exegeses.pdf)

I would not expect modern statistics courses to discuss this issue (or 
even ANOVA except for historical information), as with an interactive 
computing system you can test any two nested models (and not just linear 
Gaussian models).  It relates to the mindset of batch-mode packages like 
SAS of the 1960s, and seemed old-fashioned even when I first taught the 
area in 1979 (using GLIM).

For Bill Venables' preferred approach see Chapter 6 of MASS (the book, any 
edition).
On Fri, 26 Sep 2008, Stefan Uhmann wrote:

            

  
    
#
Dear Stefan,

One place is my Applied Regression text (Sage, 1997 or 2008).

Regards,
 John

------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
web: socserv.mcmaster.ca/jfox
On
[mailto:r-help-bounces at r-project.org]
two-way
to
impression
car
results
by
could
independent
http://www.R-project.org/posting-guide.html