Learn R Programming

ExactCIone (version 1.0.5)

WbinoCI_lower: 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)

Value

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

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.

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

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

Run the code above in your browser using DataLab