Testing a Process Against a Spec
To show a process meets a spec on its mean, run a one-sample t test with the alternative pointing where you need evidence: "mean clamp load above 12 kN" makes the supplier prove it. The p-value says whether the data would be surprising if the claim were false; the confidence bound says how big the effect is. Engineers need both.
What the symbols mean
- Test statistic
How many standard errors x̄ sits from the spec value.
- Spec value
The boundary value written into H₀.
- Degrees of freedom
n − 1, the same as for the t interval.
What the symbols mean
- t random variable
Follows the t distribution with ν degrees of freedom when μ = μ₀.
What the symbols mean
- Upper-tail critical value
Leaves area α to its right.
Explanation
Testing against a spec is simply asking whether your data give solid evidence that a process meets a requirement, rather than just a hopeful average. It's the one-sample t-test from the intro course, aimed at an engineering question. The statistic is three familiar pieces: (how far the sample mean sits from the spec value), (the standard error) and their ratio (how many standard errors that is). The engineering judgment is in choosing which side has to prove itself, and that's what this lesson is really about.
Who has to prove what. A fastener supplier says the mean clamp load of its bolts is at least 12 kN. If you'll accept the lot only on evidence, the claim goes in the alternative: against , and the supplier's data must push past it. If you'll accept unless there's evidence of a shortfall, it's against , and the benefit of the doubt flips. Same data, possibly different conclusions, so decide before looking. The test is run at the boundary : a test that holds false alarms to α there holds them below α everywhere else in .
The statistic, and why it's t. with degrees of freedom (t tests). For normal data, is standard normal, is (intervals for variability) and independent of , and is, by definition, the t distribution with degrees of freedom. The unknown σ cancels, leaving .
p-values from a table. A t table lists only a few upper-tail points, so you bracket. For ν = 14:
| α | 0.10 | 0.05 | 0.025 | 0.01 | 0.005 | 0.001 |
|---|---|---|---|---|---|---|
| 1.345 | 1.761 | 2.145 | 2.624 | 2.977 | 3.787 |
A one-sided falls between 2.145 and 2.624, so ; software gives 0.015. Two-sided, double both ends: .
Statistical vs practical significance. With 400 bolts, a mean 0.06 kN below a 12 kN spec can be "highly significant" and still irrelevant if the design margin is 1 kN. With 5 bolts and kN, even a 1 kN shortfall can hide in the noise (). So report the confidence bound next to the p-value: it says how big the effect plausibly is. The two always agree, because a level-α one-sided test rejects exactly when the confidence bound clears . To show that a change made no practical difference, flip the logic and test equivalence: two one-sided tests against the edges of the band you care about (the challenge).
Mistakes to avoid: choosing the direction after seeing which way the data went (that doubles the real α); reading as "a 3% chance that is true"; and treating "not significant" as "meets spec", when a small sample may simply have had little power (planning sample sizes).
See it
Worked examples
A supplier must show its bolts' mean clamp load exceeds 12 kN. Fifteen bolts give kN and kN. Test at and give the matching confidence bound ().
- 1
The claim needs evidence, so against .
Practice
Type your answer and check it. Solve them all to complete the lesson.
A battery maker claims a mean capacity of at least 2,500 mAh. A test lab measures 20 cells: mAh and mAh. Find for against .
A customer will accept a supplier's springs only if the data show that the mean spring rate exceeds 40 N/mm. Which hypotheses fit?
A one-sided test has with . Using the table in the lesson, what can you say about the p-value?
A two-sided test has with . What can you say about the p-value?
For the 20 battery cells ( mAh, mAh), find the 95% upper confidence bound for the mean capacity, to the nearest 0.1 mAh (). What does it say about the 2,500 mAh claim?
A plant measures 2,500 shafts against a 25.000 mm target (tolerance mm): mm and mm. Find for .
Suppose the cells' true mean is 2,450 mAh, with mAh. Using the normal approximation for power, what's the power of the one-sided 5% test with ()? Give 3 decimal places.
The hardest one here. Get it, and you've got this lesson.
After a process change, the plant must show the mean clamp load stayed within kN of 12 kN. Equivalence is shown at level when both one-sided tests reject: against , and against . Thirty bolts give kN and kN (). Find and . Is equivalence shown?
Where it's used
Incoming inspection, lot acceptance and design verification all test against a spec: is the mean fill at least the labeled volume, does the mean bond strength exceed the requirement, has a supplier's mean drifted? Regulated industries add equivalence tests when a process changes, so that "no difference" has to be demonstrated rather than assumed, and quality engineers report confidence bounds so managers see the size of an effect, not just its p-value.