Learn R Programming

TrialSize (version 1.4)

MeanWilliamsDesign.NIS: Test for Non-Inferiority/Superiority in Multiple-Sample William Design

Description

Compare more than two treatment under a crossover design.

H0: margin \( \le \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.

Usage

MeanWilliamsDesign.NIS(alpha, beta, sigma, k, delta, margin)

Arguments

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=\mu_i-\mu_j\) the difference between the true mean response of group i \(\mu_i\) and group j \(\mu_j\)

References

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003