Safaa Dabagh

ANOVA Quick Reference Card

Module 10: One-Page Cheat Sheet

Purpose & Hypotheses

ANOVA: Compare means of 3+ independent groups simultaneously

H₀: μ₁ = μ₂ = μ₃ = ... (all means equal) | Hₐ: At least one mean differs

Why not multiple t-tests? Inflates Type I error (α inflation)

Essential Formulas

Sum of Squares
SST = Σ(xij - x̄)²
SSB = Σnj(x̄j - x̄)²
SSW = Σ(xij - x̄j
SST = SSB + SSW
Degrees of Freedom
dfbetween = k - 1
dfwithin = N - k
dftotal = N - 1
(k=groups, N=total n)
Mean Squares
MSB = SSB / (k-1)
MSW = SSW / (N-k)
F-Statistic
F = MSB / MSW
Large F → groups differ
F ≈ 1 → groups similar
Tukey's HSD
HSD = q × √(MSW / n)
q from Studentized Range table
If |x̄i-x̄j| > HSD → significant
Bonferroni
αadj = α / c
c = k(k-1)/2 comparisons
Use αadj for each test

ANOVA Table Structure

Source SS df MS F
Between SSB k-1 SSB/(k-1) MSB/MSW
Within SSW N-k SSW/(N-k)
Total SST N-1

Assumptions & Post-Hoc Tests

Three Assumptions:

  • Independence: Random assignment/sampling
  • Normality: Check plots, OK if n≥30
  • Equal Variances: max(s²)/min(s²) < 2

If Violated:

  • Independence → Repeated Measures ANOVA
  • Normality → Kruskal-Wallis test
  • Equal Variance → Welch's ANOVA

Post-Hoc Tests:

  • Tukey's HSD: Standard choice, all pairs
  • Bonferroni: Unequal n, conservative
  • Scheffé: Most conservative
  • Dunnett's: Compare to control only

When to Use Post-Hoc:

  • ANOVA is significant (p < α)
  • 3 or more groups
  • Don't use if ANOVA not significant

ANOVA Procedure (11 Steps)

  1. State H₀ and Hₐ
  2. Choose α (usually 0.05)
  3. Check assumptions
  4. Calculate group means (x̄j) and grand mean (x̄)
  5. Calculate SSB, SSW, SST
  6. Find dfbetween, dfwithin
  7. Calculate MSB, MSW
  8. Calculate F = MSB/MSW
  9. Find p-value or Fcritical
  10. Make decision (reject or fail to reject H₀)
  11. If significant: Conduct post-hoc tests

Which Test to Use?

Situation Test
2 groups, independentTwo-sample t-test
3+ groups, independent, assumptions metOne-way ANOVA
3+ groups, severe non-normalityKruskal-Wallis
3+ groups, unequal variancesWelch's ANOVA
Same subjects, multiple timesRepeated Measures ANOVA
2+ factorsTwo-way/Factorial ANOVA

Common Mistakes to Avoid

DON'T:

  • Use multiple t-tests for 3+ groups
  • Do post-hoc if ANOVA not significant
  • Confuse SSB and SSW
  • Forget to divide by df for MS
  • Use ANOVA with repeated measures
  • Ignore assumptions

DO:

  • Check all assumptions first
  • Report F with both df: F(df₁, df₂)
  • Verify SST = SSB + SSW
  • Use post-hoc only after significant F
  • Interpret in context
  • Report effect size

Key Takeaways

← Back to Module 10 Full Study Guide