Got it — you're asking about using the Two One-Sided Tests (TOST) procedure to test equivalence between two types of measurements (manual vs. digital) from a paired (coordinated) sample.
This is a great and important topic, especially in fields like medical device validation, manufacturing, and psychology, where you want to show that two methods are "close enough" — not just "not different."
Let’s walk through it carefully:
1. What is the TOST Procedure?
Normally, a t-test checks if two means are different.
But sometimes, you want to show that two methods are equivalent — meaning the difference between them is small enough to be practically unimportant.
The TOST (Two One-Sided Tests) procedure is designed for this.
Instead of testing for a difference, it tests whether the difference is within a pre-specified acceptable range (called the equivalence margin).
2. How TOST Works
You define an equivalence margin:
- Let's call it (-\Delta) and (+\Delta).
- This is the maximum acceptable difference between manual and digital measurements.
Then you perform two one-sided t-tests:
- Test 1: Is the mean difference greater than (-\Delta)?
- Test 2: Is the mean difference less than (+\Delta)?
If both tests are significant (p < 0.05), you conclude that the two methods are equivalent.
3. TOST for Paired Samples
Since you have paired data (each manual measurement corresponds to a digital measurement for the same item), you use a paired t-test structure.
You first compute the differences between manual and digital for each sample:
[
d_i = \text{Manual}_i - \text{Digital}_i
]
Then you analyze the mean and standard deviation of these differences.
4. Step-by-Step TOST for Paired Samples
Suppose you have:
- (d_1, d_2, ..., d_n) = differences between manual and digital measurements
- (\bar{d}) = mean of the differences
- (s_d) = standard deviation of the differences
- (n) = number of paired samples
- (\Delta) = equivalence margin (you must define this based on practical/clinical relevance)
The two hypotheses are:
You calculate the t-statistic for each test:
[
t = \frac{\bar{d} - \text{Margin}}{s_d / \sqrt{n}}
]
where "Margin" is either (-\Delta) or (+\Delta).
You then compare each t-statistic to the critical t-value from the t-distribution with (n-1) degrees of freedom.
If both p-values are less than 0.05, you conclude equivalence.
5. Example
Suppose:
- (n = 30) paired measurements
- (\bar{d} = 0.2) (mean difference)
- (s_d = 1.0) (standard deviation of differences)
- (\Delta = 1.5) (acceptable margin)
First test (greater than (-1.5)):
[
t = \frac{0.2 - (-1.5)}{1.0/\sqrt{30}} = \frac{1.7}{0.1826} \approx 9.31
]
Second test (less than (+1.5)):
[
t = \frac{0.2 - (1.5)}{1.0/\sqrt{30}} = \frac{-1.3}{0.1826} \approx -7.12
]
You then find the p-values for these t-values:
- For (t = 9.31), p-value is very small (< 0.0001)
- For (t = -7.12), p-value is also very small (< 0.0001)
Since both p-values are < 0.05, you conclude that manual and digital measurements are equivalent within ±1.5 units.
6. Important Notes
- Choosing Δ (equivalence margin) is critical — it must be justified based on domain knowledge (e.g., clinical relevance, engineering tolerances).
- TOST is more conservative than a regular t-test — it requires strong evidence that the difference is small.
- Software: Many statistical packages (e.g., R, Python, SAS, SPSS) have TOST procedures built-in.
7. Quick Summary
| Regular t-test | TOST (Equivalence Test) |
|---|
| Tests if groups are different | Tests if groups are similar (within a margin) |
| Null hypothesis: means are equal | Null hypothesis: means are too different |
| Significant result = groups are different | Significant result = groups are equivalent |
Would you like me to show you how to do this in R or Python too? 🚀
(Or even walk through a real data example?)