Description Usage Arguments Value Examples
View source: R/MPSep_consumerrisk.R
Define the consumer risk function hich gets the probability of passing the test when the lower level reliability requirements are not satisfied for any cumulative periods. The maximum allowable failures for each separate period need to be satisfied to pass the test (for Multi-state RDT, Multiple Periods, Scenario I)
1 | MPSep_consumerrisk(n, cvec, pivec, Rvec)
|
n |
RDT sample size |
cvec |
Maximum allowable failures for each separate period |
pivec |
Failure probability for each seperate period |
Rvec |
Lower level reliability requirements for each cumulative period from the begining of the test. |
Probability for consumer's risk
1 2 | pi <- pi_MCSim_dirichlet(M = 1000, seed = 10, par = c(1, 1, 1))
MPSep_consumerrisk(n = 10, cvec = c(1, 1), pi = pi, Rvec = c(0.8, 0.7))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.