GARETH GRANTTECHNOLOGY · DATA · INNOVATION
Explore

37 / Quality & reliability

Individuals and moving-range control charts

An I–MR chart monitors time-ordered continuous measurements collected one at a time. It separates investigation of unusual behaviour from routine adjustment of a stable process, which helps managers avoid both missed shifts and unnecessary tampering.

IntermediateLive exploration + Python

The business question

Has a process changed beyond its usual short-term variation?

  • Monitor fill volumes, turnaround times or calibration check readings when rational subgroups are unavailable.
  • Choose when to investigate a change in the work before accepting more output from the process.

How the method works

The individuals chart places each observation against a historical centre and estimated natural spread. Consecutive absolute differences form the moving-range chart. For normally distributed independent observations, dividing the average two-observation moving range by 1.128 estimates the underlying short-term standard deviation. The two charts answer related questions about level and short-term movement.

First establish a Phase I baseline from a meaningful operating period. Annotate maintenance, product changes and known disturbances, investigate credible special causes, and decide which operating condition the baseline represents. The illustrative twenty readings below are deliberately small for calculation; a production baseline needs enough observations to assess stability and estimate limits reliably.

For Phase II monitoring, freeze the justified baseline limits and compare new observations with them. A point outside a three-sigma limit is an investigation signal, not proof of a defect or its cause. If using runs rules, define them beforehand: adding rules changes the false-alarm behaviour. Rebaseline after a verified process change, rather than continually adapting the limits to conceal it.

The calculation

MR_i = |x_i − x_(i−1)|; sigma_hat = mean(MR)/1.128; I limits = mean(x) ± 3 sigma_hat; MR UCL = 3.267 mean(MR), LCL = 0.
Read the symbols
SymbolMeaning
x_iThe i-th time-ordered reading in the selected operating condition.
MR_iAbsolute change from the previous reading.
sigma_hatAn estimate of short-term process standard deviation, not a specification tolerance.

A worked business example

ILLUSTRATIVE SCENARIO

Illustrative bottling line: twenty baseline fills are used to demonstrate a fixed-limit monitor.

Inputs

  • Fills in ml: 500, 501, 499, 500, 502, 501, 500, 499, 501, 500, 500, 501, 499, 500, 501, 502, 500, 499, 500, 501.
  • New fill: 505 ml.

Work through the numbers

  1. The twenty-reading mean is 500.300 ml.
  2. The nineteen absolute successive differences average 1.210526 ml.
  3. Estimated sigma = 1.210526 / 1.128 = 1.073162 ml.
  4. I limits = 500.300 ± 3 × 1.073162 = 497.080515 to 503.519485 ml.
  5. The MR upper limit is 3.267 × 1.210526 = 3.954789 ml. The new 505 ml fill exceeds the I upper limit.
A 505 ml reading generates an individuals-chart investigation signal against this baseline.

Check the event log, gauge and operating conditions. Do not automatically discard the bottle or alter the filler: acceptance still depends on separate product specifications.

Explore the decision

Monitor a process against a fixed baseline. The live explorer has its own example inputs; it is separate from the worked calculation above.

Enable JavaScript to use this calculator. The worked example and executable Python remain available.

Apply it at work

  1. Define the process, units, sampling interval and measurement method before collecting the baseline.
  2. Plot readings in time order and investigate known changes before fixing Phase I limits.
  3. Freeze the justified limits and record Phase II observations, context and predefined signal rules.
  4. Investigate signals, document causes and verify any correction before deciding whether a new baseline is warranted.

Check these assumptions

  • Readings represent a sufficiently consistent operating condition and reliable measurement system.
  • Successive observations are approximately independent; strong serial correlation changes the signal behaviour.
  • Normal-based three-sigma limits are reasonable for the measured distribution.
  • The sampling frequency can detect changes relevant to delivery or quality before damage accumulates.

Common mistakes and how to avoid them

  • Control limits describe process behaviour; they do not replace customer specification limits.
  • A short or contaminated baseline can give misleading limits even when the arithmetic is correct.
  • Adjusting the process after every ordinary fluctuation can increase variation rather than improve it.

How this can help the business

  • An agreed signal-and-response rule can focus technical attention on changes worth investigating instead of constant readjustment.
  • Pairing the monitor with timestamps and downtime records helps connect unusual performance with a testable operational cause.
A decision rule to adapt

Investigate a predefined chart signal, verify its cause and assess product risk separately; accept a revised baseline only after a justified change is stable.

When to use another approach

Use X-bar/R or X-bar/S charts for meaningful repeated subgroups; consider distribution-specific charts or time-series residuals when independence or shape assumptions fail.

Reproduce the worked example in Python

The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.

Show executable code and recorded output
import numpy as np
x = np.array([500,501,499,500,502,501,500,499,501,500,500,501,499,500,501,502,500,499,500,501])
mean_fill = x.mean()
mean_range = np.abs(np.diff(x)).mean()
sigma = mean_range / 1.128
lower = mean_fill - 3 * sigma
upper = mean_fill + 3 * sigma
print("Baseline mean:", round(mean_fill, 3), "ml")
print("I limits:", round(lower, 3), round(upper, 3), "ml")
print("MR upper limit:", round(3.267 * mean_range, 3), "ml")
print("New reading signals:", 505 < lower or 505 > upper)

Recorded output

Baseline mean: 500.3 ml
I limits: 497.081 503.519 ml
MR upper limit: 3.955 ml
New reading signals: True
Download all worked examples

Sources and further reading

Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.