exp_test_duration: Calculates the required test length to meet a MTBF...

View source: R/exp_test_duration.R

exp_test_durationR Documentation

Calculates the required test length to meet a MTBF (Reliability) requirement

Description

exp_test_duration calculates the required test duration (hours, miles, rounds, etc.) needed to meet a Mean Time Between Failure (Reliability) requirement given an allowable number of failures, a given level of confidence, and under the assumptions of exponentially distributed times between failures, and a time terminated test.

Usage

exp_test_duration(r, mtbf, alpha = 0.2)

Arguments

r

A numeric vector indicating the allowable number of failures.

mtbf

A numeric Mean Time Between Failure requirement. This could be time, miles, rounds, etc.

alpha

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

Value

The output will be a three column data.frame with one column as the allowable number of failures, the second column defining the number of failures at which you reject, and the third column defining the required test duration (in the same units as the mtbf parameter), needed to satisfy the MTBF requirement with the given level of confidence, and the allowable number of failures.

See Also

exp_mtbf_req, exp_reliability_req, exp_mean_lcb, exp_fixed_duration_tests, exp_equal_mtbf, exp_oc

Examples

# What is the required test duration to demonstrate the MTBF is at least
  # 228 hours, given 0:5 failures, and 80% confidence?
exp_test_duration(r = 0:5, mtbf = 228, alpha = 0.20)


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