midPci: mid-P confidence interval adaptation of the Clopper-Pearson interval
Description
mid-P confidence interval adaptation of the Clopper-Pearson interval
Usage
midPci(x, n, alpha)
Arguments
x
number of successes
n
number of trials
alpha
Level-I error, 1 - confidence coefficient
Value
lowlimlower confidence bound
uplimupper confidence bound
References
Agresti, A., Gottard, A. (2005): Randomized confidence intervals and
the mid-P approach, discussion of article by C. Geyer and G. Meeden,
Statistical Science, vol. 20, pp. 367-371