bscCI: Blyth-Still-Casella confidence interval

View source: R/bscCI.R

bscCIR Documentation

Blyth-Still-Casella confidence interval

Description

Blyth-Still-Casella confidence interval

Usage

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

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


rbscCI documentation built on June 24, 2024, 5:19 p.m.