Description Usage Arguments Value Author(s) References Examples
The function computes exact values of the power of the randomized UMPU test for one-sided equivalence of two binomial distributions and its conservative nonrandomized version. It is assumed that the samples being available from both distributions are independent.
1 | bi2ste1(m, n, eps, alpha, p1, p2)
|
m |
size of Sample 1 |
n |
size of Sample 2 |
eps |
noninferiority margin to the odds ratio \varrho, defined to be the maximum acceptable deviation of the true value of \varrho from unity |
alpha |
significance level |
p1 |
success rate in Population 1 |
p2 |
success rate in Population 2 |
m |
size of Sample 1 |
n |
size of Sample 2 |
eps |
noninferiority margin to the odds ratio \varrho, defined to be the maximum acceptable deviation of the true value of \varrho from unity |
alpha |
significance level |
p1 |
success rate in Population 1 |
p2 |
success rate in Population 2 |
POWNR |
power of the nonrandomized version of the test |
POW |
power of the randomized UMPU test |
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 | bi2ste1(106,107,0.5,0.05,0.9245,0.9065)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.