One-Way ANOVA

Summary

One-way analysis of variance compares the means of several groups defined by a single categorical factor. It partitions total variation into variation between groups and variation within groups, then tests whether the between-group variation is large relative to the within-group variation using an F-statistic. Significant results are usually followed by post-hoc comparisons to identify which means differ.[1]

Prerequisites

Definition / Notation

The model for group i=1,…,k and observation j=1,…,ni is

Yij=μ+αi+εij,

with the constraint ∑i=1kniαi=0 .

Symbol Meaning
Yij Observation j in group i
μ Overall mean
αi Effect of group i
Y¯i. Mean of group i
Y¯.. Grand mean
SST Total sum of squares
SSB Between-group sum of squares
SSE Within-group (error) sum of squares
N Total sample size, ∑ini

The sums of squares are

SST=∑i=1k∑j=1ni(Yij−Y¯..)2, SSB=∑i=1kni(Y¯i.−Y¯..)2, SSE=∑i=1k∑j=1ni(Yij−Y¯i.)2.

They satisfy SST=SSB+SSE .

Parameters / Assumptions

Essential Result

The hypotheses are

H0:μ1=μ2=⋯=μk

against

Ha:at least two means differ.

The test statistic is

F=MSBMSE=SSB/(k−1)SSE/(N−k)∼Fk−1,N−kunder H0.

Reject H0 if F>Fα,k−1,N−k . When H0 is rejected, post-hoc procedures such as Tukey's HSD or Bonferroni corrections control the family-wise error rate for pairwise comparisons.[2]

Worked Example

Three teaching methods produce scores:

Group means are 81.67 , 90 , and 83.33 ; the grand mean is 85 . The sums of squares are

SSB≈116.67,SSE≈51.33,SST≈168.00.

With k=3 and N=9 , MSB=58.33 and MSE=8.56 , giving

F=58.338.56≈6.82.

Since F0.05,2,6≈5.14 , we reject H0 and conclude that at least one method mean differs.

Common Mistakes

Connections

References


  1. OpenStax, Introductory Statistics, "One-Way ANOVA", https://openstax.org/details/books/introductory-statistics ↩︎

  2. NIST/SEMATECH, e-Handbook of Statistical Methods, "Analysis of Variance", https://www.itl.nist.gov/div898/handbook/ ↩︎