powered by
Ho: \(|margin| \ge delta \) Ha: |margin| < delta
if delta >0, the rejection of Null Hypothesis indicates the superiority of the test over the control;
if delta <0, the rejection of the null hypothesis implies the non-inferiority of the test against the control.
TwoSampleCrossOver.NIS(alpha, beta, sigma, delta, margin)
significance level
power = 1-beta
standard deviation in crossover design
the superiority or non-inferiority margin
\(margin=\mu_2-\mu_1\)
the true mean difference between a test mu2 and a control mu1
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
# NOT RUN { Example.3.3.4<-TwoSampleCrossOver.NIS(0.05,0.2,0.2,-0.2,-0.1) Example.3.3.4 # 13 # }
Run the code above in your browser using DataLab