binom_prst | R Documentation |
binom_prst
returns parameters defining a PRST for the binomial distribution as developed by Abraham Wald.
binom_prst(
p0 = p0,
p1 = p1,
m = m,
alpha = 0.1,
beta = 0.1,
r = NULL,
t = NULL
)
p0 |
The minimum acceptable probability of failure. |
p1 |
The maximum acceptable probability of failure. This value must be greater than |
m |
An integer indicating the maximum number of units allowable for test. |
alpha |
The producer's risk of rejecting equipment with probability of failure p < |
beta |
The consumer's risk of accepting equipment with probability of failure p > |
r |
(Optional, default as NULL) The cumulative number of failures up to the number of units tested, |
t |
(Optional, default as NULL) The cumulative number of units tested.
If specified it must be of equal length to |
The output will return a table indicating when to accept or reject the equipment based on the number of units tested and failures observed. The binomial prst plot will be printed, along with the Operating Characteristic Curve and Average Sample Number plot.
Wald, Abraham. Sequential Analysis. John Wiley & Sons, 1947.
exp_prst
, exp_prst_plot
binom_prst(p0 = 0.05, p1 = 0.10, m=300, alpha=0.10, beta=0.10)
binom_prst(p0 = 0.05, p1 = 0.10, m=300, alpha=0.10, beta=0.20)
binom_prst(p0 = 0.05, p1 = 0.10, m=300, alpha=0.05, beta=0.20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.