
Last chance! 50% off unlimited learning
Sale ends in
H0: margin is equal to 0 Ha: margin is unequal to 0
The test is finding whether there is a difference between the mean responses of the test group and control group.
TwoSampleMean.Equality(alpha, beta, sigma, k, margin)
significance level
power = 1-beta
pooled standard deviation of two groups
k=n1/n2
Example: k=2 indicates a 1 to 2 test-control allocation.
the true mean difference between a test mu2 and a control mu1
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
# NOT RUN {
Example.3.2.4<-TwoSampleMean.Equality(0.05,0.2,0.1,1,0.05)
Example.3.2.4 # 63
# }
Run the code above in your browser using DataLab