Ges missing from output

Home forums ANOVA Ges missing from output

This topic contains 2 replies, has 2 voices, and was last updated by  susanneschweizer 6 months, 2 weeks ago.

  • Author
    Posts
  • #249

    susanneschweizer
    Participant

    Dear Henrik,
    I am running a an rm anova using afex including a between factor and two within factors

    RM2<-aov_car(value ~ TypeCIN * ValencePN * ContvDep + Error(ID/(TypeCIN * ValencePN)),WMT_aS_long))
    summary(RM2)

    The output (copied below) does not include effect sizes (I also tried adding anova_table = list(es = “ges”), it didn’t make a difference). And i was wondering why?

    Thanks in advance,
    Susanne

    Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
                                  Sum Sq num Df Error SS den Df  F value  Pr(>F) 
    (Intercept)                142518225      1  8921692     58 926.5122 < 2.2e-16 ***
    ContvDep                       43462      1  8921692     58   0.2825 0.59707    
    TypeCIN                        10965      1   382520     58   1.6626 0.20237    
    ContvDep:TypeCIN                3185      1   382520     58   0.4830 0.48986    
    ValencePN                     817541      1   541261     58  87.60533.398e-13 ***
    ContvDep:ValencePN             27145      1   541261     58   2.9088 0.09345 .  
    TypeCIN:ValencePN               1366      1   295883     58   0.2677 0.60685    
    ContvDep:TypeCIN:ValencePN      4988      1   295883     58   0.9777  0.32687
    • This topic was modified 6 months, 3 weeks ago by  henrik. Reason: code formatting
  • #251

    henrik
    Keymaster

    The summary method provides the standard ANOVA output from package car which performs the ANOVA calculation. And this output does not include effect sizes.

    Please try RM2 (i.e., just calling the object), nice(RM2), or anova(RM2). See examples below:

    library("afex")
    data(md_12.1)
    a1 <- aov_ez("id", "rt", md_12.1, within = c("angle", "noise"))
    
    a1 ## nice(a1)
    # Anova Table (Type 3 tests)
    # 
    # Response: rt
    #        Effect          df     MSE         F ges p.value
    # 1       angle 1.92, 17.31 3702.02 40.72 *** .39  <.0001
    # 2       noise        1, 9 8460.00 33.77 *** .39   .0003
    # 3 angle:noise 1.81, 16.27 1283.22 45.31 *** .19  <.0001
    # ---
    # Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘+’ 0.1 ‘ ’ 1
    # 
    # Sphericity correction method: GG 
    
    anova(a1)
    # Anova Table (Type 3 tests)
    # 
    # Response: rt
    #             num Df den Df    MSE      F     ges    Pr(>F)    
    # angle       1.9233 17.309 3702.0 40.719 0.39012 3.402e-07 ***
    # noise       1.0000  9.000 8460.0 33.766 0.38660  0.000256 ***
    # angle:noise 1.8080 16.272 1283.2 45.310 0.18827 3.454e-07 ***
    # ---
    # Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
    
    summary(a1)
    # Univariate Type III Repeated-Measures ANOVA Assuming Sphericity
    # 
    #               Sum Sq num Df Error SS den Df F value    Pr(>F)    
    # (Intercept) 19425660      1   292140      9 598.449 1.527e-09 ***
    # angle         289920      2    64080     18  40.719 2.087e-07 ***
    # noise         285660      1    76140      9  33.766  0.000256 ***
    # angle:noise   105120      2    20880     18  45.310 9.424e-08 ***
    # ---
    # Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
    # [...]

    Hope that helps!

  • #254

    susanneschweizer
    Participant

    Perfect! Both did the trick. Many thanks for your swift reply.
    Susanne

You must be logged in to reply to this topic.