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

midPci {PropCIs} | R Documentation

## 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, 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

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

[Package PropCIs version 0.3-0 Index]