bi2dipow {EQUIVNONINF} | R Documentation |
The program computes exact values of the rejection probability of the asymptotic test for equivalence in the sense of -δ_1 < p_1-p_2 < δ_2, at any nominal level α_0. [The largest α_0 for which the test is valid in terms of the significance level, can be computed by means of the program bi2diffac.]
bi2dipow(alpha0,m,n,del1,del2,p1,p2)
alpha0 |
nominal significance level |
m |
size of Sample 1 |
n |
size of Sample 2 |
del1 |
absolute value of the lower limit of the hypothetical equivalence range for p_1-p_2 |
del2 |
upper limit of the hypothetical equivalence range for p_1-p_2 |
p1 |
true value of the success probability in Population 1 |
p2 |
true value of the success probability in Population 2 |
alpha0 |
nominal significance level |
m |
size of Sample 1 |
n |
size of Sample 2 |
del1 |
absolute value of the lower limit of the hypothetical equivalence range for p_1-p_2 |
del2 |
upper limit of the hypothetical equivalence range for p_1-p_2 |
p1 |
true value of the success probability in Population 1 |
p2 |
true value of the success probability in Population 2 |
POWEX0 |
exact rejection probability under (p_1,p_2) of the test at nominal level α_0 for equivalence of two binomial distributions with respect to the difference of the success probabilities |
ERROR |
error indicator answering the question of whether or not the sufficient condition for the correctness of the result output by the program, was satisfied |
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.6.
bi2dipow(0.0228,50,50,0.20,0.20,0.50,0.50)