Paired equivalence test (TOST): show two methods agree

Updated

The paired equivalence test shows that two treatments or methods applied to the same units give the same mean result within a margin you set in advance. Typical cases are a new gauge against a reference method on the same parts, or a part measured before and after a process step that should not change it. It works on the differences within each pair, so the large part-to-part variation drops out, and it uses TOST, two one-sided tests, to put the burden of proof on showing agreement.

When to use it

  • A faster or cheaper measurement method must replace a reference method, and you need to show the mean offset is acceptably small.
  • A process step, such as washing, storage or transport, should leave a property unchanged, and you measure the same units before and after.
  • A paired t test found no significant difference and someone wants to conclude the methods agree. That needs an equivalence test.

If the two groups contain different units, use the 2-sample equivalence test. To check a single mean against a target, use the 1-sample equivalence test.

How it works

For each unit i, compute the difference dᵢ = test − reference. The problem becomes a one-sample equivalence test on the differences, with mean d̄, standard deviation s_d and n − 1 degrees of freedom. With limits δ_L < 0 < δ_U set in advance:

t_L = (d̄ − δ_L) / (s_d/√n) t_U = (d̄ − δ_U) / (s_d/√n)

The methods are declared equivalent when both one-sided p-values are below α = 0.05, the same as the 90% confidence interval for the mean difference lying inside (δ_L, δ_U).

Pairing is what makes the test efficient. The standard error depends only on how much the difference varies from unit to unit, not on how much the units themselves vary. When parts span a wide range, as they usually do in a method comparison, this is the difference between a useful study and a useless one.

Example

A paint shop wants to replace a destructive cross-section check of primer dry film thickness with a handheld magnetic gauge. Twelve production panels covering the usual thickness range are marked at one spot. Each is read with the gauge, then cut at the same spot and measured under a microscope, the reference method (µm). The validation plan sets equivalence limits of ±1.5 µm for the mean difference.

Panel123456789101112
Cross-section31.332.351.525.343.947.928.823.532.345.842.427.6
Gauge30.933.953.624.242.447.329.924.533.346.742.828.1
Difference−0.41.62.1−1.1−1.5−0.61.11.01.00.90.40.5
Handheld gauge versus cross-section, 12 panels304050Handheld gauge (µm)304050Cross-section (µm)
Handheld gauge versus cross-section, 12 panels

Mean difference d̄ = 0.417 µm, s_d = 1.099 µm, standard error 0.317 µm, 11 degrees of freedom.

TestNull hypothesistP
Lowermean difference ≤ −1.56.04< 0.001
Uppermean difference ≥ +1.5−3.410.003

The 90% confidence interval for the mean difference is 0.417 ± 1.796 × 0.317, from −0.15 to 0.99 µm, inside ±1.5 µm. The gauge is equivalent to the cross-section method on average (p = 0.003).

How to read the results

  • The mean offset is small and well bounded. The gauge reads about 0.4 µm high on average, and the data rule out an offset larger than about 1 µm in either direction.
  • Pairing made the conclusion possible. The panels range from 23.5 to 51.5 µm, a standard deviation of about 9.7 µm. Analyzed as two independent groups, the same data give a 90% interval of −6.4 to 7.2 µm and no equivalence. The difference within each panel scatters only 1.1 µm.
  • Check that the offset is constant. A regression of the difference on the reference value has a slope of 0.004 µm per µm (p = 0.91): no sign that the gauge drifts at thick or thin coatings. The scatter plot's fitted line has a slope of 1.004. If the offset changed with thickness, the mean difference alone would hide it; see gage linearity and bias.
  • Mean agreement is not single-reading agreement. With s_d = 1.1 µm, 95% of single gauge readings should fall within about −1.7 to +2.6 µm of the cross-section value (the limits of agreement described by Bland and Altman). Whether that is good enough for releasing parts is a measurement system analysis question.

Common mistakes

  • Analyzing paired data as two independent samples. The part-to-part variation swamps the comparison, as the unpaired interval shows.
  • Concluding agreement from a non-significant paired t test. Here the paired t test gives p = 0.22, which says nothing about whether the offset is small enough.
  • Using parts from a narrow range. A method comparison should cover the range the method will be used on, or a thickness-dependent bias goes unseen.
  • Ignoring the spread of the differences. Two methods can agree on average and still disagree badly on single readings.
  • Setting the margin from the data. Base it on the tolerance and the purpose of the measurement, decided before the study.

Frequently asked questions

When should I use a paired equivalence test instead of a 2-sample one?

When each unit is measured or treated both ways, so the two values come in natural pairs. Pairing removes unit-to-unit variation and usually needs far fewer units.

Is the paired equivalence test the same as a 1-sample test on the differences?

Yes. Compute the differences, then run a 1-sample equivalence test with a target of zero.

What if the difference depends on the size of the part?

Then a single mean difference is not a good summary. Fit the difference against the reference value, or use a ratio, and set limits for the relationship instead.

What equivalence limits should I use for a gauge comparison?

Limits tied to the tolerance are common, for example a fraction of the tolerance width. They should reflect the largest offset that would not change an accept or reject decision.

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