Description Usage Arguments Details Value Author(s) References Examples
Sample sizes for the exact Fisher type test for noninferiority
1 | bi2ste2(eps, alpha, p1, p2, bet, qlambd)
|
eps |
noninferiority margin to the odds ratio |
alpha |
significance level |
p1 |
success rate in Population 1 |
p2 |
success rate in Population 2 |
bet |
target power value |
qlambd |
sample size ratio m/n |
The program computes the smallest sample sizes m,n satisfying m/n = λ required for ensuring that the power of the randomized UMPU test does not fall below β.
eps |
noninferiority margin to the odds ratio |
alpha |
significance level |
p1 |
success rate in Population 1 |
p2 |
success rate in Population 2 |
bet |
target power value |
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, 6.6.1.
1 | bi2ste2(0.5,0.05,0.9245,0.9065,0.80,1.00)
|
Loading required package: BiasedUrn
EPS = 0.5 ALPHA = 0.05
P1 = 0.9245 P2 = 0.9065
BETA = 0.8 LAMBDA = 1
M = 194 N = 194 POW = 0.8010046
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.