Hi, When doing a two-ways anova in R and comparing my same results with an SPSS output, I noticed that R calculated type I Sum of Squares. Is it possible to use Type III Sum of Squares? Thanks, S?bastien Plante Institut des Sciences de la Mer de Rimouski (ISMER) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
S?bastien Plante <sebastien_plante at uqar.qc.ca> writes:> Hi, > > When doing a two-ways anova in R and comparing my same results with an SPSS > output, I noticed that R calculated type I Sum of Squares. Is it possible to > use Type III Sum of Squares?drop1() is pretty close. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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, 1 Mar 2002, [iso-8859-1] Sébastien Plante wrote:> Hi, > > When doing a two-ways anova in R and comparing my same results with an SPSS > output, I noticed that R calculated type I Sum of Squares. Is it possible to > use Type III Sum of Squares?Yes, but we don't tell you how to avoid leading you into a mire. See http://www.stats.ox.ac.uk/pub/MASS3/Exegeses.pdf. Most of the time drop1() does what people are using `Type III' for. -- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 1 Mar 2002, Peter Dalgaard BSA wrote:> Sébastien Plante <sebastien_plante at uqar.qc.ca> writes: > > > Hi, > > > > When doing a two-ways anova in R and comparing my same results with an SPSS > > output, I noticed that R calculated type I Sum of Squares. Is it possible to > > use Type III Sum of Squares? > > drop1() is pretty close.and if you know what two models a Type III sum of squares compares you can fit those two models and do anova(model1, model2) -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
John Fox pointed me in the right direction when I asked this question before. Use Anova(lm, type = "III") in the "car" package. 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 -----Original Message----- From: S?bastien Plante [mailto:sebastien_plante at uqar.qc.ca] Sent: Friday, March 01, 2002 9:43 AM To: r-help at stat.math.ethz.ch Subject: [R] Type III Sum of Squares Hi, When doing a two-ways anova in R and comparing my same results with an SPSS output, I noticed that R calculated type I Sum of Squares. Is it possible to use Type III Sum of Squares? Thanks, S?bastien Plante Institut des Sciences de la Mer de Rimouski (ISMER) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._