Paired comparisons: find what differs between good and bad units

Updated

Paired comparisons look for the characteristic that separates good units from bad ones. You pick several good units and several bad ones, made at about the same time, measure every characteristic you can think of on each unit, and rank each characteristic with an end-count test. A characteristic where the good and bad units barely overlap is a strong clue to the dominant cause. The method is one of the clue-generating tools in Keki and Adi Bhote's World Class Quality (2nd ed., 2000); this article describes it in its own words.

When to use it

  • The product cannot be taken apart and reassembled (welded, molded, glued, sealed), so components search is not possible.
  • You have both good and bad units from the same process, and the bad ones are not rare enough to be impossible to collect.
  • You can measure many characteristics of a unit: dimensions, weight, hardness, finish, chemistry, X-ray or cross-section features.
  • You want to narrow a long list of possible differences to two or three, before running experiments.

How it works

  1. Select the units in pairs. Each pair is one good and one bad unit made as close together as possible: same shift, same lot, consecutive serial numbers. Pairing makes the units alike in everything except the problem. Six to eight pairs are usual.
  2. List the characteristics. Include everything that could plausibly differ, from drawing dimensions to things nobody specifies.
  3. Measure every characteristic on every unit, ideally without the person measuring knowing which units are bad.
  4. Look at each pair. A difference that shows up in every pair, in the same direction, is a clue even before any arithmetic.
  5. Rank each characteristic with the end count. Put all values of one characteristic in order. If the highest value belongs to one group and the lowest to the other, count the values of the top group above every value of the other group, and the values of the bottom group below every value of the first group. The sum is Tukey's end count (see the Tukey end-count test). If the highest and lowest values belong to the same group, the end count is 0.
End count = (top-group values above the other group's maximum) + (bottom-group values below the other group's minimum)
  1. Judge the count. With 6 good and 6 bad units, the exact chance of each end count or more, if the characteristic has nothing to do with the problem, is:
End count6781012
Probability by chance0.0690.0350.0170.0040.002

These come from listing all 924 ways to split 12 ranked values into two groups of 6. Tukey's rule of thumb, an end count of 7 or more for about 5% significance, agrees well here.

Example

A plant molds plastic fuel caps with a rubber gasket. About 3% of caps leak in a pressure test. The team takes six pairs, each a leaking cap and a good cap from the same hour, and measures five characteristics on all twelve caps. Two of them:

PairFlatness, good (mm)Flatness, leaking (mm)Hardness, good (Shore A)Hardness, leaking (Shore A)
10.040.126267
20.060.096470
30.030.156163.5
40.050.116569
50.070.106371
60.050.136665.5

Flatness is the flange flatness of the cap where the gasket seats. The summary for all five characteristics:

CharacteristicMedian, goodMedian, leakingEnd countProbability by chance
Flange flatness (mm)0.0500.115120.002
Gasket hardness (Shore A)63.568.070.035
Gasket thickness (mm)2.0152.0150not significant
Thread pitch diameter (mm)31.4131.400not significant
Cap weight (g)18.6518.650not significant

For flatness, all six leaking caps are less flat than all six good ones: 6 values above the good maximum (0.07) plus 6 values below the leaking minimum (0.09) give 12. For hardness, the leaking caps hold the four highest values above the good maximum of 66 (67, 69, 70, 71), and three good caps (61, 62, 63) sit below the leaking minimum of 63.5, so the end count is 4 + 3 = 7.

Flange flatness of good and leaking fuel caps0.050.100.15Flatness (mm)GoodLeaking
Flange flatness of good and leaking fuel caps

How to read the results

  • Flange flatness is the lead suspect. Complete separation between good and bad caps happens by chance only 2 times in 1,000. A warped flange is also a believable way for a gasket to leak.
  • Gasket hardness is a second clue. An end count of 7 is significant at about the 5% level, and harder gaskets conform less to an uneven flange. It may matter on its own, or only together with flatness.
  • Three characteristics are cleared. End counts of 0 mean the good and bad caps overlap completely on thickness, thread size and weight.
  • Confirm before you act. Paired comparisons find associations, not proof. Next, mold caps with improved flatness and compare them with current caps in a B vs C test, or test flatness and hardness together in a small experiment such as variables search.

Common mistakes

  • Comparing units from different times. If the good units come from last month and the bad ones from today, every drift between the two periods looks like a cause. Pair units made close together.
  • Measuring only what is on the drawing. The cause is often something nobody specified. Cast a wide net.
  • Taking the most significant characteristic as the cause. A characteristic can track the problem because both depend on a third factor. Confirm with an experiment.
  • Too few units. With 3 good and 3 bad, even complete separation has a 1 in 10 chance (two-sided). Use at least 5 or 6 of each.
  • Ignoring ties. Values tied across the two groups at the boundary count as one half each in the end count. Measure with enough resolution to avoid ties where you can.

Frequently asked questions

Why are the units chosen in pairs?

Pairing good and bad units made at about the same time makes them similar in material lot, settings and environment. Anything that still differs consistently within the pairs is more likely to be related to the problem.

How many pairs do I need?

Six to eight pairs are common. With 6 good and 6 bad, an end count of 7 or more is significant at about 5%. More pairs make the test more sensitive and the conclusion more reliable.

Can I use a t-test instead of the end count?

You can, but the end count has advantages here: it needs no assumption about the distribution, it is quick to compute by hand, and it rewards complete separation, which is exactly what a dominant cause produces. A Mann-Whitney test is another distribution-free option.

Paired comparisons measure the units themselves. A product/process search compares the process conditions recorded while the good and bad units were made.

Try it with your own data

StatLab SPC is free, open-source statistics for engineers. It runs in your browser, works offline, and never uploads your data.

Open StatLab