Sand has the slowest average Sprint-Drag-Carry time in our example. But individual cadets vary on every surface. How much of the overall variation comes from differences between surfaces, and how much remains among cadets on the same surface? That is the comparison behind one-way ANOVA.

Start with the cadets

DPE randomly assigns 30 cadets to grass, artificial turf, or sand. Each cadet completes the event once. We have I = 3 treatments and Ji = J = 10 cadets per treatment, for IJ = 30 observations. The response y is completion time in seconds; larger values mean slower times.

These dots are illustrative, not recorded cadet times. The worksheet provides only means and sample standard deviations. The constructed data below match those summaries exactly: grass (110, 12), turf (105, 10), and sand (125, 14). Many different datasets could share these summaries, so their box plots are not uniquely determined.

Follow a distance into an equation

Choose a calculation. Vertical segments show the deviations being squared. Each dot is one cadet; diamonds mark treatment means. Drag a dot vertically to change its time and within-group SSE. Drag a mean diamond to shift the whole group, changing SSTr while preserving SSE. Use arrow keys on a focused dot or diamond for 1-second steps (Shift: 0.1 seconds).

Boxes span the middle 50% (Q1 to Q3); the line inside is the median. Whiskers reach the most extreme observations within 1.5 IQR of the box. Quartiles use linear interpolation. Horizontal dot offsets only separate cadets; all three groups share the same seconds scale.

Select any dot using a mouse, or tab to it and press Enter, to inspect one cadet.

Why divide before comparing?

A raw sum of squares grows as we add more observations or more treatment means. We divide by the appropriate degrees of freedom to obtain mean squares. Estimating three treatment means uses three degrees of freedom, leaving IJ − I = 27 for error. The three treatment means have only I − 1 = 2 independent deviations from the grand mean.

Under the null hypothesis of equal population means, both mean squares estimate the same error variance, so their ratio should be around 1. A large F means the treatment means are unusually spread out relative to the variation within treatments. We use the right tail of an F distribution with (2, 27) degrees of freedom to judge how unusual.

Connect the picture to the worksheet

The worksheet's error sum of squares is 3680, but its sample standard deviations imply 9(12² + 10² + 14²) = 3960. Those cannot both describe the same data exactly. The chart uses 3960 to stay consistent with its dots. Switch the table below to reproduce the worksheet solution; this does not change the plotted observations.

SourceSSdfMSF

What does rejection tell us?

Our hypotheses are H0: μGrass = μTurf = μSand, versus Ha: at least two population means differ. Both original versions reject H0 at α = 0.05. Random assignment supports a causal interpretation for these cadets under the experimental conditions.

The omnibus test does not identify which pairs differ. In the original data, sand has the largest sample mean, but claiming that sand is significantly slower than grass or turf individually requires follow-up comparisons with an appropriate adjustment, such as Tukey's procedure. Overlapping boxes alone cannot settle those comparisons.

The usual F test assumes independent observations, approximately normal errors within each treatment, and a common population error variance. Our illustrative dots cannot verify these assumptions for the original experiment.