bi2wld_ni_del {EQUIVNONINF} | R Documentation |
Implementation of the construction described on pp. 183-5 of Wellek S (2010) Testing statistical hypotheses of equivalence and noninferiority. Second edition.
bi2wld_ni_del(N1,N2,EPS,SW,ALPHA,MAXH)
N1 |
size of Sample 1 |
N2 |
size of Sample 2 |
EPS |
noninferiority margin to the difference of success probabilities |
SW |
width of the search grid for determining the maximum of the rejection probability on the common boundary of the hypotheses |
ALPHA |
target significance level |
MAXH |
maximum number of interval-halving steps |
The program computes the largest nominal significance level to be used for determining the critical lower bound to the Wald-type statistic for the problem of testing H:p_1 ≤ p_2 - \varepsilon versus K: p_1 < p_2 - \varepsilon.
N1 |
size of Sample 1 |
N2 |
size of Sample 2 |
EPS |
noninferiority margin to the difference of success probabilities |
SW |
width of the search grid for determining the maximum of the rejection probability on the common boundary of the hypotheses |
ALPHA |
target significance level |
MAXH |
maximum number of interval-halving steps |
ALPHA0 |
corrected nominal level |
SIZE0 |
size of the critical region of the test at nominal level ALPHA0 |
SIZE_UNC |
size of the test at uncorrected nominal level ALPHA |
ERR_IND |
indicator taking value 1 when it occurs that the sufficient condition allowing one to restrict the search for the maximum of the rejection probability under the null hypothesis to its boundary, fails to be satisfied; otherwise the indicator retains its default value 0. |
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.3.
bi2wld_ni_del(25,25,.10,.01,.05,10)