Description Usage Arguments Value Author(s) References Examples
The program computes the largest nominal significance level which can be substituted for the target level α without making the exact size of the asymptotic testing procedure larger than α.
1 | bi2diffac(alpha,m,n,del1,del2,sw,tolrd,tol,maxh)
|
alpha |
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 |
sw |
width of the search grid for determining the maximum of the rejection probability on the common boundary of the hypotheses |
tolrd |
horizontal distance of the left- and right-most boundary point to be included in the search grid |
tol |
upper bound to the absolute difference between size and target level below which the search for a corrected nominal level terminates |
maxh |
maximum number of interval halving steps to be carried out in finding the maximally raised nominal level |
alpha |
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 |
sw |
width of the search grid for determining the maximum of the rejection probability on the common boundary of the hypotheses |
tolrd |
horizontal distance of the left- and right-most boundary point to be included in the search grid |
tol |
upper bound to the absolute difference between size and target level below which the search for a corrected nominal level terminates |
maxh |
maximum number of interval halving steps to be carried out in finding the maximally raised nominal level |
NH |
number of interval-halving steps actually performed |
ALPH_0 |
value of the raised nominal level obtained after NH steps |
SIZE0 |
size of the critical region corresponding to alpha_0 |
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.
1 | bi2diffac(0.05,20,20,0.40,0.40,0.1,1e-6,1e-4,3)
|
Loading required package: BiasedUrn
alpha = 0.05 m = 20 n = 20 del1 = 0.4 del2 = 0.4 sw = 0.1 tolrd = 1e-06 tol = 1e-04 maxh = 3 NH = 3 ALPHA0 = 0.0125 SIZE0 = 0.01592495 ERROR = none
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.