Grokbase Groups R r-help March 2002
FAQ
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

Search Discussions

  • Peter Dalgaard BSA at Mar 1, 2002 at 3:48 pm

    S?bastien Plante <sebastien_plante@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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Thomas Lumley at Mar 1, 2002 at 5:32 pm

    On 1 Mar 2002, Peter Dalgaard BSA wrote:

    Sébastien Plante <sebastien_plante@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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Prof Brian D Ripley at Mar 1, 2002 at 3:49 pm

    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
  • Moffet, Corey at Mar 1, 2002 at 6:37 pm
    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
    _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupr-help @
categoriesr
postedMar 1, '02 at 3:42p
activeMar 1, '02 at 6:37p
posts5
users5
websiter-project.org
irc#r

People

Translate

site design / logo © 2017 Grokbase