Skip to content

ANOVA type III sum of squares?

4 messages · francois klam, Brian Ripley, Kjetil Halvorsen +1 more

#
Hello,
I'm a neurophysiologist, and actually quite new to R. In fact, to analyse 
the responses of my neurons, I would like to have R doing an non-orthogonal 
ANOVA with a type III sum of squares.
Could anybody help me?
Thank you a lot in advance.
Francois




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Fri, 9 Aug 2002, francois klam wrote:

            
I believe you can use function Anova in package car, for a single-stratum
design.
#
There is a function in the package car (on CRAN) whit an option for type
III SS. But why do you want it?

Kjetil Halvorsen
francois klam wrote:
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
3 days later
#
Dear Francois,

As Brian Ripley and Kjetil Halvorsen have pointed out, the Anova function 
in the car package will compute Type III (and, incidentally, Type II) tests 
(for both linear and generalized linear models). If you decide that you 
want Type III tests, however, be careful with the contrast coding. In 
particular, for models with interactions, the default "treatment" coding in 
R will give meaningless results.

John
At 01:41 PM 8/9/2002 +0000, francois klam wrote:
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
-----------------------------------------------------

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