Description Usage Arguments Value References See Also Examples
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
.
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)
|
x |
vector of quantiles. |
alpha |
shape parameter. |
theta |
shape parameter. |
t |
age component. |
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.
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.
dgp.weibull
for other generalized power Weibull(GPW) distribution related functions;
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.