H0: the ratio that within-subject variance of treatment T / within-subject variance of treatment R
Ha: the ratio <
if
if
CrossOver.ISV.NIS(alpha, beta, sigma1, sigma2, m, margin)
significance level
power = 1-beta
within-subject variance of treatment 1
within-subject variance of treatment 2
for each subject, there are m replicates.
margin=
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
# NOT RUN {
Example.9.1.1<-CrossOver.ISV.NIS(0.05,0.2,0.3^2,0.45^2,2,1.1)
Example.9.1.1
# }
Run the code above in your browser using DataLab