Sub topic 7
The Average and Range Method
When to use this method
The average and range method is a practical way to estimate gage repeatability and reproducibility, often called gage R&R. It works well for a balanced, crossed study:
- The same parts are measured by every operator.
- Every operator measures every part the same number of times.
- The measurement results are numeric.
- The study has independent repeated readings.
Assume you know how to calculate a mean, a range, and a standard deviation. You should also understand that process variation and measurement variation are different sources of observed spread.
The method is quicker to calculate by hand than the ANOVA method. However, it gives less information about part-by-operator interaction and does not provide formal tests for those effects.
Organize the study data
A common design uses 10 parts, 3 operators, and 2 repeated trials. Select parts that cover the normal process range. Do not choose only very similar parts, because the study must show whether the measurement system can distinguish real part differences.
For each part and operator, calculate the average and range of the repeated readings:
- The cell average is the mean of an operator's readings for one part.
- The cell range is the largest reading minus the smallest reading for that part and operator.
R̄is the average of all cell ranges.X̄operatoris the average result for each operator across all parts.X̄partis the average result for each part across all operators and trials.
The calculation flow is:
Estimate repeatability
Repeatability is variation when the same operator uses the same instrument to measure the same part repeatedly. The range method estimates its standard deviation as:
EV = R̄ × K1
Here, EV means equipment variation, and K1 depends on the number of repeated trials. For two trials, K1 = 0.8862. For three trials, K1 = 0.5908.
For example, if the average cell range is 0.12 and there are two trials:
EV = 0.12 × 0.8862 = 0.106
This estimate includes short-term instrument and method variation.
Estimate reproducibility
Reproducibility is variation between operators. First calculate the range of the operator averages:
Xdiff = maximum operator average - minimum operator average
For three operators, use K2 = 0.5231:
AV = √((Xdiff × K2)² - EV² / (p × r))
Here, AV is appraiser variation, p is the number of parts, and r is the number of trials. If the value inside the square root is negative, set AV to zero. A negative estimate means the observed operator difference is too small to separate from repeatability.
Combine the two sources:
GRR = √(EV² + AV²)
This is the estimated standard deviation of the measurement system.
Calculate the estimates with Python
This example assumes 10 parts, 3 operators, and 2 trials. The constants match that design.
import numpy as np
def average_range_grr(x):
"""Estimate gage R&R from parts, operators, and repeated trials."""
parts, operators, trials = x.shape
if (parts, operators, trials) != (10, 3, 2):
raise ValueError("This example requires 10 parts, 3 operators, and 2 trials.")
cell_means = x.mean(axis=2)
cell_ranges = x.max(axis=2) - x.min(axis=2)
r_bar = cell_ranges.mean()
operator_means = cell_means.mean(axis=0)
part_means = cell_means.mean(axis=1)
ev = r_bar * 0.8862
x_diff = operator_means.max() - operator_means.min()
av_squared = (x_diff * 0.5231) ** 2 - ev**2 / (parts * trials)
av = np.sqrt(max(0.0, av_squared))
grr = np.sqrt(ev**2 + av**2)
rp = part_means.max() - part_means.min()
pv = rp * 0.3146 # K3 for 10 parts
total = np.sqrt(grr**2 + pv**2)
return {"EV": ev, "AV": av, "GRR": grr, "PV": pv, "total": total}
rng = np.random.default_rng(4)
data = rng.normal(10, 0.1, size=(10, 3, 2))
print(average_range_grr(data))Common errors
Do not calculate ranges across different parts. That would mix part variation with repeatability. Do not use different parts for different operators in a crossed study. Also, do not interpret a small GRR as proof that the system is adequate. Compare it with process variation, specification tolerance, and the study's acceptance criteria.
Exercise
A study has an average cell range of 0.20, two trials, and three operators. Using K1 = 0.8862, what is the estimated repeatability?
Show answer
EV = 0.20 × 0.8862 = 0.17724, or about 0.177 measurement units.