bi2rlv2 {EQUIVNONINF} | R Documentation |
Sample sizes for the exact Fisher type test for relevant differences
Description
The function computes minimum sample sizes required in the randomized UMPU test for
relevant differences between 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 \lambda
.
Usage
bi2rlv2(rho1,rho2,alpha,p1,p2,beta,qlambd)
Arguments
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 |
Value
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 |
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 |
Author(s)
Stefan Wellek <stefan.wellek@zi-mannheim.de>
Peter Ziegler <peter.ziegler@zi-mannheim.de>
References
Wellek S: Testing statistical hypotheses of equivalence and noninferiority. Second edition.
Boca Raton: Chapman & Hall/CRC Press, 2010, \S
11.3.3.
Examples
bi2rlv2(.6667,1.5,.05,.70,.50,.50,2.0)