exp_mean_lcb: Calculates the lower confidence bound for an exponential mean

View source: R/exp_mean_lcb.R

exp_mean_lcbR Documentation

Calculates the lower confidence bound for an exponential mean

Description

exp_mean_lcb calculates the lower confidence bound (LCB) for an exponential mean given a test duration (hours, miles, rounds, etc.), number of failures, confidence level, and assuming the test is time terminated.

Usage

exp_mean_lcb(r, duration, alpha = 0.2)

Arguments

r

A numeric vector indicating the observed number of failures.

duration

A numeric vector indicating the tested duration (hours, miles, rounds, etc.).

alpha

The allowable type I error rate (1-confidence). Values must be within 0.0:1.00 default is set to 0.20.

Value

The output will be a numeric vector, indicating the LCB of the exponential mean with the given level of confidence. The units will be the same as the units of the supplied duration.

See Also

exp_mtbf_req, exp_reliability_req, exp_test_duration, exp_equal_mtbf exp_fixed_duration_tests

Examples

# What is the 80% LCB for the MTBF (assuming the times between 
  # failure are exponentially distributed), given a test
  # time of 367 hours, and 0 failures.
exp_mean_lcb(r = 0, duration = 367, alpha = 0.20)


jjw3952/mcotear documentation built on Sept. 2, 2023, 10:30 a.m.