Biostatistics Study NotesFrom concepts and derivations to interpretation

CHAPTER 06 · TOPIC 03

Welch ANOVA

Compare independent group means without assuming equal variances by using precision weights and approximate degrees of freedom.

On this page
  1. When to consider Welch ANOVA
  2. Hypotheses and Assumptions
  3. Give More Weight to More Precise Groups
  4. Welch F statistic
  5. Comparison with Classical ANOVA
  6. After a Significant Overall Test

Welch ANOVA compares the population means of multiple independent groups, but does not require that the variances of each group be equal. It is better suited than traditional one-way ANOVA when the standard deviations are different and the sample sizes are also unbalanced.

When to consider Welch ANOVA#

  • Compare population means of two or more independent groups
  • The dependent variable is quantitative and the average is meaningful.
  • Group variances are different or there is insufficient evidence for equal variances
  • Unbalanced sample size, especially small sample size for high variance groups

Welch's method is not a universal replacement for non-normality. Independence is still necessary, and for strong distortions, extreme outliers, and small samples, we also consider graphical diagnostics, transformations, robust methods, and nonparametric methods that fit the research question.

Hypotheses and Assumptions#

null hypothesisH0:μ1=μ2==μkH_0:\mu_1=\mu_2=\cdots=\mu_k
alternative hypothesisH1:Not all μj are equalH_1:\text{Not all }\mu_j\text{ are equal}
conditionsWelch ANOVA requirements
independenceEach observation is independent and belongs to only one group
dependent variableQuantitative variables whose averages have meaning
normalityThe errors in each group are approximately normal. Relatively robust in large samples
homoscedasticityNot required

Give More Weight to More Precise Groups#

The estimated variance of the j-th group mean is approximately sⱼ²/nⱼ. Groups with larger sample sizes or smaller sample variances have more accurate mean estimates, so they are given larger weights in proportion to their inverse variances.

weight of the jth groupwj=njsj2w_j=\frac{n_j}{s_j^2}
total weightW=j=1kwjW=\sum_{j=1}^{k}w_j
weighted grand averageXˉw=j=1kwjXˉjW\bar X_w=\frac{\sum_{j=1}^{k}w_j\bar X_j}{W}

Welch F statistic#

The difference between each group mean and the weighted grand mean is weighted, and the denominator and degrees of freedom are adjusted by a correction amount A that reflects the uncertainty in the variance estimation.

Correction amountA=j=1k(1wj/W)2nj1A=\sum_{j=1}^{k}\frac{(1-w_j/W)^2}{n_j-1}
Welch FFW=1k1j=1kwj(XˉjXˉw)21+2(k2)k21AF_W=\frac{\dfrac1{k-1}\sum_{j=1}^{k}w_j(\bar X_j-\bar X_w)^2}{1+\dfrac{2(k-2)}{k^2-1}A}
Molecular degrees of freedomν1=k1\nu_1=k-1
Approximate denominator degrees of freedomν2=k213A\nu_2=\frac{k^2-1}{3A}

Find the p-value from the right tail of the F distribution. Even if it is significant, the conclusion is that at least one group's means are different, but the location of the difference is not known.

Comparison with Classical ANOVA#

itemTraditional one-way ANOVAWelch ANOVA
Variance assumptionequal in all groupsIt's okay to be different
within-group variationMerger into common MSEWeighting by group with nⱼ/sⱼ²
degree of freedomk−1、n−kk−1, Welch–Satterthwaite approximation
Main precautionsCan be distorted due to unequal variance + imbalanceStill be wary of small samples, strong distortions, and outliers.

After a Significant Overall Test#

We do not use LSD, pooled t, or regular Tukey HSD, which assumes a common MSE. For all pairwise comparisons, the Games–Howell method, which allows for unequal variances and unbalanced samples and also adjusts for multiplicity, is often used.

  1. Report n, mean, standard deviation, and distribution for each group
  2. Welch F, numerator/approximate denominator degrees of freedom, p-value reported
  3. If significant, perform Games–Howell or planned unequal variance contrasts
  4. Includes mean difference, confidence interval, and adjusted p-value