Section 11.47

Equivalence and noninferiority testing

Definition

Equivalence testing is a way to ask whether a difference is small enough in both directions to treat two methods as interchangeable for a specified purpose. Noninferiority testing asks whether a change stays within a tolerable loss in one direction. Both require a margin chosen before examining the results.

The idea

A technician replaces a timer in a controller. If the timer must keep two machines in step, firing early and firing late both matter. If the only requirement is to avoid delaying an alarm, an earlier alarm can be acceptable. The same timing measurements can answer both questions once the engineer states which changes would matter.

How it works

Define the difference as replacement time minus original time. A positive difference means delay. Set a margin in milliseconds from the timing requirement and choose the observations that count as independent. Run both timers on the same event to remove shared variation. Use the differences between paired readings to estimate their mean and its uncertainty.

Worked example

In an illustrative bench study, 25 independent devices each supply one paired reading. Assume normally distributed differences with sample mean §11.12 −1.6-1.6 milliseconds and sample standard deviation §11.14 2.0 milliseconds. The standard error §11.15 is 2.0/25=0.42.0/\sqrt{25}=0.4 milliseconds. The engineer chose a tolerance of 2 milliseconds in either direction before measuring.

With 24 degrees of freedom the one-sided 95% critical value is about 1.711. The equal-tailed 90% confidence interval §11.18 runs from −1.6−1.711(0.4)=−2.28-1.6-1.711(0.4)=-2.28 to −1.6+1.711(0.4)=−0.92-1.6+1.711(0.4)=-0.92 milliseconds, rounded. Its upper end clears the 2-millisecond delay limit. Its lower end still allows an advance greater than 2 milliseconds. The alarm comparison passes, while the synchronization comparison remains inconclusive.

Stated precisely

Let dd be the population mean difference in milliseconds and let m>0m>0 be the margin in milliseconds. For equivalence, reject both possibilities d≤−md\leq -m and d≥md\geq m, each with a one-sided test at the chosen significance level. At 5% per test this amounts to placing the entire equal-tailed 90% interval strictly inside the two margins. For noninferiority with delay as harm, only the upper one-sided 95% bound must fall below mm.

Limits and common mistakes

A test of zero average difference can miss a practically important change when the measurements are noisy. A wide interval makes that uncertainty visible. Repeating one device many times estimates its repeatability §11.43, while a statement about a population of devices requires independent devices or a model that accounts for clustering. A conclusion about average delay also leaves individual deadline misses unresolved.

Questions answered

Can a timing change satisfy a noninferiority requirement while failing an equivalence test?

Yes. In the example, even the upper bound is earlier than the allowed delay. The lower bound crosses the early limit, so a timing advance large enough to disrupt synchronization remains plausible.

Who sets the margin, and when?

Choose the largest tolerable change from the physical requirement and justify it before collecting or inspecting outcomes. Picking a margin after seeing the interval changes the question the experiment was designed to answer.

Related entries: Paired design (§11.7), Confidence interval (§11.18). Further reading: [526, 527].