WilliamsDesign.Equivalence {TrialSize}R Documentation

Williams Design test for equivalence

Description

Ho: |\mu_2-\mu_1| \ge margin

Ha: |\mu_2-\mu_1| < margin

Usage

WilliamsDesign.Equivalence(alpha, beta, sigma, sequence, delta, margin)

Arguments

alpha

significance level

beta

power = 1-beta

sigma

standard deviation in crossover design

sequence

total sequence number

delta

the superiority or non-inferiority margin

margin

margin=\mu_{1}-\mu_{2}

References

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

Examples

Example.4.5.4<-WilliamsDesign.Equivalence(0.05,0.2,0.75^2,6,0.2,0.3)
Example.4.5.4


[Package TrialSize version 1.4 Index]