Sub topic 5
Repeatability and reproducibility
This chapter assumes you know the mean, variance and standard deviation, and that variances of independent sources add. It also assumes you have read the earlier chapters on splitting observed variation into part and measurement components. Here you separate the measurement part into its two main sources, repeatability and reproducibility. You will also see how the interaction between operators and parts fits in.
The two sources of measurement spread
Measurement variation has two main sources. Gage R&R is named after them.
- Repeatability is the variation when one operator measures the same part several times with the same gage under the same conditions. It is also called equipment variation (EV). It is the spread you see inside a cell of the data, where a cell is one part measured by one operator.
- Reproducibility is the variation between operators, or more generally between the conditions under which the measurement is made. It is also called appraiser variation (AV). It shows up as differences between operator averages, and as operators who rank parts differently.
The combined measurement variation is the gage R&R (GRR):
$$\sigma^2{GRR} = \sigma^2{repeatability} + \sigma^2_{reproducibility}$$
Reproducibility is not only about people. Depending on the study, the "operator" factor can stand for different instruments, labs, shifts, fixtures or days. Name the factor you actually vary, because that decides what the result means.
The mean-versus-spread view helps here. Bias, linearity and stability describe the location of the measurements. Repeatability and reproducibility describe their spread. A gage R&R study says nothing about whether the average reading is correct.
Where each source appears in the data
Suppose 10 parts are each measured twice by 3 operators. The data form 30 cells with 2 readings each.
| Pattern in the data | What it points to |
|---|---|
| Readings within a cell differ | Repeatability |
| Operator averages differ | Reproducibility, operator effect |
| Operators disagree on which parts are large or small | Reproducibility, operator-by-part interaction |
| Part averages differ | Real part-to-part variation, which is not measurement error |
The last row matters. Part-to-part variation is the signal you want to detect. A good study contains parts that span the real process range, so that the measurement spread is compared with a realistic part spread.
Repeatability in detail
Repeatability is the variation you cannot remove by changing who measures. The causes are usually inside the gage or the method.
- Instrument resolution that is too coarse, so readings round to the same few values.
- Friction, play or wear in a mechanical gage.
- Electrical noise in a sensor.
- Inconsistent part seating or fixturing between repeat readings.
- Short-term environmental changes, such as temperature drift during the study.
In the ANOVA method, the repeatability variance is the mean square error of the cells:
$$\hat\sigma^2{rep} = MS{rep}$$
The study spread of repeatability is usually reported as 6 standard deviations, because 6σ covers about 99.73% of a normal distribution. Some references use 5.15σ (99%). Check which multiplier your software or customer standard uses before comparing numbers.
Two warnings apply to repeatability.
- Repeat readings must be real replicates. If an operator measures a part and immediately remeasures it while remembering the first value, the spread is too small. Randomize the run order and, where possible, blind the operator to part identity.
- If the gage resolution is coarse, repeatability is partly a rounding effect. A common rule is that the gage should resolve at least one tenth of the tolerance or one tenth of the process spread. Many repeat readings that are identical are a sign of poor resolution, not of a good gage.
Reproducibility in detail
Reproducibility has two parts in a crossed study.
Operator effect. Operators have different average readings. One person may read systematically high because of how they position the part, apply clamping force or read a scale.
Operator-by-part interaction. The operator differences are not constant across parts. For example, operator B reads small parts high but large parts low. Interaction often signals an unclear method, a part feature that is hard to locate, or a fixture that works for some part shapes but not others.
The ANOVA variance components are:
$$\hat\sigma^2{oper} = \frac{MS{oper} - MS{int}}{p\,r} \qquad \hat\sigma^2{int} = \frac{MS{int} - MS{rep}}{r}$$
where p is the number of parts and r is the number of replicates. Reproducibility is the sum:
$$\hat\sigma^2{reprod} = \hat\sigma^2{oper} + \hat\sigma^2_{int}$$
Negative estimates can occur when a mean square is smaller than the one it is compared with. That is sampling noise, and the standard practice is to set the component to zero.
The average and range method cannot estimate the interaction. It lumps all non-repeatability variation into one appraiser term. This is one reason ANOVA is preferred when you have software.
Worked example
The code below simulates a study with a known repeatability and a known operator bias, then recovers the components. It uses the same ANOVA formulas as above. It is a self-contained script and prints the variance components and the share each takes of the gage R&R.
import numpy as np
def components(x):
"""x has shape (parts, operators, replicates)."""
p, o, r = x.shape
grand = x.mean()
part = x.mean(axis=(1, 2))
oper = x.mean(axis=(0, 2))
cell = x.mean(axis=2)
ms_oper = p * r * np.sum((oper - grand) ** 2) / (o - 1)
ss_int = r * np.sum((cell - part[:, None] - oper[None, :] + grand) ** 2)
ms_int = ss_int / ((p - 1) * (o - 1))
ms_rep = np.sum((x - cell[:, :, None]) ** 2) / (p * o * (r - 1))
rep = ms_rep
inter = max(0.0, (ms_int - ms_rep) / r)
oper_var = max(0.0, (ms_oper - ms_int) / (p * r))
return rep, oper_var, inter
rng = np.random.default_rng(7)
parts = rng.normal(50.0, 2.0, size=10)
operator_bias = np.array([0.0, 0.4, -0.3])
x = (parts[:, None, None]
+ operator_bias[None, :, None]
+ rng.normal(0, 0.3, size=(10, 3, 2)))
rep, oper_var, inter = components(x)
reprod = oper_var + inter
grr = rep + reprod
print(f"repeatability variance {rep:.4f} ({100 * rep / grr:.0f}% of GRR)")
print(f"reproducibility variance {reprod:.4f} ({100 * reprod / grr:.0f}% of GRR)")
print(f" operator {oper_var:.4f}")
print(f" interaction {inter:.4f}")
print(f"GRR standard deviation {grr ** 0.5:.4f}")The simulated repeatability standard deviation is 0.3, so the true repeatability variance is 0.09. The operator biases of 0, 0.4 and -0.3 have a sample variance near 0.13. With only 3 operators, the operator estimate is very noisy. Rerun with different seeds and watch it move. That instability is the main reason to use more operators when reproducibility matters.
Reading the balance between the two
The ratio of repeatability to reproducibility tells you where to act.
| Result | Likely diagnosis | First action |
|---|---|---|
| Repeatability large, reproducibility small | The gage or the fixture is the problem | Repair, replace or improve the gage and fixturing; check resolution |
| Reproducibility large, repeatability small | The method or training is the problem | Standardize the procedure, train operators, add a fixture or clear instructions |
| Operator effect large, interaction small | One operator has a consistent offset | Retrain or recalibrate that operator or instrument |
| Interaction large | Operators handle some parts differently | Review the method for the parts involved; look at the operator-by-part plot |
| Both large | System is poor overall | Redesign the measurement method |
Common errors
- Using too few operators. With 2 or 3 operators, the operator variance has only 1 or 2 degrees of freedom. The estimate is very uncertain. Treat it as a rough indicator.
- Choosing parts that do not span the process. If all parts are nearly identical, part variance is small and every measurement system looks bad. If parts are chosen from far outside the process range, part variance is inflated and the system looks good. Both distort percentages.
- Letting operators see previous readings. This lowers repeatability and hides real variation.
- Treating reproducibility as only a people problem. Fixtures, software settings and calibration differences between instruments also appear here.
- Mixing up repeatability with resolution. A gage with identical repeat readings is not necessarily precise. It may simply be too coarse.
- Ignoring the interaction term. If the interaction is significant, pooling it into repeatability hides a method problem.
Summary
Repeatability is the spread within a cell, caused mainly by the equipment and method. Reproducibility is the spread between operators or conditions, made of an operator effect and an operator-by-part interaction. They add as variances to give gage R&R. Separating them points to different fixes: improve the gage for repeatability, standardize the method and training for reproducibility. The next chapters turn these components into the percentages used for acceptance decisions.
Exercise
A crossed study has 10 parts, 3 operators and 2 replicates. The mean squares are MSoper = 0.60, MSint = 0.20 and MS_rep = 0.14. Compute the repeatability variance, the operator variance, the interaction variance, the reproducibility variance and the gage R&R variance.
Show answer
Repeatability = MS_rep = 0.14. Operator variance = (0.60 - 0.20) / (10 × 2) = 0.40 / 20 = 0.02. Interaction variance = (0.20 - 0.14) / 2 = 0.03. Reproducibility = 0.02 + 0.03 = 0.05. Gage R&R variance = 0.14 + 0.05 = 0.19, so the GRR standard deviation is about 0.436.
Exercise
A study shows that repeatability accounts for 85% of the gage R&R variance and reproducibility for 15%. Name the more promising first improvement and one thing you would check about the gage itself.
Show answer
Work on the equipment and measurement method first, since repeatability dominates. Retraining operators would address only the smaller 15%. Check the gage resolution against the tolerance or process spread, and look for wear, play or poor part seating in the fixture.
Exercise
Why can the same operator-by-part interaction be missed by the average and range method but found by ANOVA?
Show answer
The average and range method estimates appraiser variation from the differences between operator averages only. It has no term for the interaction. ANOVA models operator, part and their interaction separately and tests the interaction, so it can show that operators disagree on how some parts compare.