MeanWilliamsDesign.NIS {TrialSize} | R Documentation |
Compare more than two treatment under a crossover design.
H0: margin ≤ δ Ha: margin > δ
if δ >0, the rejection of Null Hypothesis indicates the superiority of the test over the control;
if δ <0, the rejection of the null hypothesis implies the non-inferiority of the test against the control.
MeanWilliamsDesign.NIS(alpha, beta, sigma, k, delta, margin)
alpha |
significance level |
beta |
power = 1-beta |
sigma |
standard deviation |
k |
Total k treatments in the design |
delta |
the superiority or non-inferiority margin |
margin |
margin=μ_i-μ_j the difference between the true mean response of group i μ_i and group j μ_j |
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003