alpha
and scale parameter theta
.crf.gompertz(x, t = 0, alpha, theta)
hgompertz(x, alpha, theta)
hra.gompertz(x, alpha, theta)
sgompertz(x, alpha, theta)
crf.gompertz
gives the conditional reliability function (crf),
hgompertz
gives the hazard function,
hra.gompertz
gives the hazard rate average (HRA) function, and
sgompertz
gives the survival function for the Gompertz distribution.
dgompertz
for other Gompertz distribution related functions;
## load data set
data(sys2)
## Maximum Likelihood(ML) Estimates of alpha & theta for the data(sys2)
## Estimates of alpha & theta using 'maxLik' package
## alpha.est = 0.00121307, theta.est = 0.00173329
## Reliability indicators for data(sys2):
## Reliability function
sgompertz(sys2, 0.00121307, 0.00173329)
## Hazard function
hgompertz(sys2, 0.00121307, 0.00173329)
## hazard rate average(hra)
hra.gompertz(sys2, 0.00121307, 0.00173329)
## Conditional reliability function (age component=0)
crf.gompertz(sys2, 0.00, 0.00121307, 0.00173329)
## Conditional reliability function (age component=3.0)
crf.gompertz(sys2, 3.0, 0.00121307, 0.00173329)
Run the code above in your browser using DataLab