Aim: To Calculate Sample Size for Clinical trial: Equivalence design (Outcome variable - dichotomous)..

Formula Used

Above formula gives sample size for first group (N1).

Sample size for second group is calculated as N2 = N1 * r

P1 = Estimated proportion of success in test group (out of 1) (e.g. 25% = 0.25)

P2 = = Estimated proportion of success in control group (out of 1) (e.g. 15% = 0.15)

δ= Equivalence margin (Out of 1) (e.g. 5% = 0.05).

r= Controls to Cases ratio

Z 1-α = the standard normal deviate corresponding the confidence level

β = 1 – Power (Out of 1) (e.g. 80% = 0.8)

Z 1-β/2 = the standard normal deviate corresponding to 1- β/2.



What is equivalence margin (δ)?

The "equivalance" of two drugs does not strictly mean that they are exactly equal in efficacy.

It indicates that the efficacies of these two drugs are very close, close enough so that no one is considered as superior or inferior to other. Or in practical sence " close enough" to say that difference between them is clinically acceptable.

How to quantify this concept of "close enough"? This is conceptalized by the term "equivalence margin". So if the absolute difference between success rates of these two drugs are equal to or less than this equivalece margin, then we can say that these drugs / therapies are equivalent.

For example, if success rate in control group (P2) is 80% and equivalence margin (δ) is set at 10%, then to define equivalence of a test drug, test drug should not have success rate (P1) below 70% or above 90%.

If success rate in test group (P1) is below 70%, then test drug will be considered as inferior.

If success rate test group (P1) is more than 90%, then control drug (P2) will be considered as inferior.

Hence, in equivalence studies we test two separate hypotheses. Whether known drug is inferior to test drug OR whether test drug is inferior to known drug.

Hence, Null hypothesis in equivalence trial is that test drug is inferior to known drug OR known drug is inferior to test drug.

Which can be written as

H0: P2 - P1 > δ (implying p1 is inferior)
OR
P1 - P2 > δ (implying μ2 is inferior) > δ

The alternate hypothesis will be

P1 - P2 < = | δ | (implying P1 and P2 are equivalent)

If null hypothesis is rejected, then alternate hypothesis of equivalence is accepted.

By now, you must have realised that, equivalence test requires testing of two one sided hypothesis (TOST).


Example:

Suppose a known therapy has success rate of 60%, and a new therapy is expected to give success rate of 55%. We want to test the equivalence of new therapy with known therapy. How much sample size shall be required, if equivalence margin is decided as 10%, confidence level of 95% and power of 80% (equal sample size in both the groups).

Solution:

Here

P1 = 55%, P2 = 60%, δ = 10, confidence level = 95%, power = 80%, r = 1.

After putting these values, we get required sample size in each group = 1670.


Please note that the equivalence limit (δ) has to be more than the absolute difference between P1 and P2.

Mathematically it is possible to calculate the sample size using given formula, even if δ is less than absolute difference between P1 and P2. However, this will give erroneous results, because even with infinite sample size we can not prove equivalence, if δ < |P1 - P2|.

Because, if absolute difference is more than the equivalence limit, then it is already assumed that one of the two treatment's mean is more than the other by a margin more than acceptable. In this situation, whatever sample size we take, it will not be possible to reject the null hypothesis.


References:

Shein-Chung Chow, Jun Shao, Hansheng Wang. Sample Size Calculations in Clinical Research Second Ed. Chapman and Hall/CRC Biostatistics Series 2008.

Xiaofeng Wang, Xinge Ji. Sample Size Formulas for Different Study Designs Supplement Document for Wang, X. and Ji, X., 2020. Sample size estimation in clinical research: from randomized controlled trials to observational studies. Chest, 158(1), pp.S12-S20.


Results Validated with R: Package ‘TOSTER’


@ Sachin Mumbare