exp_prst: Probability Ratio Sequential Test (PRST)

View source: R/exp_prst.R

exp_prstR Documentation

Probability Ratio Sequential Test (PRST)

Description

exp_prst returns parameters defining a PRST for the exponential distribution as developed by Abraham Wald.

Usage

exp_prst(mtbf0, mtbfa, alpha = 0.1, beta = 0.1)

Arguments

mtbf0

The minimum acceptable MTBF.

mtbfa

A value of MTBF greater than mtbf0 at which we want to ensure we don't reject the system.

alpha

The producer's risk of rejecting equipment with MTBF > MTBFA (the probility of rejecting good equipment). Default = 0.10.

beta

The consumer's risk of accepting equipment with MTBF < MTBF0. (the probility of accepting bad equipment). Default = 0.10.

Value

The output will return r = the number of failures at which the test terminated, T = the time at which the test is terminated, a = y-intercept for the accept time, b = slope of the accept and reject lines, c = y-intercept of the reject line, df = a data.frame giving the number of failures and the associated time times at which the test is terminated and the equipment accepted or rejected, as well as some text which outputs the form of the accept/reject lines, and the accept/reject times.

References

Mil-Hdbk-781A

Wald, Abraham. Sequential Analysis. John Wiley & Sons, 1947.

Brazovsky, Igor. Reliability Theory and Practice. Prentice Hall, 1961.

See Also

exp_reliability_req, exp_test_duration, exp_test_demo, exp_prst_plot

Examples

exp_prst(mtbf0=100, mtbfa=200, alpha=.1, beta=.1)
exp_prst(mtbf0=100, mtbfa=200, alpha=.2, beta=.1)


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