Learn R Programming

TrialSize (version 1.4)

CrossOver.ISV.Equivalence: Test for Similarity of Intra-Subject Variabilities in Crossover Design

Description

the ratio = within-subject variance of treatment T / within-subject variance of treatment R

H0: the ratio \( \ge \delta \) or the ratio \( \le \frac{1}{\delta}\)

Ha: \( \frac{1}{\delta}\) < the ratio < \(\delta\)

Usage

CrossOver.ISV.Equivalence(alpha, beta, sigma1, sigma2, m, margin)

Arguments

alpha

significance level

beta

power = 1-beta

sigma1

within-subject variance of treatment 1

sigma2

within-subject variance of treatment 2

m

for each subject, there are m replicates.

margin

margin= \(\delta\), the true ratio of sigma1/sigma2

References

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