Learn R Programming

reliaR (version 0.01)

MOEEsurvival: Survival related functions for the Marshall-Olkin Extended Exponential (MOEE) distribution

Description

Conditional reliability function (crf), hazard function, hazard rate average (HRA) and survival function for the Marshall-Olkin Extended Exponential (MOEE) distribution with tilt parameter alpha and scale parameter lambda.

Usage

crf.moee(x, t = 0, alpha, lambda) hmoee(x, alpha, lambda) hra.moee(x, alpha, lambda) smoee(x, alpha, lambda)

Arguments

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

Value

crf.moee gives the conditional reliability function (crf), hmoee gives the hazard function, hra.moee gives the hazard rate average (HRA) function, and smoee gives the survival function for the MOEE distribution.

References

Marshall, A. W., Olkin, I. (1997). A new method for adding a parameter to a family of distributions with application to the exponential and Weibull families. Biometrika,84(3):641-652.

Marshall, A. W., Olkin, I.(2007). Life Distributions: Structure of Nonparametric, Semiparametric, and Parametric Families. Springer, New York.

See Also

dmoee for other MOEE distribution related functions;

Examples

Run this code
## Load data sets
data(stress)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 75.67982, lambda.est = 1.67576
smoee(stress, 75.67982, 1.67576)
hmoee(stress, 75.67982, 1.67576)
hra.moee(stress, 75.67982, 1.67576)
crf.moee(stress, 3.00, 75.67982, 1.67576)

Run the code above in your browser using DataLab