Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

WilsonCI

Wilson Confidence Interval


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

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

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

ACSWR

A Companion Package for the Book "A Course in Statistics with R"

v1.0
GPL-2
Authors
Prabhanjan Tattar
Initial release
2015-09-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.