Learn R Programming

PropCIs (version 0.1-6)

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

Examples

Run this code
midPci(x = 15, n = 112, alpha = 0.05)

Run the code above in your browser using DataLab