bscCI: Blyth-Still-Casella confidence interval

Description Usage Arguments Details Value Examples

View source: R/bscCI.R

Description

Blyth-Still-Casella confidence interval

Usage

1
bscCI(n_tot, n_suc, conf, digits = 2)

Arguments

n_tot

Total number of experiments

n_suc

Number of successes

conf

Confidence level (1-alpha)

digits

Number of decimal places to be used

Details

Computes the exact Blyth-Still-Casella binomial confidence interval. The initial CI is the Clopper-Pearson confidence interval.

Value

A vector containing the confidence interval. If digits is given, both upper and lower limits are rounded to the given number of digits.

Examples

1
bscCI(100,25,0.95,digits = 3)

rbscCI documentation built on July 8, 2020, 7:15 p.m.