powered by
2 by 2 crossover design. Test the treatment-by-period interaction (carry-over effect)
H0: the difference of the two sequence carry-over effects is equal to 0
Ha: not equal to 0
The test is finding whether there is a difference between the carry-over effect for sequence AB and BA.
Carry.Over(alpha, beta, sigma1, sigma2, gamma)
significance level
power = 1-beta
standard deviation of sequence AB
standard deviation of sequence BA
the difference of carry-over effect between sequence AB and BA
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
# NOT RUN { Example.6.5.2<-Carry.Over(0.025,0.2,2.3,2.4,0.89) Example.6.5.2 # 110 # }
Run the code above in your browser using DataLab