Skip to content

ANOVA report missing 2nd degrees of freedom #425

Description

@steveharoz

Describe the bug
When reporting an ANOVA, the F test has 2 degrees of freedom. report() only shows one

To Reproduce

tibble(
  a = sample(LETTERS[1:2], 100, TRUE), 
  b = sample(LETTERS[1:2], 100, TRUE), 
  s=rep(LETTERS[1:10], 10), 
  measure = rnorm(100)
) %>% 
lmer(measure ~ a*b + (1|s), .) %>% 
anova() %>% 
report()
The ANOVA suggests that:

  - The main effect of a is statistically not significant and very small (F(1) = 0.04, p = 0.851; Eta2 (partial) = 3.69e-04,
95% CI [0.00, 1.00])
  - The main effect of b is statistically not significant and very small (F(1) = 0.69, p = 0.409; Eta2 (partial) = 7.10e-03,
95% CI [0.00, 1.00])
  - The interaction between a and b is statistically not significant and very small (F(1) = 7.16e-03, p = 0.933; Eta2 (partial)
= 7.46e-05, 95% CI [0.00, 1.00])

Effect sizes were labelled following Field's (2013) recommendations.

Expected behaviour
The F tests should be reported with 2 degrees of freedom, not just 1.

Specifications (please complete the following information):
report_0.5.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions