Sub topic 1
Why Processes Vary: Common Causes and Special Causes
Prerequisites
This chapter assumes you can do the following:
- Compute a mean, a range, and a standard deviation for a list of measurements.
- Think of a process as a repeatable activity that turns inputs into an output you can measure. Examples are filling a bottle, answering a support ticket, or machining a shaft.
- Read short Python and NumPy snippets. The code only illustrates the ideas.
You don't need probability beyond the idea that a measurement can be described by a distribution with a center and a spread.
Every process varies
No two outputs of a process are identical. Two bottles from the same filling line differ in volume. Two tickets handled by the same team differ in resolution time. If your instrument is fine enough, you will see the difference.
Variation is not the problem in itself. The problem is deciding what to do about it. Two situations look alike on a data table but call for opposite responses:
- The process is behaving as it always does, and the latest value is just one more draw from its usual spread.
- Something has changed, and the latest value reflects that change.
Walter Shewhart, working at Bell Labs in the 1920s, framed this as a distinction between two kinds of variation. Control charts, the subject of the rest of this tutorial, exist to tell them apart.
Common-cause variation
Common-cause variation is the steady, built-in variation that comes from the many small factors that are always present in a process. It is also called chance-cause or natural variation.
Typical sources are small differences in raw material, normal temperature drift, operator technique within the allowed method, and measurement error. No single source dominates. Each contributes a little, and together they produce a stable, predictable pattern.
Three properties define it:
- It is always there. Every output carries some of it.
- It is stable over time. The center and the spread of the output do not drift.
- It is predictable within limits. You can't say what the next value will be, but you can say roughly what range it will fall in.
A process that shows only common-cause variation is called stable, in statistical control, or predictable. These words describe consistency over time. They don't say the output is good.
Special-cause variation
Special-cause variation comes from a specific, identifiable factor that is not part of the process's usual behavior. It is also called assignable-cause variation.
Examples are a worn tool, a new supplier's batch of material, a miscalibrated gauge, a power outage, a new hire who skipped training, or a software release that changed response times.
Its properties are the opposite of common-cause variation:
- It is intermittent or arrives as a change. It may appear as a single spike, a step shift, a gradual trend, or a cycle.
- It makes the process unpredictable. The distribution of the output is no longer the same from one period to the next.
- It can usually be traced. Someone can ask "what was different?" and find an answer.
A process that shows special-cause variation is called unstable or out of control. As with "stable", the label says nothing about quality. A process can be stably terrible, producing 30% defects every week, or unstable but still inside specifications.
Why the distinction decides the action
The two kinds of variation have different remedies. The table summarizes the contrast.
| Aspect | Common cause | Special cause |
|---|---|---|
| Source | Many small, permanent factors | A specific, identifiable factor |
| Pattern over time | Random scatter around a stable center | Spikes, shifts, trends, or cycles |
| Predictability | Predictable within limits | Unpredictable |
| Who can fix it | Management, through changing the process design | Often the people close to the process, by finding and removing the cause |
| Right response | Improve the system with a structured project | Investigate the specific event |
| Wrong response | Chasing each point as if it had a unique cause | Averaging it away or ignoring it |
Management here means whoever owns the process design. Deming estimated that most variation belongs to the system and not to individual workers, which is one reason common-cause problems can't be fixed by exhorting people to do better.
Special causes should be chased one at a time. Common causes should not be, because there is no single cause to find. Reducing common-cause variation means changing the process itself, for example a better fixture, tighter material specifications, or a redesigned workflow.
Two ways to get it wrong
Because the two types need different responses, confusing them produces two classic mistakes.
Mistake 1: treating common cause as special cause. A value is a bit higher than the last one, so someone launches an investigation or adjusts a machine. Nothing specific caused it, so the investigation finds a plausible story that isn't real. Worse, adjusting the process after every deviation adds variation. This is called tampering or overcontrol.
Mistake 2: treating special cause as common cause. A real shift occurs, but it is dismissed as "normal noise" or averaged into a monthly figure. The cause continues unaddressed, and the process produces more bad output than necessary.
You can't eliminate both mistakes. Any rule that reacts to fewer false alarms will miss some real changes, and the reverse also holds. Shewhart's control limits are an economic compromise. They are placed so that false alarms are rare, about 3 in 1,000 points for a normal, stable process, while large shifts are still caught quickly.
Seeing tampering in numbers
The following simulation compares two ways of running the same stable process. In both cases the output is the target plus random noise with standard deviation 0.2. In the first, the operator leaves the process alone. In the second, the operator adjusts the setting after every item to cancel the last deviation from target. This is Deming's funnel experiment, "rule 2".
import numpy as np
rng = np.random.default_rng(42)
target, sigma, n = 10.0, 0.2, 10_000
noise = rng.normal(0.0, sigma, n)
# Leave the process alone: output = target + noise
left_alone = target + noise
# Tamper: after each item, shift the setting by minus the last deviation from target
tampered = np.empty(n)
adjustment = 0.0
for t in range(n):
tampered[t] = target + adjustment + noise[t]
adjustment -= tampered[t] - target
print("left alone: mean %.3f, sd %.3f" % (left_alone.mean(), left_alone.std(ddof=1)))
print("tampered: mean %.3f, sd %.3f" % (tampered.mean(), tampered.std(ddof=1)))
print("sd ratio: %.2f (theory: sqrt(2) = %.2f)" % (
tampered.std(ddof=1) / left_alone.std(ddof=1), np.sqrt(2)))Each tampered output equals the target plus the current noise minus the previous noise. Two independent noise terms add in variance, so the standard deviation grows by a factor of about 1.41. The operator's effort made the process roughly 41% more variable, while believing they were correcting it.
Now compare this with a real special cause. The next snippet adds a step shift of 0.5 at point 50 to otherwise stable data.
import numpy as np
rng = np.random.default_rng(7)
x = 10.0 + rng.normal(0.0, 0.2, 100)
x[50:] += 0.5 # special cause: a step shift starting at index 50
print("mean before shift: %.3f" % x[:50].mean())
print("mean after shift: %.3f" % x[50:].mean())The means differ by about the size of the shift. A table of numbers can show this only if you split the data at the right place, and you must already suspect where the change occurred. A control chart does this continuously, as each point arrives.
How the idea leads to a control chart
A stable process generates data from a roughly fixed distribution. Using only the data from such a period, you can estimate where the values are centered and how widely they spread. If a new point falls far outside that spread, or the points form an unlikely pattern, then the assumption "same distribution as before" becomes hard to believe. That is the signal for a special cause.
The workflow is the same for every chart in this tutorial:
- Plot measurements in time order.
- Estimate the center and the common-cause spread from a stable stretch of data.
- Draw limits around the center that mark how far common-cause variation normally reaches.
- Treat points and patterns outside what common causes would produce as special-cause signals.
- Investigate signals one by one, and work separately on the system if the process is stable but unsatisfactory.
Edge cases and limits of the distinction
- The line is statistical, not absolute. Stable-looking data may still hide a small special cause that is too weak to detect with the amount of data you have. Absence of a signal is not proof of stability.
- Stable does not mean capable. A stable process can still produce output that fails requirements. Chapter 3 returns to this when it separates control limits from specification limits.
- Special causes can be good. A signal showing a sudden improvement deserves investigation too, so you can make the improvement permanent.
- Some "special" causes become routine. If a supplier change happens every month, the monthly step is part of how the process actually operates. You can either treat it as a common cause and redesign around it, or remove it. Pretending it is a surprise each time wastes effort.
- The classification depends on how you collect data. Variation between shifts looks like noise if you mix all shifts into one sample, and like a signal if you sample by shift. Chapter 5 covers how sampling choices affect this.
- Time order matters. Common-cause and special-cause patterns show up in sequence. A histogram of the same values hides shifts and trends, which is why control charts always plot data over time.
Summary
- Every process varies. The useful question is whether the variation is what the process normally produces.
- Common-cause variation is stable, built into the system, and predictable within limits. Reducing it takes changes to the process design.
- Special-cause variation comes from specific, identifiable events and makes the process unpredictable. The response is to investigate and remove, or deliberately adopt, the cause.
- Mixing up the two leads to tampering, which raises variation, or to ignored real changes.
- Control charts apply this distinction using limits set from the process's own stable behavior.
Exercise
A filling machine's output fluctuates between 498 g and 504 g, with no pattern, for months. A manager sees a 504 g reading and asks the operator to lower the machine setting by 4 g right away. Classify the cause of that reading, name the manager's mistake, and predict what happens to the spread of the output if this is done after every reading that is off target.
Show answer
The 504 g reading is within the usual range of a stable process, so it is a common-cause fluctuation. The manager is treating common cause as special cause (tampering or overcontrol). Adjusting after every deviation adds the previous deviation to each new output, so the variance roughly doubles and the standard deviation grows by about a factor of 1.41, as in the rule-2 funnel simulation.
Exercise
For each situation, decide whether it is most likely common-cause or special-cause variation, and say what the appropriate response is. (a) Delivery times vary by a few minutes from day to day around a steady average. (b) Delivery times jump by 20 minutes starting Monday, the day a new routing software was installed. (c) A stable process makes 6% defective units every week, and the customer wants under 1%.
Show answer
(a) Common cause. No investigation of individual days; leave it alone unless average performance is unacceptable. (b) Special cause, a step shift tied to a specific event. Investigate the software change and fix or revert it. (c) Common cause, since the process is stable at 6%. Chasing individual weeks won't help; the system must be redesigned to lower the defect rate.