Learn R Programming

reliaR (version 0.01)

WeibullExtsurvival: Survival related functions for the Weibull Extension(WE) distribution

Description

Conditional reliability function (crf), hazard function, hazard rate average (HRA) and survival function for the Weibull Extension(WE) distribution with shape parameter alpha and scale parameter beta.

Usage

crf.weibull.ext(x, t = 0, alpha, beta) hweibull.ext(x, alpha, beta) hra.weibull.ext(x, alpha, beta) sweibull.ext(x, alpha, beta)

Arguments

x
vector of quantiles.
alpha
shape parameter.
beta
scale parameter.
t
age component.

Value

crf.weibull.ext gives the conditional reliability function (crf), hweibull.ext gives the hazard function, hra.weibull.ext gives the hazard rate average (HRA) function, and sweibull.ext gives the survival function for the Weibull Extension(WE) distribution.

References

Tang, Y., Xie, M. and Goh, T.N., (2003). Statistical analysis of a Weibull extension model, Communications in Statistics: Theory & Methods 32(5):913-928.

Zhang, T., and Xie, M.(2007). Failure Data Analysis with Extended Weibull Distribution, Communications in Statistics-Simulation and Computation, 36(3), 579-592.

See Also

dweibull.ext for other c distribution related functions;

Examples

Run this code
## load data set
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & beta for the data(sys2)
## Estimates of alpha & beta using 'maxLik' package
## alpha.est = 0.00019114, beta.est = 0.14696242

## Reliability indicators for data(sys2):

## Reliability function
sweibull.ext(sys2, 0.00019114, 0.14696242)

## Hazard function
hweibull.ext(sys2, 0.00019114, 0.14696242)

## hazard rate average(hra)
hra.weibull.ext(sys2, 0.00019114, 0.14696242)

## Conditional reliability function (age component=0)
crf.weibull.ext(sys2, 0.00, 0.00019114, 0.14696242)

## Conditional reliability function (age component=3.0)
crf.weibull.ext(sys2, 3.0, 0.00019114, 0.14696242)

Run the code above in your browser using DataLab