Sub topic 12
Setting baseline limits and monitoring going forward
Assume you know how to calculate means, ranges, and standard deviations, and that you can choose among I-MR, X-bar and R, p, and u charts. This chapter shows how to move from a historical data set to ongoing process monitoring.
Phase I: establish a baseline
A baseline is a period of data used to estimate how a process behaves when it is operating normally. In statistical process control, this is often called Phase I. The goal is to estimate the center line and control limits, then check whether the baseline itself contains unusual signals.
Use data collected under the same process conditions whenever possible. Record the time order, measurement method, operator or machine, and important changes. For subgrouped data, keep the subgroup definition consistent. For a p or u chart, record the sample size or number of units inspected for every period.
A practical baseline should contain enough observations to show ordinary process variation. Many teams begin with about 20 to 25 subgroups, then collect more when the process is highly variable or the consequences of a missed signal are serious.
Investigate signals before finalizing limits
Calculate provisional limits using the baseline data. Then inspect the chart for evidence of special-cause variation, such as:
- A point outside a control limit
- A long run of points on one side of the center line
- A steady trend
- A sudden change in spread
- A pattern connected to a shift, machine, supplier, or measurement problem
A signal is a reason to investigate, not automatic proof that the process is defective. Look for a physical or procedural explanation. If an assignable cause is confirmed and the event will not recur under the intended process, document it and recalculate the baseline without that event. If the cause is part of the process, keep the data and improve the process instead.
Phase II: monitor new data
After the baseline is accepted, freeze its center line and limits. Phase II is the ongoing monitoring period. Add new observations to the chart, but do not automatically recompute the limits after every observation. Recomputing can hide a gradual process change by allowing the limits to move with the process.
| Chart type | Baseline quantities | Monitoring detail |
|---|---|---|
| I-MR | Individual values and moving ranges | One value per time period |
| X-bar and R | Subgroup means and ranges | Keep subgroup size and definition stable |
| p | Defectives and total inspected | Limits change with sample size |
| u | Defects and units inspected | Limits change with units inspected |
For p and u charts, the center line can remain fixed while the control limits vary by period because the sample size varies. A larger sample usually gives narrower limits. Use the appropriate sample size for each new period.
The following example establishes fixed I-MR limits from baseline observations and checks new observations against them.
import numpy as np
baseline = np.array([10.2, 9.8, 10.1, 10.4, 9.9, 10.0, 10.3, 9.7, 10.1, 10.2])
new_values = np.array([10.0, 10.1, 10.2, 10.8, 10.1])
moving_ranges = np.abs(np.diff(baseline))
center = baseline.mean()
average_mr = moving_ranges.mean()
# For an I chart with moving ranges of two observations.
ucl = center + 2.66 * average_mr
lcl = center - 2.66 * average_mr
signals = np.where((new_values > ucl) | (new_values < lcl))[0]
print(f"Center line: {center:.3f}")
print(f"Limits: {lcl:.3f} to {ucl:.3f}")
print("Out-of-limit new observations:", signals.tolist())This check identifies points beyond the limits. In production, also apply the run rules selected by your organization. When a signal occurs, preserve the time order and investigate what changed before taking corrective action.
A monitoring cycle
Review the limits when the process design, measurement system, product, or operating conditions change. A planned process change may require a new baseline rather than a silent adjustment to the old one.
Exercise
A new point falls above a frozen control limit. Should you immediately recalculate the limits using the new point?
Show answer
No. Investigate the point as a possible special cause first. Keep the frozen limits while deciding whether the event is assignable and nonrecurring.