powered by
Ho: \(P(x \le a ~and~ y \le b) = P( x \le a ) P(y \le b)\) for all a and b. Ha: not equal
Nonpara.Independ(alpha, beta, p1, p2)
significance level
power = 1-beta
\(p1=P((x1-x2)(y1-y2)>0) \)
\(p2=P((x1-x2)(y1-y2)(x1-x3)(y1-y3)>0)\)
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
# NOT RUN { Example.14.4<-Nonpara.Independ(0.05,0.2,0.6,0.7) Example.14.4 # 135 # }
Run the code above in your browser using DataLab