Testing Variability: χ² and F Tests
Consistency is a spec too. To test whether a process scatters more than allowed, compare with the distribution; to compare two processes' scatter, use the ratio . Both lean hard on normal data, far harder than t tests do.
What the symbols mean
- Test statistic
About n − 1 if H₀ is true; large values mean too much spread.
- Required variance
The spec value in H₀, squared.
What the symbols mean
- Variance ratio
Near 1 when the two processes are equally consistent.
- F distribution
Numerator degrees of freedom first, then denominator.
What the symbols mean
- Upper-tail value
Leaves area α to its right. Note the swapped degrees of freedom.
What the symbols mean
- True variance ratio
Take square roots for a statement about σ₁/σ₂.
Explanation
A variance test is simply a check of whether a process is more erratic than it's allowed to be, or whether one machine is more erratic than another. There are two statistics, and each is a single ratio. compares the variance you measured with the variance the spec allows (scaled by the degrees of freedom ). just divides one machine's variance by the other's; near 1 means similar consistency. Two ratios, two tables to look them up in.
Why test spread. A filling line can average 500 g and still overfill and underfill constantly; a bearing race can be centered and still too inconsistent for its press fit. Specs on σ come from capability targets (process capability) and from machine purchase contracts.
One variance. If is true, : the pivot from intervals for variability with plugged in. The usual worry is too much spread, , rejected when . To demonstrate that a machine is good enough, put the claim in and reject when ; that happens exactly when the upper confidence bound for σ falls below .
Two variances: where F comes from. The F distribution with degrees of freedom is defined as for independent χ²'s. Since with ,
and when the σ's cancel, leaving . Solving the same statement for gives the confidence interval above.
The lower-tail trick. Tables list only upper points. Flipping the ratio swaps the degrees of freedom: if then , so . For a two-sided test, put the larger variance on top and compare with .
The catch: normality. A t test leans on the CLT for and shrugs off skew. χ² and F tests are built from squared deviations of individual values, and heavy tails wreck them: with heavy-tailed data a nominal 5% F test can reject 15% to 20% of the time, and more data doesn't fix it. Check probability plots first, and for messy data use a robust alternative such as Levene's test.
Power is low. Variances are hard to pin down (ten parts only locate σ between about and ), so catching a 50% increase in σ with 90% power takes 27 parts. For an even ν = 2m the χ² tail has a closed form, because is the waiting time for the -th event of a Poisson process with rate 1 (exponential lifetimes). The tail is the chance of fewer than events by time :
Connections: the same F ratio, between-group variance over within-group variance, drives the F test in experiment principles and one-way ANOVA.
See it
Worked examples
A filling line's spec requires g. Twenty bottles give g. Test against at ().
- 1
.
Two lathes: lathe 1, , µm; lathe 2, , µm. Is lathe 1 more variable? Compare a two-sided test at () with the one-sided test the engineer planned beforehand ().
- 1
, with 9 and 12 degrees of freedom.
Practice
Type your answer and check it. Solve them all to complete the lesson.
A torque wrench's calibration spec requires N·m. Sixteen repeat readings give N·m. Find for .
With , what is the decision for the wrench at ?
A new grinding wheel is claimed to bring σ below 2.0 µm. Twenty-five parts give µm. Find for against . Is the claim demonstrated at ()?
Spring rates from two suppliers: A, , N/mm; B, , N/mm. Find with the larger variance on top. At two-sided (), do the suppliers differ in consistency?
Find the lower critical value given . Give 3 decimal places.
For the springs, find the 95% confidence interval for (, ). Enter the lower and upper limits, to 3 significant figures.
Three stacked plates have , 10 and 8 µm, independent according to the supplier, so the root-sum-square stack-up predicts the assembly's σ. Sixteen measured assemblies give µm. Find for against . What does say?
The hardest one here. Get it, and you've got this lesson.
A χ² test of against uses parts at (). What is its power if the true σ is ? Use the Poisson-sum formula for the χ² tail, and give 3 decimal places.
Where it's used
Machine acceptance contracts ("σ of 30 trial parts must not exceed 2 µm"), gauge and instrument qualification, supplier comparisons and the choice between pooled and Welch t tests all rest on these tests. In variation-reduction projects a significant drop in σ is often the goal itself, and a χ² or F test, backed by a probability plot, is how the improvement gets confirmed.