WilsonCI: Wilson Confidence Interval

Description Usage Arguments Author(s) Examples

View source: R/WilsonCI.R

Description

The Wilson confidence interval for a sample from binomial distribution is a complex formula. This function helps the reader in easily obtaining the required confidence interval as discussed and detailed in Section 16.5.

Usage

1
WilsonCI(x, n, alpha)

Arguments

x

the number of successes

n

the number of trials

alpha

the confidence interval size

Author(s)

Prabhanjan N. Tattar

Examples

1
2
WilsonCI(x=10658,n=15000,alpha=0.05)
prop.test(x=10658,n=15000)$conf.int

ACSWR documentation built on May 29, 2017, 8:41 p.m.