Skip to content

X-bar and R versus I-MR

SPC Prism picks the chart from the subgroup size: X-bar and R when several readings are taken together, individuals and moving range when one is.

Updated

Good for: X-bar and R suits subgroups of 2 to 25 readings taken close together. I-MR suits one reading at a time: slow processes, batch results, destructive tests.

Misleads when: the readings in one subgroup come from different cavities, spindles or gauges (the X-bar limits come out too narrow or too wide), or single readings are far from bell-shaped (I-MR limits assume roughly normal data).

How SPC Prism chooses #

The subgroup size comes from the check in Plex: how many readings make up one sample.

Subgroup sizeChart
1I-MR: individuals and moving range
2 to 25X-bar and R: subgroup averages and ranges

Only complete subgroups are charted. A subgroup with fewer readings than its size is left out and counted, so the chart says how many were skipped.

X-bar and R #

The upper chart plots each subgroup's average (X-bar), the lower chart its range (largest reading minus smallest).

  • Centre line: the average of the averages, X-double-bar.
  • Control limits: X-double-bar plus or minus A2 × R-bar, where R-bar is the average range.
  • Range chart: centre line R-bar, upper limit D4 × R-bar, lower limit D3 × R-bar, which is 0 below a subgroup size of 7.

Worked example. A bore is checked five times an hour (subgroup size 5). Over the baseline the average of the averages is 25.000 mm and the average range is 0.093 mm. For subgroups of 5, A2 = 0.577 and D4 = 2.114, so:

  • UCL = 25.000 + 0.577 × 0.093 = 25.054 mm
  • LCL = 25.000 − 0.577 × 0.093 = 24.946 mm
  • Range chart UCL = 2.114 × 0.093 = 0.197 mm, LCL = 0

The within-subgroup sigma, used for Cp and Cpk, is R-bar / d2 = 0.093 / 2.326 = 0.040 mm.

Individuals and moving range #

The upper chart plots each reading; the lower chart plots the moving range, the absolute difference between each reading and the one before (so the first reading has none).

  • Control limits: the average plus or minus 2.66 × the average moving range.
  • Moving range chart: upper limit 3.267 × the average moving range, lower limit 0.
  • Within sigma: the average moving range / 1.128.

The worked example in Control charts in ten minutes is an I-MR chart: average moving range 0.375, so the moving range chart's upper limit is 3.267 × 0.375 = 1.23.

The constants #

These come from the AIAG SPC manual, the same table Plex's charts use, for subgroup sizes 2 to 25. The first rows:

Subgroup sizeA2D3D4d2
21.88003.2671.128
31.02302.5741.693
40.72902.2822.059
50.57702.1142.326
60.48302.0042.534
70.4190.0761.9242.704
80.3730.1361.8642.847
100.3080.2231.7773.078

Which rules apply to which chart #

The rule set you choose (Nelson, Western Electric or Plex) is applied to the upper chart. The lower chart has one test, R1: a range beyond its control limit.

Was this helpful?
Thank you. It helps us write better articles.