Welch's ANOVA

Analytika TeamLast reviewed 6 min read

Welch’s ANOVA (Welch, 1951) does for three or more groups what Welch’s t-test does for two: it drops the equal-variances assumption of the classic one-way ANOVA, which matters most when group sizes also differ.

When to use it

  • Three or more independent groups, with a continuous outcome.
  • Roughly normal residuals, but clearly unequal variances.

If normality also fails, or groups are small, use the Kruskal-Wallis test instead.

Worked example: sepal length in three iris species

In Fisher’s iris data (50 flowers per species), the standard deviation of sepal length nearly doubles from setosa (0.35) to virginica (0.64). Brown-Forsythe’s test confirms unequal variances, and the residuals pass the normality check, so Analytika chooses Welch’s ANOVA.

Analytika engine output
F-statistic: 138.9083
P-value: 1.505e-28
Eta-squared: 0.6187
df: 2, 92.2111
N: 150
95% CI: [0.5457, 0.7001]
  setosa: mean=5.0060, n=50, sd=0.3525
  versicolor: mean=5.9360, n=50, sd=0.5162
  virginica: mean=6.5880, n=50, sd=0.6359

=== POSTHOC ===
setosa vs versicolor: p_adj=0.0000, significant=yes, diff=-0.9300, ci=[-1.1408, -0.7192], df=86.5380
setosa vs virginica: p_adj=0.0000, significant=yes, diff=-1.5820, ci=[-1.8278, -1.3362], df=76.5159
versicolor vs virginica: p_adj=0.0000, significant=yes, diff=-0.6520, ci=[-0.9278, -0.3762], df=94.0255
Method used: games_howell
R 4.6 output
> oneway.test(Sepal.Length ~ Species, data = iris)

	One-way analysis of means (not assuming equal variances)

data:  Sepal.Length and Species
F = 138.91, num df = 2.000, denom df = 92.211, p-value < 2.2e-16

The same F and df as R.

Interpretation

  • F(2, 92.21) = 138.91, p < .001: sepal length differs across species.
  • η² = .62, 95% CI [.55, .70]: species accounts for most of the variation.
  • Games-Howell: every pair differs (all p < .001). Virginica is longest, versicolor 0.65 cm shorter (95% CI 0.38 to 0.93), and setosa a further 0.93 cm shorter (0.72 to 1.14).

APA write-up

Because group variances were unequal, Welch’s ANOVA was used. Sepal length differed across species, F(2, 92.21) = 138.91, p < .001, η² = .62. Games-Howell comparisons showed that all three species differed, all ps < .001, with virginica (M = 6.59, SD = 0.64) longest, followed by versicolor (M = 5.94, SD = 0.52) and setosa (M = 5.01, SD = 0.35).

How to run it

  • SPSS: One-Way ANOVA, then Options → Welch, and Post Hoc → Games-Howell.
  • R: oneway.test(y ~ group, data = df), then rstatix::games_howell_test().
  • Analytika: chooses Welch’s ANOVA with Games-Howell automatically when the variance check fails. See also post-hoc tests.

References

  • Welch, B. L. (1951). On the comparison of several mean values: An alternative approach. Biometrika, 38(3–4), 330–336.

More in Comparing groups

Run this on your own data

Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.

Try it free