WbinoCI_lower {ExactCIone}R Documentation

An Admissible Exact Lower Interval for the Binomial Proportion

Description

The 1-alpha Clopper-Pearson lower interval for the binomial proportion p.

Usage

WbinoCI_lower(x, n, conf.level = 0.95, details = FALSE)

Arguments

x

the number of success or the observed data.

n

the sample size.

conf.level

Confidence level. The default is 0.95.

details

TRUE/FALSE, can be abbreviated. To choose whether to compute the confidence interval for the whole sample points. The default is FALSE.

Value

A list which contains the confidence interval (CI) of the sample point and the confidence intervals (CIM) for all the points.

References

Clopper, C. J. and Pearson, E. S. (1934). The use of confidence or fiducial limits in the case of the binomial. "Biometrika" 26: 404-413.

Examples

WbinoCI_lower(x=2,n=5,conf.level=0.95,details=TRUE)
WbinoCI_lower(x=2,n=5,conf.level=0.95)

[Package ExactCIone version 1.0.5 Index]