midPci: mid-P confidence interval adaptation of the Clopper-Pearson...

Description Usage Arguments Value References Examples

View source: R/midPci.R

Description

mid-P confidence interval adaptation of the Clopper-Pearson interval

Usage

1
midPci(x, n, conf.level)

Arguments

x

number of successes

n

number of trials

conf.level

confidence coefficient

Value

A list with class '"htest"' containing the following components:

conf.int

a confidence interval for the difference in proportions.

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 20, 367–371.

Examples

1
2
midPci(x = 15, n = 112, conf.level = 0.95)
  

PropCIs documentation built on May 2, 2019, 5:49 a.m.