Skip to content
Celeus

Welch's ANOVA

Shown in the app as welch_anova. Part of the method reference, under Comparing groups.

When to use

3+ independent groups, continuous outcome, unequal variances.

What you provide

  • Outcome: one numeric column.
  • Group: one categorical column.

Options

Missing data

  • Complete case (listwise deletion)
  • Mean imputation (single)
  • Median imputation (single)

Multiple comparisons

  • Not adjustable for this method. Where it makes post-hoc comparisons, the procedure applies its own correction.

Confidence level

Every interval in the result is reported at the level you choose:

  • 90%
  • 95%
  • 99%

Alternatives that take the same inputs:

Other methods under Comparing groups:

Guides that discuss this method

How to read the output

These methods compare one outcome across three or more independent groups, for example crop yield under four irrigation schedules, or test scores across several schools.

The overall test. The p-value answers one question: is there any difference among the groups? A small p-value does not say which groups differ or by how much. One-way ANOVA assumes equal variances across groups; Welch’s ANOVA does not; the Kruskal-Wallis test works on ranks and does not assume normality.

Effect size. For the two ANOVAs, eta-squared is the proportion of the outcome’s variation that lies between the groups, from 0 to 1. For Kruskal-Wallis, epsilon-squared plays the same role on ranks. Both come with a two-sided confidence interval; the epsilon-squared interval is a seeded bootstrap, so the same data always give the same interval. The reproducible script recomputes the effect size and its interval too.

Groups coded as numbers. A group column stored as numbers (1, 2, 3) is still treated as a set of labels, never as a measurement. When missing values are filled with a mean or median, a missing group code is not filled, because the mean of two codes is not a group; that row is left out instead.

Which groups differ. With three or more groups, Celeus adds pairwise comparisons, each corrected for making several comparisons at once: Tukey’s honestly significant difference after one-way ANOVA, the Games-Howell procedure after Welch’s ANOVA (it does not assume equal variances either), and Dunn’s test after Kruskal-Wallis, where you choose the correction (Holm by default). Read each pair’s adjusted p-value and its effect size together; a pair can differ reliably by a trivial amount.

Options. Every interval of a run (the effect size, the Tukey intervals and each pair’s effect size) uses one confidence level: 90%, 95% (the default) or 99%. The overall test has no one-sided version: it asks whether any group differs, which has no direction.

Sources: Tukey JW (1949), Biometrics 5(2):99-114, doi:10.2307/3001913. Games PA, Howell JF (1976), Journal of Educational Statistics 1(2):113-125, doi:10.3102/10769986001002113. Dunn OJ (1964), Technometrics 6(3):241-252, doi:10.1080/00401706.1964.10490181.

Worked examples

Celeus's result on a published or illustrative dataset, next to an independent computation and, where one exists, a published value. The data themselves are not reproduced here.

datasets::iris

  • Source: Published dataset distributed with an R package
  • Licence: base R (GPL)
  • Reference: Fisher (1936), Ann. Eugenics 7(2)
QuantityCeleusIndependent computationPublished valueAgrees
p-value1.50506e-281.50506e-28-Yes

datasets::chickwts

  • Source: Published dataset distributed with an R package
  • Licence: base R (GPL)
  • Reference: Anonymous (1948), Biometrika 35 (the data); independent computation
QuantityCeleusIndependent computationPublished valueAgrees
Test statistic19.661719.6617-Yes
p-value1.17706e-081.17706e-08-Yes
Effect size0.5416850.541685-Yes
Effect size confidence interval0.292965, 0.6823670.292965, 0.682367-Yes
Confidence level of the effect size interval0.990.99-Yes

datasets::airquality (Ozone by Month)

  • Source: Published dataset distributed with an R package
  • Licence: base R (GPL)
  • Reference: Chambers et al. (1983), Graphical Methods for Data Analysis (the data); independent computation
QuantityCeleusIndependent computationPublished valueAgrees
Test statistic8.026688.02668-Yes
p-value6.43908e-056.43908e-05-Yes
Number of observations116116-Yes
Effect size0.2352340.235234-Yes

Validation report

References

  1. Welch, B. L. (1951). On the comparison of several mean values: an alternative approach. Biometrika 38: 330-336. doi:10.1093/biomet/38.3-4.330 doi:10.1093/biomet/38.3-4.330