Welch's Analysis of Variance

Statistics
Introduced by
B. L. Welch
Year
1951
Type
Parametric mean comparison (heteroscedastic)

What does it do?

Welch ANOVA is a parametric hypothesis test that compares the means of three or more independent groups when their variances are unequal. Introduced by B. L. Welch in 1951, it is used in place of classic one-way ANOVA when the equal-variance assumption is doubtful, but it still requires each group's outcome to be approximately normally distributed.

The intuition behind the method

Classic one-way ANOVA assumes every group has the same spread, which real data often violate: one group may be far more variable than the others. Welch ANOVA handles this by weighting each group by its sample size divided by its variance, so precisely measured groups count for more, instead of pooling all variances into one estimate. A correction to the denominator degrees of freedom then keeps the test more trustworthy when spreads differ.

History

B. L. Welch proposed the procedure in his 1951 Biometrika paper 'On the Comparison of Several Mean Values', as a way to compare several group means without assuming equal variances. It is included in major statistics software and is commonly presented alongside the Brown-Forsythe test as a heteroscedastic alternative to one-way ANOVA.

When to use it

Choose Welch ANOVA to compare three or more independent groups on one continuous outcome when the group variances may differ, for example when the group standard deviations are visibly unequal. Welch ANOVA does not require equal variances, so it is appropriate whenever that assumption is doubtful. Levene's test is one way to check the assumption, but a preliminary test is not required before using the method. Each group's outcome should be approximately normal, which can be checked per group with the Shapiro-Wilk test. Do not use it for two groups; the Welch t-test covers that case. Do not rely on it when normality is clearly violated, especially in small samples; the nonparametric Kruskal-Wallis test is the alternative then.

Limitations and considerations

  • The normality assumption within each group still applies; the method does not correct for skewed or heavy-tailed outcomes.
  • A significant F* only indicates that some means differ; locating the difference requires a separate post-hoc procedure.
  • Each group's sample variance s_i² enters the weights w_i = n_i / s_i², and n_i − 1 enters the correction term, so groups with very few observations give unstable variance estimates and unstable weights.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The group weights n_i / s_i² and the adjusted denominator degrees of freedom allow the F* test to keep a valid error rate when group variances differ, a situation in which the classic one-way F-test is unreliable.
  • It relaxes only the equal-variance assumption, so its hypotheses and its output (an F statistic with a p-value) remain those of a familiar parametric mean comparison.
  • Because the weights combine sample size and variance, the method accommodates groups of different sizes with different spreads in a single test.

Applications

  • Comparing a continuous outcome across three or more treatment or condition groups where one group is visibly more variable than the others.
  • Comparing a measured outcome across three or more sites, cohorts or methods when the sample variances differ substantially.
  • Serving as the unequal-variance alternative to one-way ANOVA when the equal-variance assumption is in doubt, for example after Levene's test is significant.
  • Analysing health, social or behavioural data in which group spreads are unequal and each group is approximately normal.

How it works

How it works

1

The null hypothesis states that all group population means are equal. The alternative states that at least one mean differs from the others. Neither hypothesis assumes that the groups share a common variance.

Formula
H_0:\ \mu_1 = \mu_2 = \cdots = \mu_k \quad H_1:\ \exists\, i,j\ \mu_i \neq \mu_j
2

Each group receives a weight w_i = n_i / s_i², its sample size divided by its sample variance, so groups estimated more precisely contribute more. These weights define a weighted grand mean, and the weighted between-group dispersion is divided by a correction term that depends on the weights and on each group's n_i − 1. The result, F*, is referred to an F distribution with k − 1 numerator degrees of freedom and an adjusted, generally non-integer, denominator degrees of freedom.

Formula
F^{*} = \dfrac{\tfrac{1}{k-1}\sum_{i} w_i (\bar{x}_i - \bar{x}_w)^2}{1 + \tfrac{2(k-2)}{k^2-1}\sum_{i}\tfrac{1}{n_i-1}\left(1-\tfrac{w_i}{\sum_j w_j}\right)^2},\quad w_i = \dfrac{n_i}{s_i^2}
3

If the p-value for F* is below the chosen significance level α, conventionally 0.05, H0 is rejected, meaning at least one group mean differs. Report the result as F*(k − 1, df2), where df2 is the adjusted, generally non-integer denominator degrees of freedom. The test does not identify which groups differ, so follow a significant result with Games-Howell post-hoc comparisons, which also do not assume equal variances, and report an effect size such as eta-squared (η²) or omega-squared (ω²).

Formula
\text{reject } H_0 \text{ if } p < \alpha, \text{ with conventional } \alpha = 0.05

Common pitfalls

  • Treating Welch ANOVA as a fix for non-normality. It relaxes only the equal-variance assumption.
  • Following a significant result with the standard Tukey test, which assumes equal variances. Games-Howell is the matching post-hoc choice.
  • Including a group with only one observation: its sample variance is undefined and the 1/(n_i − 1) term in the correction is undefined, so the statistic cannot be computed as written. Each group needs at least two observations.
  • Reporting only the p-value without an effect size such as eta-squared or omega-squared.

Frequently asked questions

When should I use Welch ANOVA instead of classic one-way ANOVA?

Use it when the equal-variance assumption is doubtful, for instance when Levene's test is significant or the group standard deviations differ markedly. Under unequal variances, classic one-way ANOVA can produce too many false positives; Welch ANOVA is designed to avoid that problem.

Does Welch ANOVA also handle non-normal data?

No. It relaxes only the equal-variance requirement; the outcome must still be approximately normal in each group. If normality is clearly violated, especially in small samples, the nonparametric Kruskal-Wallis test is the appropriate alternative.

Which post-hoc test follows a significant Welch ANOVA?

Use the Games-Howell post-hoc test, which, like Welch ANOVA itself, does not assume equal variances. Standard Tukey comparisons assume homogeneity and are not appropriate here. Report an effect size such as eta-squared or omega-squared alongside.

How does Welch ANOVA differ from the Brown-Forsythe test?

Both are alternatives to one-way ANOVA when variances are unequal, but they use different test statistics and correction formulas, so their results can differ somewhat. Welch ANOVA's F* is built from the group weights n_i / s_i² described above. Neither is guaranteed to be preferable for every dataset.

Related methods

Sources

  1. Welch, B.L. (1951). On the Comparison of Several Mean Values. Biometrika, 38(3/4), 330–336.

    Open publication reference