Sub topic 6
Planning a crossed gage R&R study
This chapter assumes you know the variance decomposition and the repeatability and reproducibility definitions from earlier chapters. You should also be comfortable with mean, variance and standard deviation. Here the question is practical: before anyone measures anything, which parts, operators and replicates do you need, and how should the runs be ordered?
What "crossed" means
In a crossed design, every operator measures every part, and each operator measures each part more than once. Parts and operators are the two crossed factors. Every part-by-operator combination is a cell, and each cell holds the replicate readings.
Crossing is what lets the analysis separate three things:
- Part-to-part variation, from differences between parts.
- Reproducibility, from differences between operators, including an operator-by-part interaction.
- Repeatability, from the spread of replicates inside a cell.
If you cannot measure the same part twice, for example because the test destroys it, a crossed design is impossible. That case needs a nested design, covered in a later chapter.
The three design choices
You choose the number of parts (p), operators (o) and replicates (r). The study yields p × o × r readings. The common default is 10 parts, 3 operators and 2 or 3 replicates, which gives 60 or 90 readings.
Each choice controls how well one variance component is estimated. The precision of an estimate depends on its degrees of freedom (df), which is the number of independent pieces of information behind it.
| Component | Degrees of freedom | 10 parts, 3 operators, 2 replicates |
|---|---|---|
| Part | p − 1 | 9 |
| Operator | o − 1 | 2 |
| Part × operator interaction | (p − 1)(o − 1) | 18 |
| Repeatability (error) | p × o × (r − 1) | 30 |
The operator component is the weak point. With 3 operators it has only 2 df, so the reproducibility estimate is imprecise whatever else you do. Adding replicates does not fix this. Only adding operators does, and often there are no more operators to add.
Compare a few designs:
| Design (p, o, r) | Readings | Operator df | Interaction df | Repeatability df |
|---|---|---|---|---|
| 5, 3, 2 | 30 | 2 | 8 | 15 |
| 10, 2, 2 | 40 | 1 | 9 | 20 |
| 10, 3, 2 | 60 | 2 | 18 | 30 |
| 10, 3, 3 | 90 | 2 | 18 | 60 |
| 20, 3, 2 | 120 | 2 | 38 | 60 |
Use these rules of thumb:
- More parts improve the part component and the interaction test. Five parts leave very little to estimate the interaction with.
- More replicates tighten repeatability. Going from 2 to 3 replicates doubles its df for 50% more readings.
- Two operators leave a single df for the operator effect. Use at least three when the process has that many.
- If the interaction is hard to detect, a larger study is cheaper than guessing.
Choosing the parts
Parts are chosen, not sampled at random. The study estimates how large measurement error is compared with part variation, so the parts must represent the variation the gage will meet in production.
- Take parts from the actual process, spread across its normal operating range. Collect them over several days or shifts if you can.
- Include parts near both ends of the range. If every part is nearly identical, part variation is understated and %study variation looks worse than it really is.
- Do not deliberately include parts far outside the process range. That inflates part variation and flatters the gage.
- Label each part with an identifier the operators cannot interpret, such as a random number.
The last point matters because the study's percentages are relative to part variation. A study run on a hand-picked, unrepresentative set of parts can pass a gage that would fail in production, or the reverse.
Choosing the operators
Use the people who actually use the gage in routine work. Do not pick your best technician. If the gage is used by 6 operators, choose 3 who represent the range of skill and habits, and say so in the report.
If the gage is automated and has no human operator, the "operators" can be other factors, such as fixtures, setups or days. The same design applies.
Conditions that must hold before you start
A gage R&R study measures the system as it normally runs. Check these first, or you will study a problem you could have fixed in advance:
- Calibration is current. Gage R&R does not detect a constant offset. Bias, linearity and stability are checked separately.
- Resolution is adequate. The gage's smallest increment should be no more than about one tenth of the tolerance or process spread. If readings pile up on only a few values, the range-based statistics break down and the study is not meaningful.
- The method is written down. Operators follow the standard procedure, including how the part is placed and when the reading is taken.
- The environment is normal. Do not run the study under unusually good conditions.
Randomization and blinding
The order of measurement controls bias from drift, fatigue and memory. If an operator measures part 1 three times in a row, the readings are likely to agree because the operator remembers the first one. That understates repeatability.
A sound procedure:
- Run the study in rounds. In round 1, each operator measures every part once. Round 2 repeats this, and so on.
- In each round, randomize the order of the parts for each operator.
- Randomize the order of the operators in each round if the setup allows.
- Keep the operators blind to part identity and to their own earlier readings.
- Have a recorder, not the operator, write down the reading.
The sketch below builds a randomized run sheet and reports the degrees of freedom for the design.
import numpy as np
def run_sheet(parts=10, operators=("A", "B", "C"), replicates=2, seed=7):
"""Return a randomized run order for a crossed gage R&R study."""
rng = np.random.default_rng(seed)
rows = []
run = 1
for rep in range(1, replicates + 1):
for op in rng.permutation(operators):
for part in rng.permutation(parts) + 1:
rows.append((run, rep, str(op), int(part)))
run += 1
return rows
def degrees_of_freedom(p, o, r):
return {
"part": p - 1,
"operator": o - 1,
"interaction": (p - 1) * (o - 1),
"repeatability": p * o * (r - 1),
}
sheet = run_sheet()
print("run round operator part")
for run, rep, op, part in sheet[:12]:
print(f"{run:>3} {rep:>5} {op:>8} {part:>4}")
print("total readings:", len(sheet))
print(degrees_of_freedom(10, 3, 2))Each operator sees a different part order in each round, and a part is never repeated back to back. Hand out the sheet one line at a time so operators cannot see the plan.
A planning workflow
The steps below follow the order in which you should make the decisions.
Common planning errors
| Error | Effect on the results |
|---|---|
| Parts from one narrow batch | Part variation is too small, so %study variation looks too large |
| Parts chosen to span more than the process range | Part variation is too large, so the gage looks better than it is |
| Replicates taken back to back | Repeatability is understated |
| Operators who know the part identity | Readings influenced by earlier values, repeatability understated |
| Only 2 operators | One df for the operator effect, so reproducibility is unreliable |
| Study run with a freshly calibrated gage and the best operators | Results do not describe routine use |
| Gage resolution too coarse | Few distinct values, so range-based and ANOVA estimates are distorted |
Documenting the plan
Before the first measurement, write down the gage ID, the procedure, the number of parts, operators and replicates, how the parts were chosen, and the randomization seed or run sheet. Record the tolerance if you will report %tolerance, since that statistic needs it. These notes let someone repeat the study and compare results later, which matters when you re-run it after an improvement.
Exercise
A team plans a crossed study with 12 parts, 4 operators and 3 replicates. How many readings does it need, and what are the degrees of freedom for the operator effect, the interaction and repeatability? Name two ways to arrange the run order so that repeatability is not understated.
Show answer
Readings: 12 × 4 × 3 = 144. Operator df = 4 − 1 = 3. Interaction df = (12 − 1)(4 − 1) = 33. Repeatability df = 12 × 4 × (3 − 1) = 96. To avoid understating repeatability, run the study in complete rounds with a random part order for each operator in each round (so a part is never measured back to back), and keep operators blind to part identity and to their earlier readings.
Exercise
A process makes parts whose dimension varies by about ±0.5 mm. For a gage R&R study, someone picks 10 parts from a single production hour. Why is this a poor choice, and which statistic is most affected?
Show answer
Parts from a single hour probably cover only a small part of the normal variation. Part-to-part variation is then underestimated, so measurement error looks large in comparison, and %study variation is inflated. A better choice is 10 parts collected across shifts or days that span the normal process range.