Sub topic 11
Signal Rules: Points Beyond Limits and Runs
This chapter assumes you understand the center line and 3-sigma control limits of a control chart. It also assumes you can distinguish variables data from attribute data. The same signal rules apply to I-MR, X-bar and R, p, and u charts, but the limits may differ from point to point on p and u charts.
Why signal rules matter
A control chart is read in time order. A process can have all points inside its limits and still show a nonrandom pattern. Signal rules help identify evidence that a special cause may be affecting the process.
A signal does not prove that a special cause exists. It tells you when to investigate. Look for a change in material, equipment, operator, method, measurement system, or operating condition. Do not adjust the process merely because one point looks unusual.
| Signal rule | What it suggests | First response |
|---|---|---|
| One point beyond a control limit | An unusual event or process shift | Check the record for that period |
| Eight consecutive points on one side of the center line | A sustained shift in the process level | Search for a change before the run began |
| A repeated trend or cycle | Drifting conditions or a recurring cause | Examine time, maintenance, and operating patterns |
Point beyond a control limit
The most direct signal occurs when a plotted value is greater than the upper control limit or less than the lower control limit. A point exactly on a limit is usually not beyond the limit, although your chosen software may apply a different convention.
Control limits describe expected process behavior when only common-cause variation is present. They are not pass/fail requirements. A point outside a limit can be good from a customer perspective and still signal a process change. A point inside the limits can violate a specification and still fail to produce a control-chart signal.
Runs on one side of the center line
A run is a sequence of consecutive points on the same side of the center line. One common rule flags eight consecutive points all above or all below the center line. The points do not need to move farther from the center line. Their shared direction is the evidence.
For example, eight slightly high measurements can be more informative than one large measurement if they indicate that the process mean has shifted. Points exactly on the center line usually break the run. Document the convention used by your organization and apply it consistently.
Applying rules without creating false alarms
Using many rules increases the chance of a false signal. A false signal occurs when a stable process is flagged by chance. Therefore:
- Define the rules before reviewing the data.
- Use limits calculated from an appropriate baseline.
- Record the rule that caused each signal.
- Investigate signals in context instead of deleting inconvenient points.
- Avoid recalculating limits after every signal. Recalculation can hide a real shift.
The number of signals also depends on how often you sample. Highly frequent measurements create more opportunities for a point to exceed a limit. For autocorrelated data, nearby points are related, so ordinary Shewhart rules may signal too often or too rarely. Check the measurement process before interpreting the pattern.
Implementing two rules in Python
The following code returns zero-based indices for points beyond the limits and for the final point of each run of eight.
import numpy as np
def beyond_limits(x, lcl, ucl):
"""Return indices of points outside the control limits."""
x = np.asarray(x, dtype=float)
return np.where((x < lcl) | (x > ucl))[0].tolist()
def run_of_eight(x, center):
"""Return the final index of each run of eight points on one side."""
x = np.asarray(x, dtype=float)
side = np.sign(x - center)
flagged = []
for i in range(len(side) - 7):
window = side[i:i + 8]
if np.all(window == 1) or np.all(window == -1):
flagged.append(i + 7)
return flagged
values = np.array([10.0, 10.1, 10.0, 10.2, 10.1, 10.0,
10.2, 10.1, 10.3, 10.2])
print("Beyond limits:", beyond_limits(values, 9.5, 10.5))
print("Run endpoints:", run_of_eight(values, 10.0))The run function reports the endpoint, not every point in the run. In production code, you may also record the start and end indices and the chart phase in which the signal occurred.
Exercise
A point is inside both control limits, but it is the ninth consecutive point above the center line. Is this a signal, and what should you do?
Show answer
Yes. It satisfies the run-of-eight rule. Record the signal, inspect changes before the run began, and investigate without automatically changing the limits.