normal_approximation: Normal approximation method

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Calculate a binomial series lower confidence bound using a normal approximation with MLE estimates.

Usage

1
normal_approximation(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.

Examples

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

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