Learn R Programming

AHSurv (version 0.1.0)

hGG: Generalised Gamma (GG) Hazard Function.

Description

Generalised Gamma (GG) Hazard Function.

Usage

hGG(t, kappa, alpha, eta, log = FALSE)

Arguments

t

: positive argument

kappa

: scale parameter

alpha

: shape parameter

eta

: shape parameter

log

:log scale (TRUE or FALSE)

Value

the value of the GG hazard function

References

Agarwal, S. K., & Kalla, S. L. (1996). A generalized gamma distribution and its application in reliabilty. Communications in Statistics-Theory and Methods, 25(1), 201-210.

Examples

Run this code
# NOT RUN {
t=runif(10,min=0,max=1)
hGG(t=t, kappa=0.5, alpha=0.35, eta=0.9,log=FALSE)

# }

Run the code above in your browser using DataLab