Calculate a one-way ANOVA by comparing variation among group means with variation around each group's own mean. Divide each sum of squares by its appropriate degrees of freedom, then divide the between-group mean square by the within-group mean square. Under the model's assumptions, the resulting F test asks whether all underlying group means are equal.
A small p-value answers that global question. It does not establish that every pair differs, identify a universally best process or tell you whether changing the business would pay.
Match one factor to one continuous outcome
A factor is the condition being compared; its levels are the particular alternatives. Three packaging designs A, B and C are three levels of one factor. Completion time in minutes is a continuous outcome. It is different from the binary conversion outcome in the A/B conversion-test guide.
NIST's one-factor ANOVA explanation gives the global equal-means hypothesis and the ratio of factor to residual mean square. It also distinguishes that test from subsequent comparisons of individual means.
Decide the outcome and comparison before looking for a favorable result. If speed, error rate, customer satisfaction and five convenient subgroups are all searched afterward, reporting one small p-value as the original planned finding loses the history that makes it interpretable.
The controlled-comparison guide covers assignment and the meaning of a limited practice result. This guide adds a formal global test for three continuous-outcome groups, rather than repeating a two-group sample-mean comparison.
Define the complete original teaching record
Consider a wholly fictional comparison of three fixed packaging-process designs. Nine genuinely distinct experimental units are assigned at random, three to each design. Each unit supplies one completed cycle, including the same required checking. All outputs satisfy the same stipulated correctness requirement.
Everything required for the defined task is ready before timing. No observation is missing, repeated, reassigned or removed. There is no shared bottleneck, interference, carryover or time trend in this teaching model. The labels below group the results for display; they are not a claim that all A cycles ran before all B cycles.
The analysis assumes independent, normally distributed errors with a common variance and a fixed mean for each design. Those are stipulated model conditions, not facts established by seeing three tidy observations per group. The miniature record makes the calculation inspectable; it is not a recommended sample-size plan.
The prespecified primary test compares all three means at a 0.05 significance level, once all nine outcomes are complete. No process rollout, future time-saving estimate or implementation budget is included.
Every outcome is an invented number of minutes for a complete checked cycle. These are not results from an author-conducted experiment or named product test.
| Design | Three independent outcomes, minutes | Group mean |
|---|---|---|
| A | 9, 10, 11 | 10 |
| B | 9, 10, 11 | 10 |
| C | 15, 16, 17 | 16 |
Calculate the means before the squares
A and B each total thirty minutes, so each mean is ten. C totals forty-eight, giving a mean of sixteen. The total across all nine observations is 108 minutes, and the grand mean is 108 ÷ 9 = 12 minutes.
Equal group sizes make the grand mean the simple average of the three group means here. With unequal sizes, weight each mean by its actual count. Averaging unequal groups' means without those weights can change the reference point.
Keep the raw outcomes. Three group means alone would preserve their separation while discarding the information needed to estimate variation within groups. That missing denominator is essential to the test.
Split between-group and within-group variation
For between-group variation, compare each mean with twelve, square the difference and multiply by the three observations represented by that mean:
SS between = 3 × [(10 − 12)² + (10 − 12)² + (16 − 12)²] = 72.
For within-group variation, compare each observation with its own group mean. Every group has residuals −1, zero and +1, so each contributes two squared minutes. Across three groups, SS within = 6.
As a separate check, subtract the grand mean from each of the nine original outcomes and square those deviations. Their sum is 78. It equals seventy-two plus six.
NIST's one-way table separates these sums of squares and their degrees of freedom. The residual term measures variation around the fitted group means, not around the single grand mean.
Dividing seventy-two by six would produce twelve, but that raw sum-of-squares ratio is not the test statistic. The two components have different degrees of freedom. Convert each to its mean square first.
Reconstruct the ANOVA table
There are three groups, so the between-group degrees of freedom are 3 − 1 = 2. There are nine observations, so within-group degrees of freedom are 9 − 3 = 6. Total degrees of freedom are eight.
Between-group mean square is 72 ÷ 2 = 36; within-group mean square is 6 ÷ 6 = 1. The ratio is therefore F = 36 ÷ 1 = 36.
Sums and mean squares below have squared-minute units. F is dimensionless. The total row supplies a reconciliation, not another denominator for the test.
| Source | Sum of squares | Degrees of freedom | Mean square |
|---|---|---|---|
| Between designs | 72 | 2 | 36 |
| Within designs | 6 | 6 | 1 |
| Total | 78 | 8 | Not used for F |
Read the global p-value without inventing pairwise results
The reference distribution has two numerator and six denominator degrees of freedom. For this particular distribution, the upper-tail probability at a nonnegative value f simplifies to [6 ÷ (6 + 2f)]³, consistent with NIST's F-distribution formula.
At F = 36, this becomes (1/13)³ = 1/2,197 ≈ 0.00045517. Under the equal-means model and stated assumptions, it is the probability of an F statistic at least this large. It is not the probability that equality is true.
The result is below 0.05, so the planned test rejects equality of all three underlying means. The correct conclusion is that the data provide evidence that not all those means are equal under the model.
A and B actually have identical sample means and identical displayed outcomes. The global test has plainly not established that every pair is different. Nor does identical sample information prove the two underlying population means are exactly equal.
If the decision requires specific pairwise conclusions, plan an appropriate multiple-comparison analysis and report its intervals and error control. None has been calculated here. Do not attach three unadjusted follow-up tests and quietly present their results as though the original single-test plan covered them.
Keep the means and change the spread
Use a separate sensitivity with A and B each 8, 10, 12 and C 14, 16, 18. Means remain ten, ten and sixteen; grand mean remains twelve. Between-group sum of squares stays seventy-two.
The residuals are now −2, zero and +2 in each group. Within-group sum of squares becomes 24, mean square four, and F = 36 ÷ 4 = 9. Its upper tail is (1/4)³ = 0.015625.
That branch still rejects at 0.05, but its evidence is less extreme. The observed mean gaps did not shrink; the within-group noise grew.
For another independent sensitivity, use A and B each 7, 10, 13, with C 13, 16, 19. Within-group sum of squares is now fifty-four, mean square nine and F four. Its upper tail is (3/7)³ = 27/343 ≈ 0.07872.
This last branch does not reject at 0.05 despite the same six-minute difference between C's sample mean and the other two. Nonrejection does not establish equality. It says the specified test did not cross its threshold with that record.
Do not turn a variation share into a time saving
In the original record, the between-group share of corrected total sum of squares is 72 ÷ 78 = 12/13, approximately 92.31%. That describes how this sample's squared deviations split under the fitted grouping. It is not a 92.31% reduction in cycle time, a probability of correct work or a percentage of employees helped.
The visible mean gap is six minutes. Relative to C's sixteen-minute sample mean, A's ten-minute mean is 37.5% lower. That descriptive percentage answers a different question from the variation share and the global p-value. None of the three numbers alone establishes a permanent six-minute saving.
If all C units had instead been harder cases assigned deliberately, the same table would not untangle case difficulty from design. The arithmetic could remain exact while the intended causal comparison failed.
Check the record before trusting the reference distribution
Inspect residuals in actual run order, against fitted values and for distributional shape. Look for trends, changing spread, unusual observations and dependence. NIST recommends model validation alongside the table; a neat F ratio is not a substitute.
With only three observations per group, diagnostics have limited ability to reveal problems. The illustration assumes the model rather than claiming that a normality check has certified it. If observations share a worker, batch or repeated unit, the analysis must reflect that structure.
Copying every row three times would leave means unchanged while inventing extra independent units. It cannot supply the additional information the enlarged spreadsheet appears to contain. Likewise, deleting the slowest valid outcome because it spoils the preferred result changes the evidence.
Converting minutes to seconds multiplies both sums of squares by 3,600, leaving F and its p-value unchanged. Adding the same constant to every observation also leaves both components unchanged. Neither operation creates stronger evidence.
Turn the test into a bounded decision record
Retain the outcome definition, units, assignment, all observations, analysis plan, assumptions, sums of squares, degrees of freedom and exact global conclusion. Name the pairwise, practical-effect and operating questions still unanswered.
In the original case, A and B have lower observed mean times than C. Choosing between them would require criteria this test has not supplied. Even rejecting equal means does not establish safe implementation, staffing savings or sufficient evidence for every future setting.
Explore Infinite Upside
For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.
Choose an edition
Choose an edition