Skip to content
GabineteTools for thinking

No. 2389Diagnosing processes

Analysis of variance (ANOVA)

Ronald A. Fisher · 1925

Slate board with three compact groups of pebbles in brass rings, joined by ochre threads to a common horizontal blue thread.

The table / Model card · No. 2389 · Diagnosing processes

Analysis of variance (ANOVA)

Compare several group means at once by weighing differences between groups against variation inside groups.

The essentials

What it is

What it solves

You have measurements from several machines, shifts or suppliers and the averages differ. Is that a real difference worth acting on, or normal variation? Running many pairwise t-tests inflates the chance of a false finding.

When to use it

Use it when comparing a continuous outcome across three or more groups (machines, lines, suppliers, methods), when checking factors in an experiment, or when quantifying how much variation comes from a factor such as shift.

Where it comes from

Ronald Fisher introduced the term variance and its formal analysis in a 1918 article on population genetics (read in 1918, published in 1919). He developed the idea in the Studies in Crop Variation series from 1921 (agricultural trials at Rothamsted) and made ANOVA widely known in his 1925 book Statistical Methods for Research Workers. Antecedents (least squares, hypothesis testing) are much older.

Ronald A. Fisher · 1925

How it works

Total variation in the data equals the variation of group means around the grand mean plus the variation of observations around their own group mean. Divide each by its degrees of freedom to get mean squares. If all groups share one true mean, both mean squares estimate the same noise, and their ratio (F) is near 1. A large F means group means are spread more than noise allows. One test covers all groups together, which keeps the false-alarm rate at the chosen level. A significant result is followed by post-hoc comparisons to find which groups differ. The method assumes independent observations, roughly normal residuals and similar variances across groups.

You need

Measurements of one continuous outcome, a grouping factor with 2 or more levels, adequate replicates per group, and checks of normality and equal variance.

You get

An ANOVA table (sums of squares, degrees of freedom, mean squares, F, p-value), followed by pairwise comparisons and an estimate of how much variation each factor explains.

Case

Illustrative case

Calder Beverages fills 500 g cartons on three machines. A quality engineer samples 10 cartons per machine: means 500.2 g, 503.1 g and 500.4 g, with a pooled within-machine variance of 4.0. The grand mean is 501.23, so the between-machine mean square is 10 x 5.25 / 2 = 26.2. F = 26.2 / 4.0 = 6.6 on 2 and 27 degrees of freedom, above the 0.01 critical value of about 5.5. The machines are not equal. A follow-up comparison shows machine 2 overfills by about 3 g; recalibrating it saves roughly 0.6% of product.

A fictional company used to explain the model.

Caution

When to avoid it

  • Avoid it for non-independent data, strongly skewed data with tiny groups, or when you need to know which cause produced a difference (it does not give causation).
  • For two groups, a t-test is enough.

Common mistakes

  • Running repeated t-tests instead of one ANOVA.
  • Ignoring unequal variances or non-independent samples.
  • Treating a significant F as showing which machine is wrong.
  • Taking a significant p-value as practical importance without looking at the size of the difference.

Known weaknesses

  • Says groups differ, not which one or why.
  • Sensitive to violated assumptions with small or unbalanced data.
  • Statistical significance is not the same as business importance.
  • Needs enough replicates to have power.

How to apply it in 6 steps

How to apply it

Analysis of variance (ANOVA)

6 steps

Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.

View all 6 steps
  1. Define the question and factor

    State the outcome measure and the grouping factor, and plan replicates per group.

  2. Collect balanced samples

    Take random samples from each group, ideally equal in number.

  3. Check assumptions

    Look at normality of residuals, equal variances and independence.

  4. Compute the ANOVA table

    Calculate sums of squares, mean squares and the F ratio.

  5. Follow up

    If F is significant, use post-hoc tests (such as Tukey) to see which groups differ.

  6. Act and confirm

    Fix the causes of the differing group, then re-sample to confirm.

Which decisions it helps with

Decision profile

A tool to understand what is happening.

Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.

IIdentity

Type of tool
Other formatDoes not fit neatly into the available categories
Decision stage
Understand what’s happeningalso: choose between existing options (27 %)
Discipline
Lean, operations and quality

IIIResources required

  • TimeBetween “one hour or less” and “one session (half a day or a full day)”
  • PeopleOne person working alone
  • DataQuantitative analysis
  • ExpertiseWorks best with a facilitator
  • Time horizonDays or weeks
  • ScopeA unit or department
  • FrequencyOccasionally
The team’s own knowledge is enough

IITen axes

The dot shows which end the model favours. A hollow dot means no clear preference.

  • DirectionExecution
  • Top-downmixedBottom-up
  • PeopleProcesses
  • Generate optionsNarrow down options
  • Step-by-step analysisIntuition and experience
  • A strict sequence of stepsA flexible framework
  • Protect what we haveTake a risk
  • Improve what we haveFundamental change
  • Inside the organisationOutside the organisation
  • Understand firstAct now
How was this profile calculated?

An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.

A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.

On the axes, mixed means the model favours neither end.

How it works →

Thinking space

Diagnosing processes

Identify where an operation loses value by examining waste, the value stream, statistical process control and service metrics.

Membership: 39 % · also “Workflow and delivery” (12 %)

View in the atlas of spaces →

Each point is a model. Distance reflects answers to the decision questions. Light points share this model’s space.

Similar models

Verified sources

Use the arrow keys to move between sources.

Original work

  1. Fisher, R. A. (1919). The Correlation between Relatives on the Supposition of Mendelian Inheritance. Transactions of the Royal Society of Edinburgh.Paper where Fisher introduced the term variance and its partition; the Crossref date is 1919, while Wikipedia calls it a 1918 article (read 1918, published 1919).View source: The Correlation between Relatives on the Supposition of Mendelian Inheritance (opens in a new tab) ↗

Key development

  1. Fisher, R. A. (1921). Studies in crop variation. I. An examination of the yield of dressed grain from Broadbalk. The Journal of Agricultural Science.First paper in Fisher's Studies in Crop Variation series (Broadbalk field data), which Wikipedia places among the steps toward ANOVA. Crossref record shows title, author and journal; text not read.View source: Studies in crop variation. I. An examination of the yield of dressed grain from Broadbalk (opens in a new tab) ↗
  2. Fisher, R. A. (1990). Statistical Methods for Research Workers. Oxford University Press (reprint in Statistical Methods, Experimental Design, and Scientific Inference).The book that made ANOVA widely known (first edition 1925 per Wikipedia). The DOI is for the 1990 Oxford reprint; Crossref lists ISBN 9780198522294.View source: Statistical Methods for Research Workers (opens in a new tab) ↗

Critique

  1. Jaeger, T. F. (2008). Categorical data analysis: Away from ANOVAs (transformation or not) and towards logit mixed models. Journal of Memory and Language.Objects that applying ANOVA to categorical/proportion outcomes violates its assumptions and can yield spurious results; recommends mixed logit models instead.View source: Categorical data analysis: Away from ANOVAs (transformation or not) and towards logit mixed models (opens in a new tab) ↗

Wikipedia article (opens in a new tab) ↗