A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

One-Way ANOVA

College Depth 103 in the knowledge graph ☐ I know this ☆ Set as goal
123topics build on this
518prerequisites beneath it
See this on the map →
F-Distribution: Comparing VariancesHypothesis Testing Fundamentals+2 more→→F-Test and Joint SignificanceGeneralizability Theory and Multi-Faceted Reliability+1 more
ANOVA F-test between-group-variance within-group-variance multiple-groups

Core Idea

One-way Analysis of Variance (ANOVA) tests whether the means of three or more groups are all equal, using H₀: μ₁ = μ₂ = … = μₖ. The F-statistic is the ratio of between-group variance to within-group variance: F = MS_between / MS_within. A large F suggests means differ more than would be expected from chance alone. ANOVA does not identify which specific means differ — post-hoc tests (like Tukey's HSD) are required for pairwise comparisons after rejecting H₀.

How It's Best Learned

Run a simple experiment: measure plant heights under three different fertilizers. Partition total variability into between-group and within-group components in an ANOVA table. Emphasize why running multiple t-tests inflates the Type I error rate — this motivates ANOVA as the correct approach.

Common Misconceptions

Explainer

You already know the two-sample t-test: compare two group means by asking how many standard errors separate them. One-way ANOVA extends this logic to three or more groups. The natural instinct is to run all pairwise t-tests — with five groups you'd run ten — but this has a serious problem you've encountered in hypothesis testing: Type I error inflation. If each test has a 5% false-positive rate and tests are independent, the probability of at least one false positive across ten tests climbs toward 40%. ANOVA provides a single test that handles all groups simultaneously, preserving the overall error rate at α.

The central idea is a decomposition of variance. Take all the observations together and measure their total variation around the grand mean — the overall mean of all groups combined. This total sum of squares splits into two additive pieces: SS_between, which measures how far each group mean sits from the grand mean (weighted by group size), and SS_within, which measures how much individual observations scatter around their own group mean. SS_within is the baseline noise — variation that cannot be explained by group membership. SS_between is the signal — variation attributable to the groups themselves.

The F-statistic is the ratio F = MS_between / MS_within, where MS (mean square) divides each sum of squares by its degrees of freedom to make the quantities comparable. MS_between uses df = k − 1 (k groups), and MS_within uses df = N − k (N total observations). Under the null hypothesis that all group means are equal, both MS_between and MS_within estimate the same population variance σ², so F should be near 1. When group means genuinely differ, MS_between inflates while MS_within remains anchored to within-group noise, pushing F above 1. The F-distribution gives the probability of observing a ratio this large by chance alone.

A significant F-test tells you "at least one group mean differs," not which ones. Post-hoc tests like Tukey's Honestly Significant Difference (HSD) perform all pairwise comparisons with a correction that controls the familywise error rate at α — solving the multiple-comparison problem that motivated ANOVA in the first place. The procedure assumes roughly normal data within groups and approximately equal variances (homoscedasticity). The normality assumption is fairly robust for moderate sample sizes by the central limit theorem, but unequal variances can distort the F-test; in that case, Welch's ANOVA provides a correction analogous to Welch's t-test for the two-group setting.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability → Independence of Events → Sampling Distributions → Standard Error of Estimators → Hypothesis Testing: Framework and Logic → P-values and Statistical Significance → Effect Size and Practical Significance → Hypothesis Testing: Framework and Logic → Z-Tests and T-Tests for Means → One-Sample Z-Test for Means → One-Sample and Two-Sample T-Tests → One-Way ANOVA

Longest path: 104 steps · 518 total prerequisite topics

Prerequisites (4)

Leads To (3)