Learn R Programming

serieslcb (version 0.1.0)

madansky: Madansky's method

Description

Calculate a binomial series lower confidence bound using Madansky's (1965) method.

Usage

madansky(s, n, alpha, ...)

Arguments

s

Vector of successes.

n

Vector of sample sizes.

alpha

The significance level; to calculate a 100(1-\(\alpha\))% lower confidence bound.

...

Additional arguments to be ignored.

Value

The 100(1-\(\alpha\))% lower confidence bound. Note that if there are zero observed failures across all components, the output is LCB = 0.

Examples

Run this code
# NOT RUN {
madansky(s=c(35, 97, 59), n=c(35, 100, 60), alpha=.10)
# }

Run the code above in your browser using DataLab