Sub topic 7
I-MR Charts: One Measurement at a Time
Assume you know how to calculate a mean, a range, and a standard deviation. Basic process terminology is also assumed. This chapter uses Python and NumPy for the example, but the calculations can be done in a spreadsheet.
An I-MR chart is a pair of control charts for processes that produce one useful measurement at a time. The I chart tracks the individual measurements. The MR chart tracks short-term changes between consecutive measurements.
Use an I-MR chart when:
- You collect one measurement per time period.
- Subgroups are unavailable or would be impractical.
- The measurements have a meaningful time order.
- The process is expected to produce roughly independent observations.
Examples include the temperature of one batch, the time to complete one service request, or the thickness of one manufactured part.
Calculating the I chart
Let the ordered measurements be x1, x2, through xn. The I chart center line is the average measurement:
x-bar = average of all x values
The moving range for each pair after the first measurement is:
MRi = absolute value of xi minus xi-1
The average moving range is:
MR-bar = average of all moving ranges
For a moving range of two observations, estimate the process standard deviation with:
s = MR-bar / d2
where d2 is 1.128. Substituting this estimate into three-sigma limits gives the common constant 2.66:
- I-chart center line: x-bar
- I-chart upper control limit: x-bar + 2.66 × MR-bar
- I-chart lower control limit: x-bar - 2.66 × MR-bar
These limits describe the expected range of individual measurements when only common-cause variation is present.
Calculating the MR chart
The MR chart uses each moving range as its plotted value. Its center line is MR-bar. For a range based on two observations, the usual limits are:
- MR-chart center line: MR-bar
- MR-chart upper control limit: 3.267 × MR-bar
- MR-chart lower control limit: 0
The lower limit is zero because a moving range cannot be negative. The first individual measurement has no moving range, so it is omitted from the MR chart.
import numpy as np
x = np.array([10.2, 9.8, 10.1, 10.4, 9.9,
10.0, 10.3, 9.7, 10.1, 10.2])
mr = np.abs(np.diff(x))
x_bar = x.mean()
mr_bar = mr.mean()
x_ucl = x_bar + 2.66 * mr_bar
x_lcl = x_bar - 2.66 * mr_bar
mr_ucl = 3.267 * mr_bar
print("I chart:", x_lcl, x_bar, x_ucl)
print("MR chart:", 0.0, mr_bar, mr_ucl)Interpreting the two charts
Read the charts in time order. A point beyond an I-chart limit indicates an unusual process level. A point beyond an MR-chart upper limit indicates an unusually large change from the previous observation.
The charts answer different questions:
| Chart | Plotted value | Main question |
|---|---|---|
| I chart | Individual measurement | Is the process level unusual? |
| MR chart | Consecutive absolute difference | Is the short-term change unusual? |
An MR signal deserves attention even when both related individual measurements remain inside the I-chart limits. A sudden jump can indicate a measurement problem, a change in material, or an operating adjustment.
Do not calculate limits from a period that already contains known special causes. First examine a historical baseline, investigate signals, and recalculate only when justified. Then freeze the baseline limits and compare future measurements against them.
Common errors
- Sorting measurements before calculating moving ranges. This destroys the time sequence.
- Including a fabricated moving range for the first observation.
- Treating every up-and-down movement as a special cause.
- Recalculating limits after every unusual point without investigating it.
- Ignoring autocorrelation. If one measurement depends strongly on the previous one, the moving ranges may be misleading and the I-MR assumptions may not hold.
- Using an I-MR chart when natural subgroups of several observations are available. An X-bar and R chart may estimate within-process variation more effectively in that situation.
Exercise
Measurements are 20, 21, 19, and 30, and the I-chart upper limit is 28. Which chart should you inspect first for evidence about the jump to 30?
Show answer
Inspect the I chart first because 30 is beyond its upper control limit. Then inspect the MR chart for the moving range between 19 and 30, which may also signal an unusually large short-term change.