ClopperPearsonCI {lrstat}R Documentation

Clopper-Pearson confidence interval for one-sample proportion

Description

Obtains the Clopper-Pearson exact confidence interval for a one-sample proportion.

Usage

ClopperPearsonCI(n, y, cilevel = 0.95)

Arguments

n

The sample size.

y

The number of responses.

cilevel

The confidence interval level.

Value

A data frame with the following variables:

Author(s)

Kaifeng Lu, kaifenglu@gmail.com

Examples


ClopperPearsonCI(20, 3)


[Package lrstat version 0.2.6 Index]