Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANOVA report missing 2nd degrees of freedom #425

Open
steveharoz opened this issue Apr 24, 2024 · 0 comments
Open

ANOVA report missing 2nd degrees of freedom #425

steveharoz opened this issue Apr 24, 2024 · 0 comments

Comments

@steveharoz
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant