GARETH GRANTTECHNOLOGY · DATA · INNOVATION
Explore

40 / Quality & reliability

Measurement systems and crossed Gage R&R

A measurement study separates repeatability from operator-related reproducibility and part variation. It helps a business decide whether a reported process difference is measurable before investing in production changes or rejecting acceptable work.

AdvancedFitted example + Python

The business question

Are changes in the measurements coming from the product or the measurement system?

  • Check a gauge used for acceptance decisions before interpreting small differences between products or shifts.
  • Identify whether training, fixturing, resolution or equipment improvement should be investigated first.

How the method works

In a balanced crossed study, every selected operator measures every selected part several times. Randomising the order and concealing previous readings reduces recall and drift effects. Repeated measurements within a part–operator combination estimate repeatability; consistent operator differences and part-specific operator differences address reproducibility. Representative parts should span the process range relevant to the decision.

A two-way random-effects ANOVA decomposes variation into part, operator, their interaction and residual error. Mean-square differences estimate variance components; the illustrative method-of-moments calculation truncates negative variance estimates to zero and retains the interaction model. Measurement-system standard deviation combines repeatability, operator and interaction components. This is more informative than pooling all readings into one unexplained standard deviation.

Percent study variation compares the measurement-system standard deviation with total study standard deviation. Percent contribution instead compares variances; these are different numbers. A tolerance-based comparison uses six measurement standard deviations divided by specification width. None of these detects all calibration bias, drift, resolution or linearity problems. A small teaching study is not a full acceptance certificate: uncertainty and the actual consequences of misclassification still need assessment.

The calculation

var_repeat = MS_E; var_interaction = max[(MS_PO−MS_E)/r,0]; var_operator = max[(MS_O−MS_PO)/(p r),0]; var_part = max[(MS_P−MS_PO)/(o r),0]; sigma_GRR = sqrt(var_repeat+var_interaction+var_operator).
Read the symbols
SymbolMeaning
p, o, rNumbers of parts, operators and repeated readings per part–operator cell.
MS_E, MS_PO, MS_O, MS_PResidual, interaction, operator and part ANOVA mean squares.
Percent study variation100 × sigma_GRR / sqrt(var_part+sigma_GRR²); not the variance percentage.

A worked business example

ILLUSTRATIVE SCENARIO

Illustrative dimensional gauge: five parts, two operators and three repeated measurements form a deliberately small balanced demonstration.

Inputs

  • Part values: 9.7, 9.9, 10.1, 10.3 and 10.5 mm.
  • Operator offsets: −0.02 and +0.02 mm. Each cell has repeat offsets −0.01, 0 and +0.01 mm.
  • Tolerance width for the separate tolerance comparison: 2 mm.

Work through the numbers

  1. Residual mean square is 0.0001 mm²; the constructed interaction mean square is essentially zero.
  2. Operator variance component is 0.0008 mm²; part variance is 0.1000 mm². Negative interaction estimate is truncated to zero.
  3. Combined measurement variance = 0.0001 + 0.0008 + 0 = 0.0009 mm²; sigma_GRR = 0.0300 mm.
  4. Total study sigma = sqrt(0.1000 + 0.0009) = 0.3176476 mm.
  5. Percent study variation = 100 × 0.03 / 0.3176476 = 9.4444%; tolerance ratio = 100 × 6 × 0.03 / 2 = 9.0%.
The constructed example separates a 0.03 mm measurement standard deviation from much larger selected-part variation.

The percentages describe this design and selected range. They do not establish absence of bias or justify a universal pass/fail threshold.

Run and inspect the fitted example

This method needs a richer model-fitting workflow. The complete runnable Python example below shows the fit and relevant checks; use the downloadable notebook to change the data and rerun it.

Download the worked notebook

Apply it at work

  1. Define the acceptance or comparison decision, gauge resolution and required measurement accuracy.
  2. Select representative parts and operators, cross all combinations, randomise repeated measurements and preserve the raw readings.
  3. Fit the stated variance-component model and examine operator patterns, interaction and repeatability plots.
  4. Evaluate uncertainty and misclassification risk, then verify calibration, training or fixture improvements with a new study.

Check these assumptions

  • The example uses a balanced crossed random-effects design with repeat measurements in every cell.
  • Selected parts and operators represent the intended operating population sufficiently for the proposed interpretation.
  • Measurement errors are approximately independent with a common within-cell variance.
  • Parts remain stable during repeated measurement; repeat readings are not changed by destructive testing.

Common mistakes and how to avoid them

  • Percent variance contribution and percent study variation cannot be compared as if they were identical.
  • Choosing an artificially broad part range can make measurement error appear proportionally small.
  • A precise but biased gauge can still misclassify products; Gage R&R does not replace traceable calibration.

How this can help the business

  • A credible measurement study can prevent spending on a production problem that is actually inconsistent inspection.
  • Separating components supports a targeted investigation of gauge precision, operator technique or part-specific measurement difficulty.
A decision rule to adapt

Judge suitability against the actual decision, tolerance, uncertainty and misclassification consequences; do not approve a gauge solely from one percentage in a small demonstration.

When to use another approach

Use nested or destructive-study designs when parts cannot be remeasured; use check standards, bias/linearity and stability studies for complementary measurement problems.

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
parts = np.array([9.7,9.9,10.1,10.3,10.5])
operators = np.array([-0.02,0.02])
repeats = np.array([-0.01,0,0.01])
y = parts[:,None,None] + operators[None,:,None] + repeats[None,None,:]
p,o,r = y.shape
grand = y.mean()
part_means = y.mean(axis=(1,2))
operator_means = y.mean(axis=(0,2))
cell_means = y.mean(axis=2)
ms_e = ((y-cell_means[:,:,None])**2).sum() / (p*o*(r-1))
ms_p = o*r*((part_means-grand)**2).sum() / (p-1)
ms_o = p*r*((operator_means-grand)**2).sum() / (o-1)
interaction = cell_means-part_means[:,None]-operator_means[None,:]+grand
ms_po = r*(interaction**2).sum() / ((p-1)*(o-1))
var_po = max(0,(ms_po-ms_e)/r)
var_o = max(0,(ms_o-ms_po)/(p*r))
var_p = max(0,(ms_p-ms_po)/(o*r))
sigma_grr = np.sqrt(ms_e+var_po+var_o)
print("Measurement sigma:",round(sigma_grr,4),"mm")
print("Part variance:",round(var_p,4),"mm squared")
print("Study variation %:",round(100*sigma_grr/np.sqrt(var_p+sigma_grr**2),3))
print("Tolerance ratio %:",round(100*6*sigma_grr/2,3))

Recorded output

Measurement sigma: 0.03 mm
Part variance: 0.1 mm squared
Study variation %: 9.444
Tolerance ratio %: 9.0
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.