GPWeibullsurvival: Survival related functions for the generalized power...

Description Usage Arguments Value References See Also Examples

Description

Conditional reliability function (crf), hazard function, hazard rate average (HRA) and survival function for the generalized power Weibull(GPW) distribution with shape parameters alpha and theta.

Usage

1
2
3
4
crf.gp.weibull(x, t = 0, alpha, theta)
hgp.weibull(x, alpha, theta)
hra.gp.weibull(x, alpha, theta)
sgp.weibull(x, alpha, theta)

Arguments

x

vector of quantiles.

alpha

shape parameter.

theta

shape parameter.

t

age component.

Value

crf.gp.weibull gives the conditional reliability function (crf), hgp.weibull gives the hazard function, hra.gp.weibull gives the hazard rate average (HRA) function, and sgp.weibull gives the survival function for the generalized power Weibull(GPW) distribution.

References

Nikulin, M. and Haghighi, F.(2006). A Chi-squared test for the generalized power Weibull family for the head-and-neck cancer censored data, Journal of Mathematical Sciences, Vol. 133(3), 1333-1341.

Pham, H. and Lai, C.D.(2007). On recent generalizations of the Weibull distribution, IEEE Trans. on Reliability, Vol. 56(3), 454-458.

See Also

dgp.weibull for other generalized power Weibull(GPW) distribution related functions;

Examples

 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 & theta for the data(repairtimes)
## Estimates of alpha & theta using 'maxLik' package
## alpha.est = 1.566093, theta.est = 0.355321

## Reliability indicators for data(repairtimes):

## Reliability function
sgp.weibull(repairtimes, 1.566093, 0.355321)

## Hazard function
hgp.weibull(repairtimes, 1.566093, 0.355321)

## hazard rate average(hra)
hra.gp.weibull(repairtimes, 1.566093, 0.355321)

## Conditional reliability function (age component=0)
crf.gp.weibull(repairtimes, 0.00, 1.566093, 0.355321)

## Conditional reliability function (age component=3.0)
crf.gp.weibull(repairtimes, 3.0, 1.566093, 0.355321)

reliaR documentation built on May 1, 2019, 9:51 p.m.