# FlexWeibullsurvival: Survival related functions for the flexible Weibull(FW)... In reliaR: Package for some probability distributions.

## Description

Conditional reliability function (crf), hazard function, hazard rate average (HRA) and survival function for the flexible Weibull(FW) distribution with parameters `alpha` and `beta`.

## Usage

 ```1 2 3 4``` ```crf.flex.weibull(x, t = 0, alpha, beta) hflex.weibull(x, alpha, beta) hra.flex.weibull(x, alpha, beta) sflex.weibull(x, alpha, beta) ```

## Arguments

 `x` vector of quantiles. `alpha` parameter. `beta` parameter. `t` age component.

## Value

`crf.flex.weibull` gives the conditional reliability function (crf), `hflex.weibull` gives the hazard function, `hra.flex.weibull` gives the hazard rate average (HRA) function, and `sflex.weibull` gives the survival function for the flexible Weibull(FW) distribution.

## References

Bebbington, M., Lai, C.D. and Zitikis, R. (2007). A flexible Weibull extension, Reliability Engineering and System Safety, 92, 719-726.

`dflex.weibull` for other flexible Weibull(FW) distribution related functions;
 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22``` ```## load data set data(repairtimes) ## Maximum Likelihood(ML) Estimates of alpha & beta for the data(repairtimes) ## Estimates of alpha & beta using 'maxLik' package ## alpha.est = 0.07077507, beta.est = 1.13181535 ## Reliability indicators for data(repairtimes): ## Reliability function sflex.weibull(repairtimes, 0.07077507, 1.13181535) ## Hazard function hflex.weibull(repairtimes, 0.07077507, 1.13181535) ## hazard rate average(hra) hra.flex.weibull(repairtimes, 0.07077507, 1.13181535) ## Conditional reliability function (age component=0) crf.flex.weibull(repairtimes, 0.00, 0.07077507, 1.13181535) ## Conditional reliability function (age component=3.0) crf.flex.weibull(repairtimes, 3.0, 0.07077507, 1.13181535) ```