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=1kj=1ni(YijY¯..)2, SSB=i=1kni(Y¯i.Y¯..)2, SSE=i=1kj=1ni(YijY¯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/(k1)SSE/(Nk)Fk1,Nkunder H0.

Reject H0 if F>Fα,k1,Nk . 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

SSB116.67,SSE51.33,SST168.00.

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

F=58.338.566.82.

Since F0.05,2,65.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/ ↩︎