madansky: Madansky's method

Description Usage Arguments Value Examples

View source: R/functions.R

Description

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

Usage

1
madansky(s, n, alpha, use.backup = FALSE, backup.method, ...)

Arguments

s

Vector of successes.

n

Vector of sample sizes.

alpha

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

use.backup

If TRUE, then a backup.method in the will be used for the methods with calculate LCB = 1 in the case of no failures across all components. If FALSE (default), no backup.method is used.

backup.method

The backup method which is used for the methods which calculate LCB = 1 in the case of zero failures. Use function name.

...

Additional arguments to be ignored.

Value

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

Examples

1
madansky(s=c(35, 97, 59), n=c(35, 100, 60), alpha=.10)

serieslcb documentation built on July 9, 2019, 9:03 a.m.