bcost_expected {BRDT} | R Documentation |

## Expected Overall Costs in Binomial RDT Design

### Description

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).

### Usage

```
bcost_expected(Cf, Cv, n, G, Cw, N, c, pi)
```

### Arguments

`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 |

### Value

Overall expected cost

### See Also

### Examples

```
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)
```

[Package

*BRDT*version 0.1.0 Index]