B vs C test: prove an improvement with 3 and 3 units
The B vs C test checks whether a proposed better process or design (B) really outperforms the current one (C), using very few units. In its basic form you make 3 units with B and 3 with C, in random order, and rank all six by the output. If all three B units rank better than all three C units, the chance that this happened by luck is 1 in 20, so you can claim the improvement with 95% confidence. It is the confirmation step of a dominant-cause search, as described in Keki and Adi Bhote's World Class Quality (2nd ed., 2000).
When to use it
- You have found a likely cause and a fix, and you want proof before changing the process or the design.
- Units are expensive, slow or destructive to test, so a large comparison is not practical.
- You want to check that a change made for cost or convenience did not make things worse (with B as the new, cheaper way).
- You need a test that anyone can follow on a whiteboard, with no assumptions about the distribution.
How it works
- Decide the direction in advance. State which way "better" goes (lower warpage, higher strength) before you see any data.
- Make the units in random order. Interleave B and C units, for example by drawing the order from a hat, so that a drift in the process during the test cannot favor one side.
- Measure and rank all units together from best to worst.
- Count the arrangements. If B and C are really the same, every way of assigning the six ranks to three B and three C units is equally likely. There are C(6, 3) = 20 such ways, and exactly one of them puts all three B units on top:
P(all B better than all C, by chance) = 1 / C(nB + nC, nB) = 1 / C(6, 3) = 1/20 = 0.05- Decide. If every B outranks every C, conclude that B is better with 95% confidence. If not, the test does not show an improvement.
Other sample sizes work the same way. When every B must outrank every C:
| B units | C units | Probability by chance |
|---|---|---|
| 1 | 19 | 0.050 |
| 2 | 5 | 0.048 |
| 2 | 6 | 0.036 |
| 3 | 3 | 0.050 |
| 3 | 4 | 0.029 |
| 4 | 4 | 0.014 |
| 5 | 5 | 0.004 |
The "1 B and 19 C" line is handy when C data already exist: one new unit that beats 19 current units gives the same 95% confidence. Larger samples also allow some overlap between B and C; then use an end count (see the Tukey end-count test) or a Mann-Whitney test.
Example
A plant molds a large flat panel that warps too much after ejection. A variables search pointed to uneven cooling, and the toolmaker built a new cooling insert. The engineer runs 3 panels with the new insert (B) and 3 with the current one (C), in the random order C, B, B, C, B, C, and measures warpage after 24 hours (lower is better):
| Run order | Process | Warpage (mm) |
|---|---|---|
| 1 | C | 0.71 |
| 2 | B | 0.42 |
| 3 | B | 0.38 |
| 4 | C | 0.66 |
| 5 | B | 0.45 |
| 6 | C | 0.80 |
Ranked from best to worst: 0.38 (B), 0.42 (B), 0.45 (B), 0.66 (C), 0.71 (C), 0.80 (C). All three B panels beat all three C panels.
How to read the results
- The improvement is confirmed. The ranking that happened is the one arrangement in 20 that favors B completely. The risk of claiming an improvement that is not there is 5%.
- The test says "better", not "how much better". The medians are 0.42 and 0.71 mm, a gap of 0.29 mm in this sample. With three units per side, that estimate is rough. If the size of the gain matters, for example to meet a specification, measure more production units after the change.
- Check the gap against what matters. A real but tiny improvement may not be worth a new insert. Compare the B results with the specification or the target, not only with C.
- Keep the direction honest. The 5% applies because "lower is better" was decided beforehand. If you would have claimed a result in either direction, the chance doubles to 10%.
Common mistakes
- Running all B units first. If B is made in the morning and C in the afternoon, a warm-up effect or a material change can produce the ranking. Randomize the order.
- Choosing the direction after seeing the data. That turns a 5% risk into a 10% risk without anyone noticing.
- Retesting until it passes. Running three more pairs after a failed test, and stopping when one set wins, inflates the risk far beyond 5%. Decide the plan before the first unit.
- Using units that are not typical. Hand-picked C units from a bad day, or B units built with extra care, test the selection, not the processes. Make both under normal conditions.
- Reading a failed test as proof of no effect. With 3 and 3, a modest improvement often fails to rank perfectly. A failed B vs C means "not shown", not "no difference".
Frequently asked questions
Why is the confidence 95% with only six units?
Because the test asks for an extreme result. If B and C were the same, all 20 ways of placing three B units among six ranks would be equally likely, and only one of them has all B units on top. Seeing that one arrangement has a probability of 1/20 = 0.05 by luck.
Is the B vs C test a real statistical test?
Yes. It is the most extreme case of the exact rank-sum (Mann-Whitney) test: with 3 and 3 units, complete separation gives an exact one-sided p-value of 0.05. It needs no assumption about the shape of the distribution.
Can I use more than three units of each?
Yes, and you gain flexibility. With 4 B and 4 C, complete separation has a probability of 1/70 = 0.014. With larger groups you can allow some overlap and judge the result with an end count or a Mann-Whitney test.
What if one C unit beats one B unit?
With 3 and 3, the test is not passed at 95% confidence. Look at the data: if the overlap comes from one odd unit, investigate it, then repeat the test with a fresh, randomized set rather than discarding the unit.