Learn R Programming

reliaR (version 0.01)

ExpoLogisticsurvival: Survival related functions for the Exponentiated Logistic(EL) distribution

Description

Conditional reliability function (crf), hazard function, hazard rate average (HRA) and survival function for the Exponentiated Logistic(EL) distribution with shape parameter alpha and scale parameter beta.

Usage

crf.expo.logistic(x, t = 0, alpha, beta) hexpo.logistic(x, alpha, beta) hra.expo.logistic(x, alpha, beta) sexpo.logistic(x, alpha, beta)

Arguments

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

Value

crf.expo.logistic gives the conditional reliability function (crf), hexpo.logistic gives the hazard function, hra.expo.logistic gives the hazard rate average (HRA) function, and sexpo.logistic gives the survival function for the Exponentiated Logistic(EL) distribution.

References

Ali, M.M., Pal, M. and Woo, J. (2007). Some Exponentiated Distributions, The Korean Communications in Statistics, 14(1), 93-109.

Shirke, D.T., Kumbhar, R.R. and Kundu, D.(2005). Tolerance intervals for exponentiated scale family of distributions, Journal of Applied Statistics, 32, 1067-1074

See Also

dexpo.logistic for other Exponentiated Logistic(EL) distribution related functions;

Examples

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

## Reliability indicators for data(dataset2):

## Reliability function
sexpo.logistic(dataset2, 5.31302, 139.04515)

## Hazard function
hexpo.logistic(dataset2, 5.31302, 139.04515)

## hazard rate average(hra)
hra.expo.logistic(dataset2, 5.31302, 139.04515)

## Conditional reliability function (age component=0)
crf.expo.logistic(dataset2, 0.00, 5.31302, 139.04515)

## Conditional reliability function (age component=3.0)
crf.expo.logistic(dataset2, 3.0, 5.31302, 139.04515)

Run the code above in your browser using DataLab