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

binciW

Binomial confidence limits


Description

Calculates binomial confidence limits using the Wilson approximation.

Usage

binciW(x,n,alpha=0.05,cc=FALSE)

Arguments

x

The number of successes or failures for which the CI is to be calculated.

n

The number of trials as above.

alpha

The desired coverage - 0.05 produces 95 percent coverage

cc

Whether to apply a continuity correction

Details

binciW calculates binomial confidence limits for the given number of successes and trials. It is mainly to allow binomial confidence limits to be calculated in the brkdnNest function, which is why the upper and lower CIs are called separately.

Value

The lower and upper binomial confidence limits

Author(s)

Jim Lemon

See Also

Examples

binciW(5,42)

plotrix

Various Plotting Functions

v3.8-1
GPL (>= 2)
Authors
Jim Lemon, Ben Bolker, Sander Oom, Eduardo Klein, Barry Rowlingson, Hadley Wickham, Anupam Tyagi, Olivier Eterradossi, Gabor Grothendieck, Michael Toews, John Kane, Rolf Turner, Carl Witthoft, Julian Stander, Thomas Petzoldt, Remko Duursma, Elisa Biancotto, Ofir Levy, Christophe Dutang, Peter Solymos, Robby Engelmann, Michael Hecker, Felix Steinbeck, Hans Borchers, Henrik Singmann, Ted Toal, Derek Ogle, Darshan Baral, Ulrike Groemping, Bill Venables
Initial release
2021-01-21

We don't support your browser anymore

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