Statistics

Two-Way ANOVA

Students compare potted plants under combinations of two experimental conditions.

Two-Way ANOVA definition

Two-way ANOVA studies how two categorical factors are related to a quantitative response.

In Spanish
ANOVA de dos factores
Topic
Hypothesis tests and inference

Two-Way ANOVA in a picture

Two-Way ANOVA diagramLight and soil type form two factors. Each combination is a cell in the experiment.Factor A: light levelFor example, low and highFactor B: soil typeFor example, two soil mixesTest main effects and interactionCompare responses for combinations
Light and soil type form two factors. Each combination is a cell in the experiment.

How it works

A standard crossed design can estimate a main effect for each factor and an interaction. An interaction means the effect of one factor depends on the level of the other. In the classical model, replication within factor combinations lets you estimate a separate error term for testing the interaction.

Worked examples

Which factors are used when comparing plant height across two light levels and three soils?

Light level and soil type. There are six factor combinations.

What could an interaction look like?

A change in light could raise growth in one soil type and have little effect in another.

Does a two-way design mean two measurements per group?

No. It means two factors. Each can have multiple levels and replicated observations.

Common mistake

Interpret an interaction before summarizing main effects across all levels. Averaging can hide important differences among factor combinations.

Quick check

What does an interaction mean?

How many factors does two-way ANOVA use?

Show answer

Two.

How many combinations come from 3 levels and 4 levels in a crossed design?

Show answer

12.

Sources

Flashcard

Two-Way ANOVA

Reveal the definition

Two-way ANOVA studies how two categorical factors are related to a quantitative response.

Effortless Math. “Two-Way ANOVA.” Math Dictionary.