Description Usage Arguments Value References See Also Examples
Conditional reliability function (crf), hazard function, hazard rate average (HRA) and survival function for the log-gamma(LG)
distribution with shape parameters alpha
and lambda
.
1 2 3 4 | crf.log.gamma(x, t = 0, alpha, lambda)
hlog.gamma(x, alpha, lambda)
hra.log.gamma(x, alpha, lambda)
slog.gamma(x, alpha, lambda)
|
x |
vector of quantiles. |
alpha |
parameter. |
lambda |
parameter. |
t |
age component. |
crf.log.gamma
gives the conditional reliability function (crf),
hlog.gamma
gives the hazard function,
hra.log.gamma
gives the hazard rate average (HRA) function, and
slog.gamma
gives the survival function for the log-gamma(LG) distribution.
Klugman, S., Panjer, H. and Willmot, G. (2004). Loss Models: From Data to Decisions, 2nd ed., New York, Wiley.
Lawless, J. F., (2003). Statistical Models and Methods for Lifetime Data, 2nd ed., John Wiley and Sons, New York.
dlog.gamma
for other log-gamma(LG) 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(conductors)
## Maximum Likelihood(ML) Estimates of alpha & lambda for the data(conductors)
## Estimates of alpha & lambda using 'maxLik' package
## alpha.est = 0.0088741, lambda.est = 0.6059935
## Reliability indicators for data(conductors):
## Reliability function
slog.gamma(conductors, 0.0088741, 0.6059935)
## Hazard function
hlog.gamma(conductors, 0.0088741, 0.6059935)
## hazard rate average(hra)
hra.log.gamma(conductors, 0.0088741, 0.6059935)
## Conditional reliability function (age component=0)
crf.log.gamma(conductors, 0.00, 0.0088741, 0.6059935)
## Conditional reliability function (age component=3.0)
crf.log.gamma(conductors, 3.0, 0.0088741, 0.6059935)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.