Welch’s ANOVA
Intermediate
What you need first. Nothing else on this path comes first. This page is part of Statistical inference.
In statistical inference, Welch’s ANOVA is a test of the equality of several group means that weights each group mean by its estimated precision and does not assume a common population variance. It is a test of the equality of the means of two or more independent groups that does not assume the groups share a common population variance; it is also called Welch’s one-way test. It is the multi-group counterpart of Welch’s two-sample t procedure: where the classic one-way analysis of variance pools every group’s observations into a single error mean square, Welch’s procedure weights each group mean by the precision with which it is estimated, and then corrects both the statistic and its reference degrees of freedom for the uncertainty in the separate variance estimates. The procedure was published by Welch in 1951 as an alternative approach to the comparison of several mean values .[1]
Let the groups be indexed by . In group there are independent observations with population mean and population variance , sample mean and sample variance , computed with divisor . Write for the total sample size. The null hypothesis is
against the alternative that at least two of the differ. No condition is imposed. The test is an omnibus test: rejection establishes that the means are not all equal, and nothing more specific. Which pairs differ is a separate question, answered by a follow-up procedure such as Games–Howell, described below. Like its two-sample counterpart, the test is approximate: its statistic does not have an exact distribution in finite samples, and the sense in which the reference is an approximation is stated precisely in the section on the statistic.
Welch’s ANOVA
| Fact | Value |
|---|---|
| Topic | Statistical inference |
| Listed on | Statistical inference |
The assumption that the classic test spends, and what its failure costs
The classic one-way analysis of variance writes each observation as a group mean plus an error, estimates one common error variance from the pooled within-group sum of squares, and refers the ratio of the between-group mean square to that pooled estimate to an distribution on degrees of freedom .[2] The pooling is not a computational convenience. It is the step that makes the reference distribution exact under normal sampling: if every equals a common , the pooled mean square estimates that whichever group it is computed from, and the numerator and denominator of the ratio are independent scaled chi-squared variables. If the differ, the pooled mean square estimates a sample-size-weighted average of unequal quantities, and neither the size nor the power of the classic test is the value its table reports.
The damage depends on how the unequal variances are paired with the unequal sample sizes, and this interaction, not heterogeneity alone, is the central practical fact. Two quantities must be kept separate. The size of a test is its rejection probability when is true, and size alone is what the nominal level purports to fix; the power is its rejection probability when the means differ, about which the nominal level says nothing. Heterogeneity distorts the size in a direction set by the pairing. When the larger groups have the larger variances, the pooled denominator is inflated by precisely the groups that dominate the numerator’s weighting, and the classic test becomes conservative: its size falls below the nominal level. When the smaller groups have the larger variances, the pooled denominator understates the variability of the comparisons that carry the between-group sum of squares, and the classic test becomes liberal: its size exceeds the nominal level, so a nominally test may have a materially larger actual type I error rate. These are the two polar pairings, and they state tendencies, not a universal law: with three or more groups the pairing of sizes with variances can be mixed, and the actual size then depends on the whole configuration of sizes and variances rather than on either extreme. Power moves as well when the calibration fails, but it is not measured against the nominal level and can only be assessed at a stated alternative. The worked example below sits in the first, conservative configuration — variances , and paired with sizes , and — and simulation at the nominal level separates the two quantities for it: from normal populations with those variances, the classic test rejects in only about of samples when the three means are equal, which is its distorted size, and in about of samples when the means are , and , which is its power at that alternative. With equal sample sizes the two effects largely cancel and the classic test is comparatively robust to heterogeneity; with unequal they do not. Tomarken and Serlin’s comparison of analysis-of-variance alternatives under variance heterogeneity documents this pattern across noncentrality structures ,[3] and the quantitative review by Lix, Keselman and Keselman reaches the same conclusion across the published simulation record: the classic test’s error rates are trustworthy under heterogeneity chiefly when group sizes are equal or nearly so .[4] The two-sample literature makes the identical point for : pooling is the step that fails first, and it fails in a direction determined by the pairing of sample size with variance .[5]
A preliminary test of equal variances does not repair this. Testing first, for example with Levene’s test, and choosing the classic or the Welch procedure according to the outcome, makes the final procedure a two-stage procedure whose error rates are those of neither stage: the preliminary test has low power exactly in the small samples where the choice matters, and conditioning the main test on its outcome distorts the main test’s calibration. The defensible practice is to select the procedure from the design and the plausibility of a common variance before examining the test outcomes, or to use the Welch procedure by default when a common variance is not part of the scientific model.
Precision weights and a weighted grand mean
For group , the variance of the sample mean is , estimated by . Welch’s weight for group is the reciprocal of that estimated variance,
where is the total weight .[1] A group receives a large weight when its mean is estimated precisely, either because is large or because is small. These are the weights that a weighted least-squares estimate of a common mean would use if the were known, with the population variances replaced by their sample estimates; that substitution is the source of every approximation that follows.
The weighted grand mean is
It is not the ordinary grand mean , and the difference matters. The ordinary grand mean weights groups by sample size alone, so a large but imprecise group moves it substantially; the weighted grand mean weights by precision, so the centre against which the group means are compared is the best available estimate of the common mean under , given the separate variances. The weighted between-group sum of squares is
If the variances were known and were true, , with population weights in place of the , would have a chi-squared distribution on degrees of freedom. With estimated weights it does not, and the statistic below is the correction of that Welch constructed for that reason .[1]
The Welch statistic, its correction term and its degrees of freedom
Define the correction quantity
At fixed group size, each summand decreases as group ’s share of the total weight grows: for it is at a weight share of , but only at a share of . A small group carrying a low weight can therefore contribute substantially to — close to when its share is negligible — while a group that dominates the total weight contributes almost nothing through its own summand; a summand is small when the share is large or the group is based on many observations. Welch’s statistic is
referred to an distribution on numerator degrees of freedom
and denominator degrees of freedom
.[1] Three features of this construction require exact statement.
What is exact and what is approximate. The definitions of , , and are exact arithmetic functions of the sample summaries. Nothing distributional is exact thereafter. The reference statement under is an approximation obtained by matching moments of the distribution of , in the manner of the Welch–Satterthwaite approximation for a linear combination of variance estimates .[6] The denominator degrees of freedom are estimated from the same data as the statistic, are generally not an integer, and are not a count of observations. The correction factor in the denominator of is part of the same moment-matching: it inflates the statistic’s denominator so that the first two moments of the corrected statistic agree more closely with those of the reference . A -value from this procedure is therefore an approximate -value even when every group is exactly normally distributed. It is not an exact test at any sample size, and reporting it as though it were exact misstates what was computed.
The case . When , the factor is zero, so the correction factor is , and reduces to . In that case is exactly the square of Welch’s two-sample statistic, and is exactly the Welch–Satterthwaite degrees of freedom of that statistic. Welch’s ANOVA is therefore a genuine generalisation of the two-sample procedure, not merely an analogue of it: the 1947 two-sample approximation [7] is the special case of the 1951 construction. The two-sample interval built on that statistic is treated in the article on the Welch interval. Standard software exposes the same relationship: in R, oneway.test with var.equal = FALSE applies Welch’s 1951 approximate method, described there as generalising the two-sample Welch test to arbitrarily many samples .[8]
Behaviour when the variances are equal. If the are all similar, the weights are approximately proportional to the , and is close to the ordinary grand mean. Similarity of the variances does not by itself make small: with equal weights and a common group size , , so three groups of size two with exactly equal sample variances still give and . It is large group sizes, for fixed , that make small, the correction factor close to and large; in that regime the Welch statistic gives a result close to the classic on the same data, though not identical to it, because the reference degrees of freedom still differ. The cost of using Welch’s procedure when the classic assumptions happen to hold is a small loss of power; the cost of using the classic procedure when they fail can be a type I error rate far from the nominal level. That asymmetry is the argument for Welch’s procedure as a default in the two-sample case ,[5] and it carries over to groups.
A distinct alternative — the Brown–Forsythe statistic
Welch’s statistic is not the only heteroscedastic alternative to the classic , and it should not be conflated with the statistic proposed by Brown and Forsythe in the same problem. Brown and Forsythe examined the small-sample behaviour of several statistics for testing the equality of means and proposed a statistic, conventionally denoted , that retains the classic unweighted between-group sum of squares in the numerator and instead replaces the pooled denominator by a weighted combination of the separate group variances, with Satterthwaite-type degrees of freedom .[9] The architectural difference is genuine: Welch reweights the numerator around a precision-weighted centre and corrects the result, whereas Brown and Forsythe leave the classic numerator intact and repair only the denominator. The two statistics can therefore disagree on the same data, and a report must name which was computed.
A further naming hazard is specific to this pair of authors. Brown and Forsythe also published, in 1974, robust tests for the equality of variances, in which the median-centred form of Levene’s test originates .[10] That Brown–Forsythe test answers a question about spread, is treated in the article on Levene’s test, and is not an alternative test of equal means. Citing “Brown–Forsythe (1974)” without the journal or the subject leaves the reference ambiguous between two different papers solving two different problems.
Statistical use
Follow-up comparisons — the Games–Howell procedure
Rejection of leaves open which pairs of means differ. Applying ordinary pairwise tests, or Tukey’s procedure, after a Welch omnibus test reintroduces the assumption the omnibus test was chosen to avoid, because both pool the variances. The Games–Howell procedure, studied by Games and Howell in 1976 for pairwise comparisons with unequal sample sizes and unequal variances ,[11] pools nothing. For groups and , write and for the estimated variances of the two sample means. The pair’s standard error is , its degrees of freedom are the pair-specific Welch–Satterthwaite value
and its statistic is referred not to a distribution but to the studentised range distribution for groups on degrees of freedom, which is what charges the procedure for examining all pairs rather than one pre-specified pair .[11] Each pair therefore has its own degrees of freedom. In the worked example above, the three pair-specific values are , and , all well below the error degrees of freedom a pooled procedure would have used for every pair. The corresponding simultaneous confidence intervals have the form of a mean difference plus or minus a studentised-range critical value, for groups and that pair’s , multiplied by . Because the calibration is itself approximate — a studentised range referred to estimated, pair-specific degrees of freedom — Games–Howell intervals and tests should be reported with their degrees of freedom, and their familywise error control should be described as approximate.
Two limits deserve emphasis. First, Games–Howell is a follow-up to a mean comparison: it inherits the normality sensitivity of the underlying mean estimates, and with very small groups its pair-specific degrees of freedom can be so low that no comparison has useful power. Second, performing Games–Howell comparisons only after a significant omnibus result, and performing them unconditionally, are different procedures with different error properties; which was done should be stated.
When to use it. Welch’s ANOVA is the appropriate omnibus test of equal means for independent groups when a common population variance is not assumed — because the design gives no reason to expect one, because the groups are known to differ in spread, or because group sizes are unequal and even moderate heterogeneity would then distort the classic test. Tomarken and Serlin’s simulations support the Welch statistic, among the alternatives they compared, as retaining its nominal error rates under heterogeneity combined with unequal group sizes ,[3] and the review by Lix, Keselman and Keselman recommends heteroscedastic procedures over the classic in the same circumstances .[4]
Reporting. A complete report states , the , the group means and standard deviations, , both degrees of freedom including the non-integer , and the approximate -value, and names the procedure as Welch’s. Reporting only “, ” without naming the procedure invites a reader to assume the classic test with an inexplicably fractional degrees of freedom. Software defaults differ and must be checked: in R, oneway.test defaults to var.equal = FALSE and hence to Welch’s procedure, while aov computes the classic test .[8]
Three groups, unequal sizes and unequal variances
Three independent groups are
- Group 1: , so ;
- Group 2: , so ;
- Group 3: , so .
The total sample size is . The group means are , and . The within-group sums of squares are , and , so the sample variances are
Group 3 is both the largest group and by far the most variable: its variance is roughly eleven times that of group 1. This is the pairing — larger group, larger variance — under which the classic test is expected to be conservative.
The weights are
with total weight . Group 3, despite contributing of the observations, receives only of the weight of group 1 — slightly more than one seventh (), but still a small fraction of it — because its mean is estimated imprecisely. The weighted grand mean is
well below the ordinary grand mean , which group 3’s size pulls upward. The weighted between-group sum of squares is
The correction quantity is
so the correction factor is and
on and degrees of freedom. The upper-tail probability of an distribution at is . At the level, and at the level, is rejected: the three means are not all equal.
For contrast, the classic analysis of the same observations gives a between-group sum of squares of on degrees of freedom, a within-group sum of squares of on degrees of freedom, mean squares and , and on degrees of freedom, with . The classic test also rejects at , but its -value is nearly six times the Welch -value, and the discrepancy is in the direction the pairing predicts: the large, highly variable third group inflates the pooled error mean square to , although two of the three groups have variances near , and the pooled denominator thereby understates how precisely groups 1 and 2 locate their means. Neither -value should be read to more precision than the approximations support; the comparison, not the third decimal place, is the point.
Your turn. Three new groups are
- Group A: ;
- Group B: ;
- Group C: .
Compute the group means and sample variances, the weights, the weighted grand mean, , , , both degrees of freedom and the approximate -value. Do you reject at the level?
The sample sizes are , and . The means are , and , and the sample variances are , and . The weights are , and , with and weighted grand mean . Then and , the correction factor is approximately , and on and degrees of freedom, giving . Reject at the level. Note that the classic on these data is approximately on degrees of freedom: here it is slightly larger than the Welch statistic, because the Welch correction factor and the reduced denominator degrees of freedom, not the weighting alone, determine the outcome. Welch’s procedure is not a device for obtaining a larger statistic.
Common misconceptions
“Welch’s ANOVA is the classic ANOVA with a different degrees-of-freedom adjustment.” It is not. The weights change the centre, the numerator and the statistic itself, before any degrees-of-freedom question arises. Two analyses that differ only in their reference degrees of freedom would report the same ; the worked example reports and on the same data.
“A Levene test should be run first to decide between the classic and Welch tests.” Levene’s test examines the equal-variance hypothesis ,[12] but using its outcome as a switch creates a two-stage procedure calibrated as neither of its stages. Failure to reject equal variances, in particular, is not evidence that pooling is safe; it is frequently only evidence that the groups are small.
“Welch’s ANOVA assumes the variances are unequal.” It does not. It permits them to be unequal. If they are in fact equal, the procedure remains valid and loses little; the assumption it drops is an assumption, not a requirement in the opposite direction.
“The Brown–Forsythe test and Welch’s ANOVA are two names for one statistic.” They are not, as the section above shows: they differ in whether the numerator is reweighted, and “Brown–Forsythe” additionally names a test of variances that is a different procedure again .[9]
“A significant Welch result identifies the groups that differ.” It does not. It is an omnibus result over all means. Pairwise claims require a follow-up procedure with its own multiplicity calibration, such as Games–Howell.
Assumptions and limits
What it still assumes. Removing the equal-variance assumption removes one assumption, not all of them. The observations must be independent within and between groups. The approximation is derived under normal sampling in each group, and although the moment-matching gives the procedure some tolerance of non-normality, strongly skewed distributions with small degrade both the Welch and the classic calibrations; the weights themselves are ratios involving , a statistic whose own sampling variability is large under skewness and heavy tails. Each must be at least , and a group whose sample variance is zero — all observations identical — receives an infinite weight and breaks the construction; such a group is a data problem, not a limiting case of the test. Where normality itself is untenable and the question can be reframed in terms of distributions or ranks rather than means, a rank procedure such as the Kruskal–Wallis test answers a different null hypothesis, equality of the group distributions, and should be chosen for that reason, not as a drop-in replacement reporting on means. The distributional null is not a weaker form of the null of equal means: when the means exist, distributions that coincide have the same mean, so equality of distributions implies equality of means and constrains the populations more, not less. What it does not supply is a statement about means themselves.
What it does not supply. The test gives no estimate of any difference and no confidence interval for one; the weighted grand mean is a computational centre under , not an estimate of a population quantity of independent interest, and it changes if the group variances change even when the group means do not. Effect sizes and pairwise intervals must come from the follow-up procedure. Nor does a non-significant result establish that the means are equal: with small denominator degrees of freedom — in the worked example, against the classic — the test may have little power against differences of practical size.
Connections
- One-way analysis of variance: the classic test of the same null hypothesis, whose pooled error mean square and exact reference under a common variance are the point of departure for everything in this article.
- Welch interval: the two-sample Welch procedure for a difference of means. Welch’s ANOVA with reproduces its statistic squared and its Welch–Satterthwaite degrees of freedom exactly.
- Levene’s test: a test of the equal-variance hypothesis itself, formed by an analysis of variance on absolute deviations. It examines the assumption Welch’s ANOVA declines to make; it is not a preliminary switch for choosing between the two mean tests.
- Kruskal–Wallis test: a rank test for the one-way layout. It tests whether the groups’ distributions coincide, not whether their means are equal, and is the alternative when a statement about means is not defensible.
- F distribution: the reference distribution for the Welch statistic, used here as a moment-matched approximation with an estimated, generally non-integer denominator degrees of freedom, rather than as the exact law it is for the classic statistic under its assumptions.
- Two-sample t test: the pooled two-sample test, whose equal-variance assumption is the case of the assumption examined in this article.
Check yourself
- Using only groups 1 and 2 of the worked example — means and , sample variances and , sizes and — compute Welch’s two-sample statistic, and confirm that its square and its Welch–Satterthwaite degrees of freedom agree with what the case of the formulas in this article gives.
The estimated variance of the difference is , so and . For the correction factor is because , and the weighted between-group sum of squares equals , so . The degrees of freedom are , and the Welch–Satterthwaite formula , with and , also gives approximately . The two constructions coincide, as they must.
- A study has two configurations of three groups, each with the same three population variances. In configuration X the largest variance occurs in the largest group; in configuration Y the largest variance occurs in the smallest group. For which configuration is the classic test liberal, and why?
Configuration Y. The classic denominator is a pooled variance dominated by the large groups. In configuration Y those large groups have the small variances, so the pooled denominator understates the variability of the group means — in particular of the small, highly variable group, whose mean is in fact imprecisely estimated but is weighted in the between-group sum of squares by its sample size alone. The ratio is therefore systematically too large under the null hypothesis, and the test rejects more often than its nominal level. In configuration X the same mechanism runs in reverse and the test is conservative.
- Three groups have weights , , and sample sizes . Compute , the correction factor, and .
The total weight is . Then . The correction factor is , and . Note that is far below the classic denominator degrees of freedom for these sample sizes: estimating three separate variances, one of them from a group supplying half the total weight, costs substantial reference degrees of freedom.
History
The two-sample problem came first. Welch’s 1947 paper in Biometrika addressed the generalisation of Student’s problem when several different population variances are involved, giving the approximate degrees of freedom now attached to the two-sample Welch statistic ;[7] Satterthwaite had published the underlying moment-matching approximation for estimates of variance components in 1946 .[6] Welch’s 1951 paper, “On the comparison of several mean values: an alternative approach”, in the same journal, extended the construction from two means to means, producing the weighted statistic, correction term and denominator degrees of freedom used in this article .[1] The paper’s title is itself the statement of intent: the classic analysis of variance was not repaired but replaced, for this problem, by a statistic built from the separate variances from the outset.
The procedure was slow to become a default. Textbooks continued to present the classic test as the primary method and Welch’s statistic, if at all, as a remedy to be applied after heterogeneity had been demonstrated, which inverted the logic of the two-stage problem described above. The simulation literature of the 1970s and 1980s supplied the evidence that changed the recommendation: Brown and Forsythe’s 1974 small-sample study compared statistics for the equality of several means under heterogeneity ,[9] Games and Howell provided the matching pairwise procedure in 1976 ,[11] and Tomarken and Serlin’s 1986 comparison under specific noncentrality structures documented the classic test’s failure modes when unequal variances met unequal sample sizes .[3] Lix, Keselman and Keselman’s 1996 quantitative review consolidated that record and recommended heteroscedastic alternatives to the classic .[4] In current software the procedure is no longer an exotic option: R’s oneway.test applies it by default .[8]
See also
Line chart · Apriori algorithm · Asymptotic analysis · Average treatment effect · Base rate · Bayesian inference · Bayesian model · Bayesian probability
References
- ^ a b c d e a. (pp. 330–336) b. (pp. 330–336) c. (pp. 330–336) d. (pp. 330–336) e. (p. 330) Welch, B. L. (1951). On the Comparison of Several Mean Values: An Alternative Approach. Biometrika, 38(3-4), 330–336. https://doi.org/10.1093/biomet/38.3-4.330
- ^ (§7.4.3.1) Heckert, N. A., Filliben, J. J., Croarkin, C. M., Hembree, B., Guthrie, W. F., Tobias, P. & Prinz, J. (2002). NIST/SEMATECH e-Handbook of Statistical Methods, §7.4.3.1: One-way ANOVA overview. National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/prc/section4/prc431.htm
- ^ a b c a. (pp. 90–99) b. (pp. 90–99) c. (pp. 90–99) Tomarken, A. J. & Serlin, R. C. (1986). Comparison of ANOVA Alternatives Under Variance Heterogeneity and Specific Noncentrality Structures. Psychological Bulletin, 99(1), 90–99. https://doi.org/10.1037/0033-2909.99.1.90
- ^ a b c a. (pp. 579–619) b. (pp. 579–619) c. (pp. 579–619) Lix, L. M., Keselman, J. C. & Keselman, H. J. (1996). Consequences of Assumption Violations Revisited: A Quantitative Review of Alternatives to the One-Way Analysis of Variance F Test. Review of Educational Research, 66(4), 579–619. https://doi.org/10.3102/00346543066004579
- ^ a b a. (pp. 95–96) b. (pp. 95–96) Delacre, M., Lakens, D. & Leys, C. (2017). Why Psychologists Should by Default Use Welch’s t-test Instead of Student’s t-test. International Review of Social Psychology, 30(1), 92–101. https://doi.org/10.5334/irsp.82
- ^ a b a. (pp. 110–114) b. (pp. 110–114) Satterthwaite, F. E. (1946). An Approximate Distribution of Estimates of Variance Components. Biometrics Bulletin, 2(6), 110–114. https://doi.org/10.2307/3002019
- ^ a b a. (pp. 28–35) b. (pp. 28–35) Welch, B. L. (1947). The Generalization of ‘Student's’ Problem When Several Different Population Varlances Are Involved. Biometrika, 34(1-2), 28–35. https://doi.org/10.1093/biomet/34.1-2.28
- ^ a b c a. (Arguments, `var.equal`) b. (Arguments, `var.equal`) c. (Arguments, `var.equal`) R Core Team (2026). Test for Equal Means in a One-Way Layout (R documentation). R Foundation for Statistical Computing. https://stat.ethz.ch/R-manual/R-devel/library/stats/html/oneway.test.html
- ^ a b c a. (pp. 129–132) b. (pp. 129–132) c. (pp. 129–132) Brown, M. B. & Forsythe, A. B. (1974). The Small Sample Behavior of Some Statistics Which Test the Equality of Several Means. Technometrics, 16(1), 129–132. https://doi.org/10.1080/00401706.1974.10489158
- ^ (pp. 364–367) Brown, M. B. & Forsythe, A. B. (1974). Robust Tests for the Equality of Variances. Journal of the American Statistical Association, 69(346), 364–367. https://doi.org/10.1080/01621459.1974.10482955
- ^ a b c a. (pp. 113–125) b. (pp. 113–125) c. (pp. 113–125) Games, P. A. & Howell, J. F. (1976). Pairwise Multiple Comparison Procedures with Unequal N's and/or Variances: A Monte Carlo Study. Journal of Educational Statistics, 1(2), 113–125. https://doi.org/10.3102/10769986001002113
- ^ (§1.3.5.10) NIST/SEMATECH (2002). NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.10: Levene Test for Equality of Variances. National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/eda/section3/eda35a.htm
Cite this page
StatWiki (2026). "Welch's ANOVA." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/welch-s-anova.html
@misc{statwiki_welch_s_anova,
author = {{StatWiki}},
title = {{Welch's ANOVA}},
year = {2026},
url = {https://www.statwiki.io/articles/welch-s-anova.html},
urldate = {2026-12-02},
note = {StatWiki, last updated 2 December 2026}
}