Cover without text: two inspectors examining metal parts side by side under inspection light with a subtle green accent.

What attribute agreement analysis is

Attribute agreement analysis (attribute MSA) measures whether inspectors classify parts as good or bad consistently with each other, over time, and against a known standard. The kappa statistic (Cohen) measures that agreement after removing the part that would occur by chance.

It applies when the inspection result is a decision (accept/reject, go/no-go, defect present/absent) rather than a measured value. For continuous data, the study is Gauge R&R.

Kappa and agreement visual map

The map shows the agreement matrix for two inspectors, the kappa calculation, and the effectiveness, miss rate and false alarm rate.

ATTRIBUTE AGREEMENT AND KAPPA
Visual map 203: Attribute Agreement Analysis and Kappa: Worked Example. Click the map to see it full size.Download the map as PNG

Cohen's kappa formula

Kappa = (po − pe) ÷ (1 − pe)

Kappa = 1 is perfect agreement; 0 is agreement equal to chance; negative values are worse than chance. Plain percent agreement misleads: two inspectors who pass almost everything agree a lot without seeing any defect. Kappa corrects for that.

Worked example: two inspectors, 50 parts

Fictional example. Inspectors A and B classify the same 50 parts (OK or NOK) without knowing each other's answers.

B = OKB = NOKTotal A
A = OK20525
A = NOK32225
Total B232750
  1. Observed agreement: po = (20 + 22) ÷ 50 = 42 ÷ 50 = 0.84.
  2. Chance agreement: pe = (25 × 23 + 25 × 27) ÷ 50² = (575 + 675) ÷ 2,500 = 0.50.
  3. Kappa = (0.84 − 0.50) ÷ (1 − 0.50) = 0.34 ÷ 0.50 = 0.68.

The two agree on 84% of the parts, but half of that would be expected by chance. A kappa of 0.68 shows only moderate to good agreement.

Advertisement

How to read the kappa value

KappaReading (usual MSA manual guideline)
above 0.75Good agreement
0.40 to 0.75Marginal: acceptable depending on risk, improve
below 0.40Poor: the inspection system is not reliable

In the example, 0.68 is in the marginal band. Before accepting, look at the 8 disagreeing parts (5 + 3): which parts, which defect, and whether the visual criterion was clear.

Comparing each inspector with the standard

When a reference classification exists (parts judged by an expert or by measurement), three rates are computed per inspector. Fictional example: inspector A assessed 25 good and 25 bad parts according to the standard.

Standard = goodStandard = bad
A accepts234
A rejects221

Usual MSA manual criteria: effectiveness above 90% acceptable and 80% to 90% marginal; miss rate up to 2% acceptable and up to 5% marginal; false alarm up to 5% acceptable and up to 10% marginal. Inspector A, with 88% effectiveness and a 16% miss rate, needs action despite a kappa of 0.76: kappa alone hides that the costliest error is the bad part accepted.

Advertisement

How to set up the study

  1. Choose 30 to 50 parts representing the process, about half good and half bad, including borderline parts and the line's real defects.
  2. Define the standard: classify each part by expert or measurement, and record the answer where inspectors cannot see it.
  3. Use 2 to 3 appraisers who really do the inspection, under normal lighting and time.
  4. Repeat 2 or 3 times with parts in random order and with a gap, to assess repeatability.
  5. Record on a check sheet, and compute kappa between appraisers, each against themselves, and against the standard. For more than two appraisers use Fleiss' kappa; for ordered ratings (e.g. 1 to 5), Kendall's coefficient. Software such as Minitab does the calculation.
  6. Act on the disagreements: define visual limit samples, improve lighting and defect descriptions, train with TWI and update the standard work.

Study size follows the same logic as sample size: few parts give an unstable kappa.

Where to apply it

If visual inspection is fragile, consider removing the human decision with poka-yoke or automated inspection. Go/no-go gauges remain under calibration. Lot sampling comes later, in the AQL plan: it does not fix an inspector who gets it wrong.

Common mistakes

Frequently asked questions

What is kappa in attribute agreement analysis?

An index that measures agreement between classifications after removing the agreement expected by chance. It ranges from −1 to 1.

What is the kappa formula?

Kappa = (po − pe) ÷ (1 − pe), where po is observed agreement and pe is agreement expected by chance.

What kappa is acceptable?

By the usual MSA manual guideline, above 0.75 is good agreement, 0.40 to 0.75 is marginal and below 0.40 is poor.

How many parts should the study use?

30 to 50 parts, about half good and half bad, including borderline parts, assessed by 2 to 3 appraisers in 2 or 3 trials.

What is the difference between kappa and Gauge R&R?

Kappa evaluates decisions (OK/NOK); Gauge R&R evaluates continuous measurements. Both belong to MSA.

Why does the miss rate matter more than kappa?

Because it shows how many bad parts pass and reach the customer. An appraiser can have a fair kappa and still let many defects through.

Advertisement

Sources

  1. AIAG. Measurement Systems Analysis (MSA), Reference Manual, 4th ed. Automotive Industry Action Group, 2010.
  2. COHEN, J. A coefficient of agreement for nominal scales. Educational and Psychological Measurement, 1960.
  3. MONTGOMERY, D. C. Introduction to Statistical Quality Control. Wiley.

Keep studying: trusted sources and links

Save this address: Manufatura Enxuta is your school for lean manufacturing. Come back whenever you need to study, with a complete article, a visual map and trusted sources. Follow one of the learning paths or check the A–Z glossary.

Want the tools ready to use?

Download the free "Problem Solving Kit" e-book, with PDCA, A3, 5 Whys and Ishikawa.

Download the e-book
Photo of Vagner Soares

About the author

Vagner Soares

Lean Manufacturing & Behavioral Management Specialist

Over 20 years in the automotive and metalworking industries (GM and Dana), Lean Manufacturing practitioner since 2006. SENAI instructor and mentor in Brazil’s Brasil Mais Produtivo program, delivering consulting, training and audits for 50+ companies, combining quality, productivity and people development.