Measurement systems
Measurement System Analysis (MSA): Bias, Linearity, Stability, Gage R&R and Attribute Agreement
A map of the five studies for engineers who own a gauge, with one fictional copper-pillar height gauge taken through all of them.
Quick answer
A measurement system analysis asks one question in five ways: how much of what the gauge reports is the part, and how much is the gauge? Each study isolates one way the gauge can be wrong.
- Bias — does the gauge read high or low against a reference? One reference, repeated readings, compare the mean with the reference value.
- Linearity — does the bias change across the measuring range? Several references spread over the range, bias regressed on reference value.
- Stability — does the bias drift over time? One reference measured on a schedule, plotted on an individuals and moving range chart.
- Gage R&R — how much variation does the gauge add on real parts, and does it depend on who measures? Several parts, several operators, repeated trials; the Gage R&R after calibration guide works this one through.
- Attribute agreement — for a pass/fail judgment, do inspectors agree with each other, with themselves and with the truth? Known parts judged twice by each inspector, summarised as agreement percentages and kappa.
The first three are about location: they compare the gauge with a known value. The fourth is about spread. The fifth is the location-and-spread question for a gauge that only says pass or fail. Calibration corrects a bias once; it does not prove linearity, stability or repeatability, which is why the studies exist.
About the example. All numbers in this article are fictional. The gauge measures copper-pillar height in µm against a requirement of 48–52 µm, the same fictional requirement used in the PFMEA and Gage R&R guides, so the tolerance width is 4 µm. The reference standards are certified pillars of 40.00, 50.00 and 60.00 µm. Study sizes are minimal teaching layouts; follow your own procedure or your customer's requirement for a real qualification. All arithmetic is carried at full precision and rounded at the end, so recomputing a step from the rounded numbers printed here can differ in the last digit.
Which study, and when
| Study | Question | Run it when | Minimum layout in this guide |
|---|---|---|---|
| Bias | Is the mean reading equal to the reference? | After calibration, after a repair, at buy-off | 1 reference, 15 readings |
| Linearity | Is the bias the same at 40 µm as at 60 µm? | At buy-off, or when parts span a wide range | 3 references, 10 readings each |
| Stability | Does the bias move between calibrations? | Continuously, on a schedule | 1 reference, 1 reading per day, 20 days |
| Gage R&R | How much spread does measuring add, and is it operator-driven? | At buy-off and before a capability study | 10 parts × 3 operators × 3 trials (other guide) |
| Attribute agreement | Do inspectors agree, repeat and match the truth? | At buy-off of a visual or go/no-go inspection, and when inspectors change | 30 parts × 2 inspectors × 2 trials |
The order matters. Calibrate first, so that the bias study measures the residual rather than the adjustment that calibration is about to remove. Run bias and linearity before Gage R&R, because a gauge that reads 0.1 µm high at 60 µm will pass a Gage R&R study, which only looks at spread, and still misjudge every tall pillar. Keep a stability chart running after buy-off; it is the only study that catches a drift before the next calibration does.
Bias: one reference, fifteen readings
After calibration the 50.00 µm reference pillar is measured fifteen times under the same conditions.
| Reading | µm |
|---|---|
| 1–5 | 50.07, 50.11, 49.98, 50.05, 50.12 |
| 6–10 | 50.02, 50.09, 49.96, 50.08, 50.04 |
| 11–15 | 50.10, 50.01, 50.06, 50.13, 50.03 |
The mean is 50.057 µm and the sample standard deviation is 0.051 µm. Bias is the mean minus the reference:
bias = 50.057 − 50.00 = 0.057 µm
That is 1.4 % of the 4 µm tolerance. Whether a bias this small is real or just the scatter of fifteen readings is a t question: t = bias / (s/√n) = 0.057 / (0.051/√15) = 4.34, against a two-sided critical value of 2.145 at 95 % confidence with 14 degrees of freedom from the t table. The bias is real. Whether it matters is a separate decision: 0.057 µm against a 4 µm tolerance is small, but the gauge has just been calibrated, and a bias that survives calibration points at the calibration procedure, the reference, or the fixture rather than at the gauge electronics.
The repeatability in this study, 0.051 µm, is a first estimate of the gauge's own scatter. It is the yardstick for the next two studies.
Linearity: three references across the range
Ten readings on each of the 40.00, 50.00 and 60.00 µm references.
| Reference (µm) | Readings (µm) | Mean bias (µm) | s (µm) |
|---|---|---|---|
| 40.00 | 40.02, 40.05, 39.99, 40.04, 40.01, 40.06, 40.00, 40.03, 39.98, 40.02 | 0.020 | 0.026 |
| 50.00 | 50.07, 50.04, 50.10, 50.06, 50.03, 50.09, 50.05, 50.08, 50.02, 50.06 | 0.060 | 0.026 |
| 60.00 | 60.12, 60.08, 60.15, 60.10, 60.07, 60.13, 60.09, 60.11, 60.06, 60.14 | 0.105 | 0.030 |
Linearity is the bias regressed on the reference value, least squares through all thirty points:
bias = −0.151 + 0.00425 × reference
The slope says the bias grows by 0.00425 µm for every µm of height, so across the 40–60 µm range it changes by 0.085 µm: fitted bias 0.019 µm at 40 µm and 0.104 µm at 60 µm. The change over the range is larger than the gauge's repeatability (about 0.03 µm here, 0.05 µm in the bias study), so it is a feature of the gauge, not scatter. A single-point calibration at 50 µm cannot remove it; it would leave tall pillars reading about 0.05 µm high and short ones about 0.04 µm low. The usual causes are a scale factor error, a reference set that is not what its certificate says, or a probe that loads tall and short features differently. Whether 0.1 µm of bias at 60 µm matters depends on where the parts live: for a 48–52 µm product it is a note in the file; for a 58–62 µm product it is 2.5 % of the tolerance pointing one way.
Stability: one reference, one reading a day
The 50.00 µm reference is measured once each morning for twenty working days.
| Day | 1–5 | 6–10 | 11–15 | 16–20 |
|---|---|---|---|---|
| Reading (µm) | 50.04, 50.09, 50.02, 50.07, 50.11 | 50.05, 50.00, 50.08, 50.06, 50.03 | 50.10, 50.05, 50.07, 50.01, 50.09 | 50.04, 50.06, 50.12, 50.03, 50.08 |
The readings go on an individuals and moving range chart, the chart for one reading per period described in the I-MR chart guide. Mean 50.06 µm; average moving range 0.053 µm; limits for individuals 50.06 ± 2.66 × 0.053, that is 49.92 to 50.20 µm; upper limit for the moving range 3.267 × 0.053 = 0.172 µm. The constants 2.66 (3/d₂ with d₂ = 1.128) and 3.267 (D₄) are tabulated in the control chart constants guide. No reading and no moving range is outside its limit, and the twenty points show no run on one side of the mean, so the gauge is stable over these twenty days. The centre line sits 0.06 µm above the reference, which is the bias from the first study seen again; a stability chart holds the bias steady, it does not remove it.
A stability chart earns its keep later. A point outside 50.20 µm, or eight in a row above the centre line, says the gauge has moved before anyone has measured a bad part with it. The estimate of the gauge's day-to-day scatter, σ̂ = 0.053 / 1.128 = 0.047 µm, is close to the 0.051 µm repeatability of the bias study, so these twenty days show no sign of an extra day-to-day component, though a sample this small cannot rule one out; when the stability σ̂ is clearly larger than the within-day repeatability, something between days (warm-up, temperature, a different operator) is adding variation.
Gage R&R: spread on real parts
Bias, linearity and stability all use reference standards. Gage R&R uses real parts, several operators and repeated trials, and splits the observed variation into part-to-part, repeatability and reproducibility. The Gage R&R after calibration guide works through the 10 sites × 3 operators × 3 trials study on this gauge, and the Gauge R&R (ANOVA) calculator computes %GRR, %Tolerance and ndc from a pasted table. In that study the gauge's total measurement standard deviation comes out at about 0.13 µm, with repeatability and reproducibility contributing about equally, and %Tolerance of about 19 %.
Read the four location-and-spread results together. The repeatability seen in the R&R study, about 0.09 µm, is larger than the 0.03–0.05 µm seen on reference pillars, which is normal: real pillars have sidewall slope, surface texture and placement variation that a polished reference does not. The reproducibility term, about 0.09 µm, comes from one operator's session reading higher than the others and is the largest single thing to fix. The residual bias of 0.057 µm and the 0.085 µm change in bias across the range are each smaller than either spread term, so for this gauge the priority is the operator shift, then the linearity, and the residual bias last.
Attribute agreement: pass/fail inspection and kappa
A visual inspection of pillar shape has no µm to measure. The study for a pass/fail gauge, including a human one, gives each inspector the same parts twice without telling them which is which, and compares every judgment with every other and with a reference judgment made in advance by a senior engineer with better equipment. Here 30 pillars, 8 of which the reference calls fail, are judged twice by inspectors A and B.
| Part | Ref | A1 | A2 | B1 | B2 |
|---|---|---|---|---|---|
| 1–10 | P P F P P P F P P F | P P F P P P F P P F | P P F P P P F P P F | P P F P P P F P P P | P P F P P P F P P F |
| 11–20 | P P P F P P F P P P | P P P F P P F P P P | P P P F P P F P P P | P P P F P P F P P P | P P P F P P P P P P |
| 21–30 | P F P P F P P P F P | P F P P F P P P F P | P F P P P P P P F P | P F P P F P P P F P | P F P P F P P P P P |
Bold marks a judgment that differs from the reference. Four summaries are read from this table.
| Measure | Inspector A | Inspector B |
|---|---|---|
| Agrees with own earlier judgment (within-inspector), parts | 29 of 30 = 96.7 % | 27 of 30 = 90.0 % |
| Both judgments match the reference, parts | 29 of 30 = 96.7 % | 27 of 30 = 90.0 % |
| All four judgments agree (between inspectors), parts | 26 of 30 = 86.7 % | |
| All four agree and match the reference, parts | 26 of 30 = 86.7 % |
Percent agreement flatters a lopsided inspection: with 22 of 30 parts passing, an inspector who passed everything would match the reference 73 % of the time and be useless. Cohen's kappa corrects for the agreement expected by chance. For two sets of judgments with observed agreement pₒ and chance agreement pₑ (the sum over categories of the product of each side's category proportions),
κ = (pₒ − pₑ) / (1 − pₑ)
Over the 60 paired judgments (both trials) A and B agree on 56, pₒ = 0.933; A calls 25.0 % of its judgments fail and B 21.7 %, so pₑ = 0.750 × 0.783 + 0.250 × 0.217 = 0.642, and κ = (0.933 − 0.642)/(1 − 0.642) = 0.81. Against the reference, κ = 0.96 for A and 0.86 for B. A kappa of 1 is perfect agreement; 0 is what chance alone gives. The guidance most engineers quote treats kappa above 0.75 as good agreement and below 0.40 as poor, with an effectiveness (judgments matching the reference) of 90 % or more expected of an acceptable inspector; treat these as guidance, not limits.
The numbers say this inspection is acceptable but the direction of the misses matters more than the percentages. All four disagreements with the reference, one by A and three by B, are fail pillars called pass. An inspector who occasionally fails a good pillar costs a rework; one who passes bad pillars ships them. B's three misses are three different pillars, so this is not one hard case; it is B's threshold, and the fix is a boundary sample of the shape that B is passing, not a lecture about attention.
Common mistakes
- Treating calibration as the whole MSA. Calibration adjusts bias at the calibration points on the calibration day. Linearity, stability and repeatability are untouched by it, and the bias study after calibration measures what the procedure left behind.
- Running Gage R&R first and alone. A gauge with 0.1 µm of linearity passes a Gage R&R study, which only sees spread. Bias and linearity come first; they are cheaper and they are the ones that calibration can fix.
- Reading a stability chart with specification limits. The limits are computed from the gauge's own moving ranges, not from the product tolerance. A gauge can drift well within the product tolerance and still have moved.
- Reporting percent agreement without kappa. When most parts pass, high agreement is the default. Kappa, or the rate at which fails are caught, is what separates a good inspector from one who passes everything. Attribute agreement study design shows how the mix of parts and the study size move kappa.
- Using one reference for linearity. One point gives bias, not linearity. Three references spanning the range of the parts is the minimum, and the references need their own certificates; a linearity "problem" is sometimes a reference problem.
- Mixing studies in one data set. Operators, days and references each belong to one study. A bias study run by three operators over three days has a mean that answers no clean question.
Using the tools and guides
The Gauge R&R (ANOVA) calculator computes the Gage R&R study and the Attribute Agreement Analysis (Kappa) tool computes the agreement percentages and kappas of the attribute study; the bias, linearity and stability arithmetic above needs only a mean, a standard deviation, a least-squares line and the I-MR constants, and the Process Capability Calculator turns the σ of production readings into capability indices; the Gage R&R after calibration guide shows how the measurement variance is removed from the observed variance first, σ²process = σ²observed − σ²GRR. The Gage R&R after calibration guide carries the full R&R study on this gauge; the I-MR chart guide and the control chart constants guide cover the stability chart; the t table supplies the critical value in the bias test.
Sources and further reading
- AIAG Measurement Systems Analysis (MSA) Reference Manual — the source of the five-study structure and the acceptance guidance quoted above; referenced by name, not reproduced here.
- NIST/SEMATECH e-Handbook of Statistical Methods, Chapter 2, Measurement Process Characterization: bias, linearity, check standards and gauge studies, free online.
- Montgomery, D. C., Introduction to Statistical Quality Control, 7th ed., Wiley, 2013, Chapter 8 (gauge and measurement system capability).
- Cohen, J. (1960), A coefficient of agreement for nominal scales, Educational and Psychological Measurement 20, 37–46: the definition of kappa used above.
- Kitstead Labs guides: Gage R&R after calibration, I-MR chart guide, Control chart constants, Z, t and chi-square tables.