powered by
Ho: \(|margin| \ge delta \) Ha: |margin| < delta
This test is whether the test drug is equivalent to the control in average if the null hypothesis is rejected at significant level alpha
TwoSampleCrossOver.Equivalence(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.Equivalence(0.05,0.1,0.2,0.25,-0.1) Example.3.3.4 # 8 # }
Run the code above in your browser using DataLab