MFM_Indicator: Binary Indicator for Multi-state RDT with Multiple Failure...

Description Usage Arguments Value See Also Examples

View source: R/MFM_Indicator.R

Description

Define the binary indicator function to check whether the failure probability satisfies the lower level reliability requirements for each failure mode (for Multi-state RDT, Multiple Failure Models)

Usage

1
MFM_Indicator(pivec, Rvec)

Arguments

pivec

Failure probability for each separate period.

Rvec

Lower level reliability requirements for each cumulative period from the begining of the test.

Value

0 – No; 1 – Yes.

See Also

MFM_core for getting the core probability of passting the test; MFM_consumerrisk for getting the consumer's risk; MFM_optimal_n for getting the optimal test sample size;

Other MSRDT for MFM functions: MFM_consumerrisk(), MFM_core(), MFM_optimal_n()

Examples

1
2
3
MFM_Indicator(pivec = c(0.1, 0.2), Rvec = c(0.8, 0.6))
MFM_Indicator(pivec = c(0.1, 0.2, 0.1), Rvec = c(0.8, 0.6, 0.4))
MFM_Indicator(pivec = c(0.1, 0.4), Rvec = c(0.8, 0.7))

MSRDT documentation built on July 2, 2020, 2:13 a.m.