Description Usage Arguments Value See Also Examples
Define the optimal function to find the optimal test plan with minimum test sample size given an acceptable level of consumer's risk (for binomial RDT).
1 | boptimal_n(c, pi, R, thres_CR)
|
c |
Maximum allowable failures |
pi |
Failure probability |
R |
Lower level reliability requirement |
thres_CR |
Threshold (acceptable level) of consumer's risk |
Minimum test sample size
bcore
for getting the core probability of passting the test;
bconsumerrisk
for getting the consumer's risk;
bIndicator
for getting the binary indicator;
Other Binomial RDT functions:
bIndicator()
,
bconsumerrisk()
,
bcore()
1 2 | pi <- pi_MCSim_beta(M = 5000, seed = 10, a = 1, b = 1)
boptimal_n(c = 2, pi = pi, R = 0.8, thres_CR = 0.05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.