Learn R Programming

TrialSize (version 1.4)

MeanWilliamsDesign.Equivalence: Test for Equivalence in Multiple-Sample William Design

Description

Compare more than two treatment under a crossover design.

H0: |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

Usage

MeanWilliamsDesign.Equivalence(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