The program computes the largest nominal significance level which can be substituted for the target level \(\alpha\) without making the exact size of the asymptotic testing procedure larger than \(\alpha\).
bi2diffac(alpha,m,n,del1,del2,sw,tolrd,tol,maxh)significance level
size of Sample 1
size of Sample 2
absolute value of the lower limit of the hypothetical equivalence range for \(p_1-p_2\)
upper limit of the hypothetical equivalence range for \(p_1-p_2\)
width of the search grid for determining the maximum of the rejection probability on the common boundary of the hypotheses
horizontal distance of the left- and right-most boundary point to be included in the search grid
upper bound to the absolute difference between size and target level below which the search for a corrected nominal level terminates
maximum number of interval halving steps to be carried out in finding the maximally raised nominal level
significance level
size of Sample 1
size of Sample 2
absolute value of the lower limit of the hypothetical equivalence range for \(p_1-p_2\)
upper limit of the hypothetical equivalence range for \(p_1-p_2\)
width of the search grid for determining the maximum of the rejection probability on the common boundary of the hypotheses
horizontal distance of the left- and right-most boundary point to be included in the search grid
upper bound to the absolute difference between size and target level below which the search for a corrected nominal level terminates
maximum number of interval halving steps to be carried out in finding the maximally raised nominal level
number of interval-halving steps actually performed
value of the raised nominal level obtained after NH steps
size of the critical region corresponding to \(\alpha_0\)
error indicator answering the question of whether or not the sufficient condition for the correctness of the result output by the program, was satisfied
Wellek S: Testing statistical hypotheses of equivalence and noninferiority. Second edition. Boca Raton: Chapman & Hall/CRC Press, 2010, \(\S\) 6.6.6.
# NOT RUN {
bi2diffac(0.05,20,20,0.40,0.40,0.1,1e-6,1e-4,3)
# }
Run the code above in your browser using DataLab