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:> 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?I believe you can use function Anova in package car, for a single-stratum design. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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:> > 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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:>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----------------------------------------------------- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._