[R] Type III Sums of Squares
John Fox
jfox at mcmaster.ca
Mon Jan 28 20:48:30 CET 2002
Dear Corey,
At 09:50 AM 1/28/2002 -0600, Moffet, Corey wrote:
>I am trying to reproduce an analysis done in SAS from which Type III Sums of
>squares are used. How can you get Type III sums of squares in an aov similar
>to what SAS provides?
The Anova function in the car package will calculate both "Type II" and
"Type III" sums of squares, but be careful with contrast coding for the
latter or you'll get nonsense.
I hope that this helps,
John
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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