Aim: To Calculate Sample Size for Clinical trial: Non-inferiority design (Outcome variable - Ratio)

Formula Used

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

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

μT = Estimated mean in test (experimental) group (test drug / therapy)

μC = Estimated mean in control group (Known drug / thearpy etc)

SDT = Estimated standard deviation in test (experimental) group (test drug / therapy)

SDC = Estimated Estimated standard deviation in control group (Known drug / thearpy etc)

δ= Non-inferiority margin. Should be more than μC - μT

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-β = the standard normal deviate corresponding to 1- β.


What is non-inferirity margin (δ)?

It is the clinically acceptable difference between μC and μT to define non-inferiority.

In other words, even if μT is less than μC, but the difference is less than δ, then μT can be considered as non-inferior to μC.

Null hypothesis and alternate hypotheis in non-inferiority design are as follows.

H0: μC - μT > δ (implying μT is inferior)


The alternate hypothesis will be

μC - μT < = δ (implying μT is not inferior to μC; difference between μC and μT is less than the clinically acceptable non-inferiority margin )


Please note that most of the times non-inferiority limit is positive. It implies that the direction of inferiority is towards lower side μC. In other words, inferiority of test arm is considered, if μT  < μC. Here non-inferiority margin (δ) has to be more than μC - μT. If δ is less than μC - μT, then test arm mean is already less than the control arm mean by more than acceptable margin. Here non-inferirity can not be established, even with infinite sample size.

In rare situations, inferiority of a treatment is considered when its mean is more than the control mean. In this situation, non-inferiority limit is negative. It implies that the direction of inferiority is towards higher side μC. In other words, inferiority of test arm is considered, if μT  > μC. Here non-inferiority margin (δ) must be negative and it must be less than μC - μT (considering signs).  If δ is more than μC - μT, then non-inferirity can not be established here, even with infinite sample size.

Mathematically it is possible to calculate the sample size using given formula, even if above conditions of (δ) are not met. However, this will give erroneous results.

 


Example 1:

Mean reduction in SBP with a known antihypertensive drug is 30 ± 6 mm of Hg. A new antihypertensive drug is to be tested for non-inferiority with this known drug. The mean reduction in SBP with this test drug is expected to be 25 ± 6 mm of Hg. How much sample size shall be required, if non-inferiority margin is decided as 8 mm of Hg, confidence level of 95% and power of 80%.

Solution:

Here

μT = 25, μC = 30, SDT = SDC = 6, δ = 8, confidence level = 95%, power = 80%

Non-inferiority margin is positive, and it is more than μC - μT. So the sample size can be calculated.

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


Suppose in above example, δ = 3, then δ < μC - μT(5). Hence, we can say that, test arm mean is less than control arm mean by the margin which is beyond the acceptable margin of 3. Here sample size can not be calculated.


Example 2:

In pregnancies complicated with gestational diabetes, fetal macrosomia is a known risk. A non-inferiority trial is planned to establish non-inferiority of life-style modifications during pregnancy (test diet and prescribed exercise) to a known drug. It is expected that the mean birth weights in test therapy group and control therapy group are 4200 ± 100 gm and 4000 ± 100 gm. How much sample size shall be required, if non-inferiority margin is decided as - 250, confidence level of 95% and power of 80%.

Please note that, in above example, non-inferiority margin is negative, as inferiority is considered if mean is more. (more the mean birth weight, more inferior is the treatment)

Non-inferiority margin is negative, and it is less than μC - μT. (-250 < -200). So the sample size can be calculated.

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


Suppose in above example, δ = -100, then δ (-100) > μC - μT (-200). Hence, we can say that, test arm mean is already "inferior"  to control arm mean by the margin which is beyond the acceptable margin of - 100. Here sample size can not be calculated.



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 ‘epiR’


@ Sachin Mumbare