bi2aeq2 {EQUIVNONINF} | R Documentation |
The function computes minimum sample sizes required in the randomized UMPU test for equivalence of two binomial distributions with respect to the odds ratio. Computation is done under the side condition that the ratio m/n has some predefined value λ.
bi2aeq2(rho1,rho2,alpha,p1,p2,beta,qlambd)
rho1 |
lower limit of the hypothetical equivalence range for the odds ratio |
rho2 |
upper limit of the hypothetical equivalence range for the odds ratio |
alpha |
significance level |
p1 |
true success rate in Population 1 |
p2 |
true success rate in Population 2 |
beta |
target value of power |
qlambd |
sample size ratio m/n |
rho1 |
lower limit of the hypothetical equivalence range for the odds ratio |
rho2 |
upper limit of the hypothetical equivalence range for the odds ratio |
alpha |
significance level |
p1 |
true success rate in Population 1 |
p2 |
true success rate in Population 2 |
beta |
target value of power |
qlambd |
sample size ratio m/n |
M |
minimum size of Sample 1 |
N |
minimum size of Sample 2 |
POW |
Power of the randomized UMPU test attained with the computed values of m,n |
Stefan Wellek <stefan.wellek@zi-mannheim.de>
Peter Ziegler <peter.ziegler@zi-mannheim.de>
Wellek S: Testing statistical hypotheses of equivalence and noninferiority. Second edition. Boca Raton: Chapman & Hall/CRC Press, 2010, Par. 6.6.4.
bi2aeq2(0.5,2.0,0.05,0.5,0.5,0.60,1.0)