bcost_expected {BRDT} | R Documentation |
Define the cost function of expected overall cost including the RDT cost, expected reliabiltiy growth (RG) cost and expected warranty services (WS) cost (for binomial RDT design).
bcost_expected(Cf, Cv, n, G, Cw, N, c, pi)
Cf |
Fixed costs of RDT |
Cv |
Variable unit costs of RDT |
n |
RDT sample size |
G |
Reliabilty growth cost |
Cw |
Average cost per warranty claim |
N |
Sales volume |
c |
Maximum allowable failures |
pi |
Failure probability |
Overall expected cost
pi <- pi_MCSim_beta(M = 1000, seed = 10, a = 1, b = 1)
bcost_expected(Cf = 10, Cv = 10, n = 10, G = 100000, Cw = 10, N = 1, c = 1, pi = pi)