Prediction Intervals
A confidence interval says where the process average is; a prediction interval says where the next single part will land. That part brings its own scatter on top of our uncertainty about the average, so the interval is , and no amount of testing can shrink it below the spread of the parts themselves.
What the symbols mean
- Width factor
The 1 is the new part's own scatter; the 1/n is the uncertainty in x̄.
- t critical value
The same value a confidence interval uses.
What the symbols mean
- The next part
Independent of the sample, from the same process.
- Variance of x̄
How far the estimated mean can be off.
What the symbols mean
- Future sample size
How many new parts will be averaged.
Explanation
A prediction interval is simply a range where the next single part off the line will probably land, as opposed to a range for the average of all parts. The formula is the familiar confidence interval with one change under the square root: the (the new part's own scatter, which never goes away) plus the (our uncertainty about where the mean is, which shrinks with more data). That little "1 +" is the whole difference, and it turns out to matter a lot.
One part, not the average. A customer doesn't install your process mean; they install the next bracket off the line. "How strong will the next one be?" is a different question from "what's the mean strength?", and it needs a different interval.
Derivation. Predict the new part by . The new part is independent of the sample, so the prediction error has mean 0 and variance
because variances of independent pieces add even when you subtract, the same rule behind tolerance stack-up. Standardize, then replace with . For normal data is independent of both and , so
Trap between and solve for .
Why it's wider, and stays wide. The half-widths are (confidence) and (prediction), a ratio of . As grows the confidence interval shrinks to a point, but the prediction interval only shrinks to . Data make you surer of the mean; they never make the parts less variable. Only a better process does that.
One-sided bounds. For a minimum strength, use , with all of α in one tail.
What "95%" means here. Over repeated rounds of (sample, then one more part), the interval catches that part 95% of the time. It does not promise that 95% of all future parts fall inside; that's a different question, answered by a tolerance interval.
Normality matters more. The CLT rescues from skewed data, but the new part is a single observation: if the process is skewed, so is the prediction error. Check a probability plot.
Connections: the interval it extends is in confidence intervals for a mean, and regression adds the same "1 +" term when it predicts a new reading from a calibration curve.
See it
Worked examples
Ten bonded brackets are pull-tested: N, N. Give a 95% prediction interval for the next bracket () and compare it with the 95% confidence interval for the mean.
- 1
Prediction half-width: N, so the next bracket should fall in N.
Practice
Type your answer and check it. Solve them all to complete the lesson.
Fifteen resistors from a reel measure Ω with Ω. Find the half-width of the 95% prediction interval for the next resistor, in Ω, to 3 significant figures ().
For a sample of 24 parts, how many times wider is the 95% prediction interval than the 95% confidence interval for the mean?
As the sample size grows without bound, a 95% prediction interval for the next part approaches:
Bonded brackets must hold at least 700 N. Ten tests give N and N. Find the 95% lower prediction bound for the next bracket, to the nearest newton ().
Which question does a 95% prediction interval answer?
A customer will average the next 4 brackets and reject the shipment if that average is low. Using , N, N and , find the half-width of a 95% prediction interval for the average of the next 4, to 3 significant figures.
Shafts are ground with µm and bores honed with µm (long-run values, so treat them as known). The current means were estimated from 20 parts each, and bore minus shaft averages 25 µm. Find the half-width of a 95% prediction interval for the clearance of the next randomly paired bore and shaft, in µm, to 3 significant figures.
The hardest one here. Get it, and you've got this lesson.
Six cells from a new battery line test at 3.02, 2.95, 3.10, 3.05, 2.98 and 3.06 Ah, and the datasheet will promise at least 2.85 Ah. (a) Find the 95% lower prediction bound for the next cell (). (b) If many more cells were tested and and stayed the same, what value would that bound approach ()? Enter both, to 3 decimal places.
Where it's used
Strength allowables, battery and LED datasheets and sensor calibrations all ask about the next unit, so they use prediction intervals. The same interval flags anomalies: build a 99% prediction interval from the last 30 good parts, and a new part outside it deserves a look before it ships. That idea, repeated over time, is the logic behind control charts.