Summarizing Process Data
A column of measurements from the line needs to become a few numbers you can trust: where it's centered, how much it spreads, what the tails look like and which readings don't belong. Production data always has the occasional glitch, so favor summaries that one bad number can't hijack.
What the symbols mean
- Coefficient of variation
The spread as a percent of the mean, for comparing variability across sizes or units.
- Sample standard deviation
The typical distance of a reading from the mean.
- Sample mean
The balance point of the data.
What the symbols mean
- Average range
The mean of the ranges (max − min) of small subgroups taken close together in time.
- Range constant
The expected range of n normal values in units of σ: 1.128, 1.693, 2.059, 2.326 for n = 2, 3, 4, 5.
- Estimated process SD
The short-term standard deviation of the process.
What the symbols mean
- k-th smallest value
Sort the data; x₍₁₎ is the minimum and x₍ₙ₎ the maximum.
- Proportion
0.10 for the 10th percentile, 0.95 for the 95th.
- Fraction
The decimal part of the position, used to interpolate between neighbors.
What the symbols mean
- Interquartile range
Q₃ − Q₁, the spread of the middle half of the data.
- Robust SD
For normal data the IQR is 1.349σ, so this estimates σ without being thrown by outliers.
Explanation
Summarizing process data is simply boiling a long list of readings down to a few numbers that describe it fairly. You already know most of the tools from descriptive statistics; the new part is choosing the right one for production data. The formulas are small: (the spread as a percent of the average), (a quick way to get σ from the ranges of small groups), the percentile rule (sort, then interpolate between neighbors) and the fences with (an outlier screen and a spread estimate that a glitch can't fool). Four small tools, each with one job.
A column of numbers from the line. A filler puts 500 g of sauce in each jar, and the checkweigher logs twelve jars: 501.2, 499.8, 500.6, 498.9, 500.3, 501.0, 499.5, 50.04, 500.9, 499.2, 500.1 and 500.7 g. One reading is obviously a typo (500.4 keyed in as 50.04), but a spreadsheet doesn't know that. The mean comes out 462.7 g and the standard deviation 130 g, a disaster on paper. The median, 500.2 g, and the IQR, 1.45 g, barely notice. The center and spread lessons define these numbers; here's how engineers choose among them.
The summaries and their jobs:
- Mean and SD are the right summaries for a stable, roughly symmetric process, and they feed every normal-model calculation (ppm out of spec, capability). One wild value ruins both.
- Median and IQR are resistant. Use them for skewed data, or whenever glitches are possible, which in production data means always.
- Range (max − min) is the quickest spread. For small subgroups from a normal process the average range is a fixed multiple of σ, , so . That's how X̄ and R charts estimate σ on the shop floor. For one big sample the range is wasteful: it uses only two of the values.
- The coefficient of variation compares spread relative to size. A 250 g jar line with g (CV 0.6%) is less consistent than a 1,000 g line with g (CV 0.4%). Use it only for quantities with a true zero, like mass, length or resistance, never for °C.
- Percentiles describe tails, and specs live in the tails: "95% of valve closures under 120 ms", "the 10th percentile of weld strength". Sort, find the position and interpolate. Spreadsheets do exactly this. For the quartiles of a small sample it can differ slightly from the median-of-halves method in the box plot lesson; both are fine, so say which one you used.
Fences, and why z-scores make poor outlier detectors. The fences and flag the typo instantly. A rule like "flag " sounds just as good, but the outlier inflates , which shrinks its own z-score. Push that to the limit: in a sample of , let values equal and one equal . Then , the odd value sits above the mean, and
So the odd value's z-score is , no matter how huge is. For that's 2.85, and no sample of 10 can do better, so a rule can never fire. The outlier hides behind the spread it creates; this is called masking. Fences are built from quartiles, which one outlier can't drag.
A robust SD. For normal data and sit at (see the normal distribution), so , and estimates σ even with a glitch in the data. For the jars that's g, a sane number next to the absurd 130 g.
Look at the order, too. A summary throws away time. A filler that drifts upward through the shift and one that's steady but noisier can have the same mean and SD. Plot readings in time order before trusting any summary; that habit grows into statistical process control.
A common mistake. Once a value is flagged, it's tempting to delete it and move on. Don't delete outliers on sight. A flagged value is a question. A typo gets fixed; a sensor glitch gets documented and excluded; a real event, like a clogged nozzle, may be the most valuable data point you have.
Means and SDs tell the whole story only when the data are close to normal, and the next lesson, probability plots, checks that. Gauge noise from measurement error is part of every SD you compute here.
See it
Worked examples
Ten shafts from a lathe measure 24.98, 25.01, 25.00, 24.99, 25.03, 25.02, 24.97, 25.00, 25.01 and 24.99 mm. Find the mean, standard deviation, range and coefficient of variation.
- 1
Work in hundredths of a millimeter from 25.00 (shifting the data doesn't change the spread): . They sum to 0, so mm.
The twelve jar weights from the top of the lesson, sorted: 50.04, 498.9, 499.2, 499.5, 499.8, 500.1, 500.3, 500.6, 500.7, 500.9, 501.0, 501.2 g. Find the median, the quartiles (median of each half) and the fences. What gets flagged?
- 1
Median: the average of the 6th and 7th values, g.
Practice
Type your answer and check it. Solve them all to complete the lesson.
Line A fills 250 g jars with standard deviation 1.5 g. Line B fills 1,000 g jars with standard deviation 4.0 g. Which line is more consistent relative to the size of what it fills?
Five shafts measure 12.04, 11.98, 12.01, 12.00 and 11.97 mm. Find their sample standard deviation in micrometers.
Every hour an operator weighs 5 consecutive jars off a filler. Over a shift, the average range of these subgroups is g. Estimate the filler's standard deviation ( for subgroups of 5).
The filler's spread from the last problem, g, was measured on a checkweigher whose own repeatability is 0.60 g. What is the jar-to-jar standard deviation of the fills themselves?
Twelve concrete test cylinders break at these strengths, sorted, in MPa: 31.2, 32.5, 33.1, 33.8, 34.4, 34.9, 35.3, 35.8, 36.4, 37.0, 37.9, 39.6. Find the 10th percentile using the interpolation rule, position .
A pressure sensor logs 11 readings (kPa): 101.2, 101.5, 101.3, 101.8, 101.4, 101.6, 104.9, 101.1, 101.5, 101.7, 101.4. Using quartiles from the median of each half (leaving out the overall median), find the upper fence .
The same 11 readings have mean 101.764 kPa and standard deviation 1.0604 kPa. Find the z-score of the reading 104.9, to 2 decimal places. Would a "flag " rule catch it?
For the same readings, kPa. Estimate σ robustly from the IQR, assuming the sensor's normal readings are normally distributed. (For a normal distribution, and sit at .)
The hardest one here. Get it, and you've got this lesson.
In a sample of size , the largest z-score any value can possibly have is , reached when values are equal and one is different. What is the smallest sample size for which a "flag " rule can flag anything at all?
Where it's used
Certificates of analysis that ship with materials report the mean, SD, minimum and maximum of each property; packaging rules in many countries require the average fill to meet the label while limiting how many packages fall below a tolerable shortfall, which is a statement about a mean and a low percentile at once. Monitoring software screens sensor streams with IQR fences and robust SDs, because a single dropout reading would wreck a mean-and-SD rule.