[R] Type III Sums of Squares

Moffet, Corey Corey.Moffet at ttu.edu
Mon Jan 28 23:30:26 CET 2002


Thank you the Anova function does just what I needed.


With best wishes and kind regards I am

Sincerely,

Corey A. Moffet
Instructor
Department of Range, Wildlife, and Fisheries Management
Mail Stop 2125
Texas Tech University
Lubbock, Texas 79409-2125
 
(806) 742-2843  Voice
(806) 742-2280  FAX
c.moffet at ttu.edu

-----Original Message-----
From: John Fox [mailto:jfox at mcmaster.ca]
Sent: Monday, January 28, 2002 1:49 PM
To: Moffet, Corey
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Type III Sums of Squares


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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