Sub topic 5
Measuring Spread: Mean and Standard Deviation
Prerequisites and purpose
This chapter assumes basic arithmetic, percentages, the idea of a distribution, and a general understanding of business or manufacturing processes. You will use the mean and standard deviation to describe where process results center and how much they vary.
A process is a connected set of activities that turns inputs into outputs. For example, a machining process uses a machine, material, tools, settings, and people to produce shafts. Even when the process follows the same instructions, its outputs will not be identical. Measuring that difference helps you decide whether variation is small, large, stable, or worth investigating.
The mean locates the center
The mean, often called the average, is the sum of all measurements divided by the number of measurements.
Mean = sum of measurements / number of measurements
Suppose ten shaft diameters are measured in millimeters:
10.02, 9.98, 10.05, 9.97, 10.01, 10.03, 9.99, 10.00, 10.04, 9.96
The mean is 10.005 mm. It gives a useful estimate of the process center, but it does not describe how far individual shafts are from that center.
The mean can also be pulled toward an unusual value. If one measurement is recorded incorrectly as 12.00 mm, the mean increases even though the actual process may not have changed. Check unusual observations before deciding whether they are errors, valid rare results, or evidence of a special cause.
Standard deviation measures spread
Standard deviation describes the typical distance between individual measurements and the mean. A small standard deviation means that results cluster closely around the center. A large standard deviation means that results are more dispersed.
For a sample, the calculation uses n - 1 in the denominator rather than n. This is called the sample standard deviation. It estimates the spread of the wider process from a limited set of observations.
Standard deviation has the same unit as the data. If diameters are measured in millimeters, the standard deviation is also in millimeters. This makes it easier to compare the spread with engineering or customer requirements.
from statistics import mean, stdev
# Shaft diameters in mm from one production run
measurements = [10.02, 9.98, 10.05, 9.97, 10.01, 10.03, 9.99, 10.00, 10.04, 9.96]
print("mean:", mean(measurements))
print("sample standard deviation:", stdev(measurements))The standard deviation is a summary, not a diagnosis. It does not identify whether variation comes from the machine, material, method, measurement system, or environment.
Reading the two measures together
| Measure | What it describes | Common question |
|---|---|---|
| Mean | The center of the observed results | Is the process located near its target? |
| Standard deviation | The spread around that center | Are the results consistent? |
| Both together | Location and consistency | Can the process meet requirements reliably? |
A process can have a good mean but excessive spread. It can also have low spread but a mean that is consistently too high or too low. Six Sigma examines both conditions because either one can create defects.
A working model for normal data
When measurements follow an approximately normal distribution, values tend to cluster around the mean:
- About 68% fall within 1 standard deviation of the mean.
- About 95% fall within 2 standard deviations.
- About 99.7% fall within 3 standard deviations.
These percentages are a model, not a rule that every process must follow. Skewed data, multiple process populations, outliers, or small samples can make the normal model unsuitable. Plot the data or use process knowledge before relying on it.
Common errors
- Using the mean alone and ignoring spread.
- Calling a sample standard deviation the exact spread of the entire process.
- Mixing measurements from different machines, shifts, products, or operating conditions.
- Rounding measurements too early.
- Treating a normal-distribution rule as proof that the data are normal.
- Assuming a large standard deviation identifies the cause of variation.
Exercise
A sample has a mean of 50 seconds and a standard deviation of 2 seconds. What does the standard deviation communicate, and what important question does it not answer?
Show answer
It indicates how widely individual times typically spread around 50 seconds. It does not identify the cause of that spread or show whether the process meets customer requirements.