Learn R Programming

reliaR (version 0.01)

LogisExpsurvival: Survival related functions for the Logistic-Exponential(LE) distribution

Description

Conditional reliability function (crf), hazard function, hazard rate average (HRA) and survival function for the Logistic-Exponential(LE) distribution with shape parameter alpha and scale parameter lambda.

Usage

crf.logis.exp(x, t = 0, alpha, lambda) hlogis.exp(x, alpha, lambda) hra.logis.exp(x, alpha, lambda) slogis.exp(x, alpha, lambda)

Arguments

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

Value

crf.logis.exp gives the conditional reliability function (crf), hlogis.exp gives the hazard function, hra.logis.exp gives the hazard rate average (HRA) function, and slogis.exp gives the survival function for the Logistic-Exponential(LE) distribution.

References

Lan, Y. and Leemis, L. M. (2008). The Logistic-Exponential Survival Distribution, Naval Research Logistics, 55, 252-264.

See Also

dlogis.exp for other Logistic-Exponential(LE) distribution related functions;

Examples

Run this code
## load data set
data(bearings)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(bearings)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 2.36754, lambda.est = 0.01059

## Reliability indicators for data(bearings):

## Reliability function
slogis.exp(bearings, 2.36754, 0.01059)

## Hazard function
hlogis.exp(bearings, 2.36754, 0.01059)

## hazard rate average(hra)
hra.logis.exp(bearings, 2.36754, 0.01059)

## Conditional reliability function (age component=0)
crf.logis.exp(bearings, 0.00, 2.36754, 0.01059)

## Conditional reliability function (age component=3.0)
crf.logis.exp(bearings, 3.0, 2.36754, 0.01059)

Run the code above in your browser using DataLab