Sub topic 2
Splitting observed variation into process and measurement parts
This chapter assumes you know variance and standard deviation, the normal distribution, and the terms process variation and specification limits. It shows how the variation in your data divides into real part-to-part variation and measurement error. It also shows how that division changes the capability numbers you report.
Two sources in every data point
Every number you record is the true value of the part plus an error from the measurement process:
observed = true value + measurement errorAcross many parts, the true values differ from each other because the process is not perfectly stable or uniform. The errors differ because no gage reads the same part identically every time. When you compute the standard deviation of a column of measurements, you see both sources mixed together. You cannot tell them apart from the data alone.
Measurement system analysis (MSA) is the set of studies that separates them. The first step is the model that makes the separation possible.
The additive variance model
If the measurement error is independent of the true value, the variances add:
σ²obs = σ²part + σ²_meas
Here σ²obs is the variance of the recorded values, σ²part is the variance of the true part values, and σ²_meas is the variance of the measurement error. The measurement part divides again into the two components covered in later chapters:
σ²meas = σ²repeatability + σ²_reproducibility
The diagram shows the full breakdown.
Variances add, standard deviations do not
The most common arithmetic mistake is adding standard deviations. Standard deviations combine in quadrature:
σobs = √(σ²part + σ²_meas)
Suppose σpart = 1.0 and σmeas = 0.3. The observed standard deviation is √(1.00 + 0.09) ≈ 1.044, not 1.3. The measurement error is 30% as large as the part spread in standard deviation terms, but it inflates the observed spread by only about 4%.
Two ways to express the measurement share
Gage R&R reports use two ratios. Both come directly from the model.
- %Contribution is the share of total variance: 100 × σ²meas / σ²obs.
- %Study variation is the share of total standard deviation: 100 × σmeas / σobs.
For the example above:
- %Contribution = 0.09 / 1.09 ≈ 8.3%
- %Study variation = 0.3 / 1.044 ≈ 28.7%
The two numbers describe the same system, but the second looks much worse because a square root inflates small ratios. The table shows the relationship for several values of r = σmeas / σobs.
| r (σ_meas / σ_obs) | %Study variation | %Contribution |
|---|---|---|
| 0.10 | 10% | 1% |
| 0.30 | 30% | 9% |
| 0.50 | 50% | 25% |
| 0.70 | 70% | 49% |
%Contribution is the square of the %Study variation ratio. Any guideline must say which of the two it refers to. A later chapter covers the standard thresholds.
What measurement error does to your conclusions
Measurement error does not just add noise. It changes the conclusions you draw about the process.
- Capability is understated. Cp and Cpk computed from observed data use σobs, which is larger than σpart. The process looks worse than it is.
- Defect rates are misjudged. Good parts near a limit can be read as out of specification, and bad parts as in specification. Both mistakes come from the error that sits on top of the true value.
- Control charts lose sensitivity. Extra variance widens the limits and hides small shifts. Measurement error that is too large also makes the within-subgroup variation look larger than the process produces.
- Experiments lose power. In a designed experiment, noise from the gage lowers your ability to detect a real effect.
Worked simulation
The code below simulates a process with known true values, adds measurement error, and compares what you would conclude from the observed data against the truth. In a real study you never see the true values. The simulation shows what the model predicts.
import numpy as np
rng = np.random.default_rng(7)
n = 200_000
sigma_part, sigma_meas = 1.0, 0.3
lsl, usl = 7.0, 13.0
true = rng.normal(10.0, sigma_part, n)
observed = true + rng.normal(0.0, sigma_meas, n)
var_true = true.var(ddof=1)
var_obs = observed.var(ddof=1)
var_meas = var_obs - var_true # possible only because we know the true values
cp_true = (usl - lsl) / (6 * np.sqrt(var_true))
cp_obs = (usl - lsl) / (6 * np.sqrt(var_obs))
print(f"var(true) = {var_true:.3f}")
print(f"var(observed) = {var_obs:.3f}")
print(f"var(error) = {var_meas:.3f}")
print(f"%contribution = {100 * var_meas / var_obs:.1f}")
print(f"%study var = {100 * np.sqrt(var_meas / var_obs):.1f}")
print(f"Cp true = {cp_true:.3f}")
print(f"Cp observed = {cp_obs:.3f}")Expect the observed variance to be close to 1.09, the error variance close to 0.09, %contribution near 8%, %study variation near 29%, true Cp near 1.00 and observed Cp near 0.96. The exact digits vary slightly with the random draw.
The observed Cp is too low by a few percent here. With a worse gage the gap grows. If σ_meas were 0.5, the observed standard deviation would be about 1.118, and the observed Cp would be about 0.89 for a process whose true Cp is 1.00.
Correcting for measurement error
You can estimate the true part variation by subtraction, after a study has given you σ²_meas:
σ²part = σ²obs − σ²_meas
Capability based on this value is closer to the true process capability. Treat it as an estimate, not a fix. If the measurement system is poor, the subtraction involves two uncertain numbers, and the result can be unstable. If σ²meas is estimated as larger than σ²obs, the subtraction gives a negative variance, which is impossible. Software handles this by truncating at zero, as the ANOVA code in a later chapter does. A negative result means the study was too small or the model does not fit.
Averaging reduces only part of the error
Taking several readings and averaging them reduces the repeatability part of the error. It does not reduce the reproducibility part when the same operator or gage setup is used each time. For the mean of k repeat readings:
σ²meas,avg = σ²repeatability / k + σ²_reproducibility
With σ²repeatability = 0.06 and σ²reproducibility = 0.03, averaging four readings gives 0.015 + 0.03 = 0.045, not 0.0225. A reproducibility problem needs a different fix, such as standardizing the method or training operators. Averaging cannot remove it.
Assumptions and where they fail
The additive model holds only under certain conditions. Check them before you trust the percentages.
- Error is independent of the true value. If the gage gets noisier on larger parts, the error variance depends on the part, and a single σ²_meas misrepresents the system. Plot the readings against the part mean to check. The chapter on linearity covers the related problem of bias that changes with size.
- Error has a constant mean. A bias is a constant offset in the error. It shifts every observed value equally and does not change the variances, but it does bias the process mean. The model above ignores it, so you study bias separately.
- The parts represent the process. σ²obs in a study is the variance of the parts you chose, not necessarily of the process. If you select parts from a narrow range, σ²part is small, and the same gage looks much worse. If you select a deliberately wide range, the gage looks better than it will in production. Select parts that span the actual process spread, or the percentages are not meaningful.
- The process is stable. If the process drifts during the study, part variation includes drift, and so may the measurement variation if the parts themselves change over time.
A common misreading
A low %contribution does not mean the gage is accurate. The model describes spread, not location. A gage can have a tiny σ_meas and still read every part 2 units too high. Spread and location are separate properties, and the next chapter covers them in turn.
Summary of the working model
- Observed variance equals part variance plus measurement variance, provided the error is independent of the true value.
- Measurement variance equals repeatability variance plus reproducibility variance.
- %Contribution compares variances. %Study variation compares standard deviations and equals the square root of the %Contribution ratio.
- Measurement error understates capability and weakens charts and experiments.
- The estimate of part variation depends on which parts you include in the study.
Exercise
A process has a true part standard deviation of 2.0 and a measurement standard deviation of 1.0. (a) What is the observed standard deviation? (b) What are %Contribution and %Study variation for the measurement system? (c) The specification width (USL − LSL) is 18. What is the true Cp and the observed Cp?
Show answer
(a) Variances are 4.0 and 1.0, so σ²obs = 5.0 and σobs = √5 ≈ 2.236. (b) %Contribution = 1.0 / 5.0 = 20%. %Study variation = 1.0 / 2.236 ≈ 44.7%. (c) True Cp = 18 / (6 × 2.0) = 1.50. Observed Cp = 18 / (6 × 2.236) ≈ 1.34. The measurement error lowers the apparent capability from 1.50 to about 1.34.
Exercise
A gage has repeatability variance 0.08 and reproducibility variance 0.04. A technician proposes averaging 4 readings per part with the same operator to improve the measurement system. What is the variance of the averaged measurement, and what share of the original measurement variance does the change remove?
Show answer
σ²_meas,avg = 0.08 / 4 + 0.04 = 0.02 + 0.04 = 0.06. The original measurement variance is 0.08 + 0.04 = 0.12, so the change removes (0.12 − 0.06) / 0.12 = 50%. Only the repeatability component shrinks. The reproducibility component of 0.04 stays, so averaging alone cannot bring the system below that floor.
Exercise
A team runs a gage study using 10 parts picked from one tight production batch. The study reports a high %Study variation for the gage. Give one reason the result could mislead them, and one way to fix the study.
Show answer
The parts cover only a narrow range, so σ²_part is small and the gage's measurement variance is a larger share of the total than it would be across the real process spread. The gage may look worse than it is for the full process. To fix the study, select parts that span the actual range of the process, including parts near both specification limits, and repeat the analysis.