Learn R Programming

TrialSize (version 1.4)

TwoSampleCrossOver.Equivalence: Two Sample Crossover Design Test for Equivalence

Description

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

Usage

TwoSampleCrossOver.Equivalence(alpha, beta, sigma, delta, margin)

Arguments

alpha

significance level

beta

power = 1-beta

sigma

standard deviation in crossover design

delta

the superiority or non-inferiority margin

margin

\(margin=\mu_2-\mu_1\)

the true mean difference between a test mu2 and a control mu1

References

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

Examples

Run this code
# 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