Sub topic 6
The Normal Distribution as a Working Model
This chapter assumes you can compute a mean and a sample standard deviation, and that you know what a histogram shows. It builds on the previous chapter, where the standard deviation measured spread. Here you will use a model of the shape of that spread to turn standard deviations into probabilities.
Why a model of shape is needed
A mean and a standard deviation describe the center and width of your data. They do not say how the values are distributed within that width. Two processes can share the same mean and standard deviation and still produce very different numbers of extreme outputs.
To answer a question like "what fraction of shafts will be out of specification?", you need an assumption about shape. The normal distribution is the most common choice. It is a symmetric, bell-shaped curve fully defined by two numbers: the mean (μ) and the standard deviation (σ).
The word "model" matters. No real process is exactly normal. The normal distribution is a simplification that is useful when it fits well enough, and misleading when it does not. Much of this chapter is about telling those cases apart.
Properties that make it useful
The normal curve has a few properties that you will use repeatedly.
- It is symmetric around the mean. The mean, median and mode coincide.
- Values near the mean are most likely, and likelihood falls off smoothly in both directions.
- The curve never reaches zero. Any value is possible, but extreme values are very improbable.
- Once μ and σ are known, the share of output in any range is fixed. Nothing else needs to be estimated.
The last property is the practical payoff. Every normal distribution is the same curve, stretched and shifted. If you express a value as the number of standard deviations from the mean, the specific units no longer matter.
The z-score
The z-score of a value x is:
z = (x − μ) / σ
It tells you how many standard deviations x lies from the mean. A shaft of 10.06 mm from a process with μ = 10.00 and σ = 0.03 has z = 2. A z-score of 0 means the value sits exactly at the mean, and a negative z means it lies below the mean.
Z-scores let one table, or one function, serve every normal process. This is the reason sigma levels, covered later in this tutorial, can be compared across processes that measure completely different things.
The 68-95-99.7 rule
For a normal distribution, the share of output within k standard deviations of the mean is fixed:
| Range | Share inside | Share outside (both tails), per million |
|---|---|---|
| μ ± 1σ | 68.27% | 317,311 |
| μ ± 2σ | 95.45% | 45,500 |
| μ ± 3σ | 99.73% | 2,700 |
| μ ± 4σ | 99.9937% | 63.3 |
| μ ± 5σ | 99.99994% | 0.57 |
| μ ± 6σ | 99.9999998% | 0.002 |
The "outside" column falls very fast. Moving from 3σ to 4σ cuts the outside share by a factor of about 40. This steepness is why Six Sigma pushes spread down: a modest reduction in σ, relative to the specification, produces a large reduction in defects.
You can reproduce these numbers with Python's standard library. NormalDist.cdf(z) returns the probability of a value falling below z standard deviations from the mean.
from statistics import NormalDist
nd = NormalDist() # standard normal: mean 0, sigma 1
for k in range(1, 7):
inside = nd.cdf(k) - nd.cdf(-k)
outside_ppm = (1 - inside) * 1_000_000
print(f"±{k} sigma: inside = {inside:.8f}, outside = {outside_ppm:.3f} per million")At 6σ the "inside" figure is so close to 1 that you need many decimal places to see the difference. The outside column is easier to read.
Using the model on a real process
Take the shaft data from earlier in this tutorial. The sample mean is 10.005 mm and the sample standard deviation is about 0.0303 mm. The specification is 9.85 to 10.15 mm. If you assume the process is normal, you can estimate the fraction of output beyond each limit.
from statistics import NormalDist, mean, stdev
measurements = [10.02, 9.98, 10.05, 9.97, 10.01, 10.03, 9.99, 10.00, 10.04, 9.96]
lsl, usl = 9.85, 10.15
m, s = mean(measurements), stdev(measurements)
model = NormalDist(mu=m, sigma=s)
below_lsl = model.cdf(lsl) # probability of a value under the lower limit
above_usl = 1 - model.cdf(usl) # probability of a value over the upper limit
total = below_lsl + above_usl
print(f"z at LSL: {(lsl - m) / s:.2f}")
print(f"z at USL: {(usl - m) / s:.2f}")
print(f"expected defects: {total * 1_000_000:.2f} per million")The lower limit sits about 5.1 standard deviations below the mean and the upper limit about 4.8 above it, so the model predicts roughly one defect per million parts.
That prediction deserves caution. You have only ten measurements, and none of them is anywhere near a specification limit. The model is extrapolating far into the tails, where you have no data to confirm it. The estimate is only as good as the assumption that the real tails look like normal tails.
When the model fits and when it does not
The normal model works well when many small, independent influences add together. Machine vibration, small material differences, operator touch and temperature drift often combine this way, which is why many dimensional measurements look roughly bell-shaped.
It works poorly in several common situations:
- Natural boundaries. Quantities that cannot go below zero, such as time to complete a task, wait times, or particle counts, are usually right-skewed. The mean sits above the median and the long tail points toward large values.
- Mixed populations. Pooling output from two machines, shifts or suppliers can produce a distribution with two peaks, or a flat top.
- Special causes present. A process with drift, jumps or outliers is not following one stable distribution. Any σ estimate then describes a blend of conditions.
- Truncated data. If parts outside the specification are sorted out before measurement, the data show a clipped shape with no tails at all.
- Coarse measurement. If the gauge resolution is too large relative to σ, values pile up on a few discrete readings and the data cannot look smooth.
The skewed case is easy to demonstrate. The code below compares how much data falls within 1, 2 and 3 standard deviations of the mean for a normal sample and for an exponential sample, a standard example of a right-skewed distribution.
import random
from statistics import mean, stdev
def share_within(data, k):
m, s = mean(data), stdev(data)
return sum(abs(x - m) <= k * s for x in data) / len(data)
random.seed(1)
normal = [random.gauss(10, 0.03) for _ in range(100_000)]
skewed = [random.expovariate(1.0) for _ in range(100_000)]
print("k normal skewed")
for k in (1, 2, 3):
print(k, round(share_within(normal, k), 3), round(share_within(skewed, k), 3))The normal column comes out near 0.683, 0.954 and 0.997. The skewed column comes out near 0.865, 0.950 and 0.982. The skewed data has about 1.8% of values beyond 3σ, compared with 0.27% for the normal case. If you applied the normal table to this process, you would underestimate its extreme outputs by roughly a factor of seven.
Checking the assumption
No single check proves normality, so combine a few:
- Plot a histogram. Look for symmetry, a single peak and tails that thin out on both sides.
- Use a normal probability plot. Points from a normal sample fall close to a straight line. Curvature at the ends points to heavy or light tails, and an S shape points to skew.
- Run a formal test, such as Anderson-Darling or Shapiro-Wilk, if your tools provide one. With large samples, these tests flag tiny departures that do not matter in practice. With small samples, they miss large ones. Use them to support the plots, not replace them.
- Check stability first. Normality only makes sense for a process in statistical control. Use a control chart before you fit any distribution.
What the model buys you, and its limits
With a defensible normal model you can:
- convert any distance from the mean into a probability using the z-score,
- estimate the fraction out of specification without waiting for defects to occur,
- compare processes with different units on one scale, and
- connect spread to capability indices and sigma levels in the chapters that follow.
Its limits are equally important:
- Tail estimates are the least reliable part of any fitted model, and they are the part Six Sigma cares about most.
- Estimates of μ and σ come from a sample, so they carry sampling error that propagates into every probability you compute.
- The model describes a stable process. If the process shifts over time, a single normal curve will not describe the long-run output.
The last point leads directly to the 1.5 sigma shift convention, which this tutorial treats later. For now, keep the principle: the normal distribution is a tool for turning measured spread into expected defect rates, and its answers are only as trustworthy as the checks you made on its assumptions.
Exercise
A filling process is stable and approximately normal, with mean 50.0 g and standard deviation 2.0 g. The upper specification limit is 55.0 g. What is the z-score of the limit, and about what percentage of containers will exceed it? Use NormalDist().cdf(2.5) ≈ 0.99379.
Show answer
z = (55.0 − 50.0) / 2.0 = 2.5. The share above the limit is 1 − 0.99379 ≈ 0.0062, so about 0.62% of containers, or roughly 6,200 per million, will exceed 55.0 g.
Exercise
A team measures how long each customer waits on a support line. The values are all positive and the histogram has a long tail to the right. They compute the mean and standard deviation, then use the normal table to predict the share of waits longer than the mean plus 3 standard deviations. Why is the result likely to be wrong, and which direction is the error?
Show answer
The data are right-skewed because waiting time cannot go below zero, so the normal assumption of symmetric tails does not hold. Skewed data has a heavier upper tail than the normal curve, so the true share of very long waits is larger than the 0.13% (one tail beyond +3σ) the normal table predicts. The model understates the risk of long waits.