Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

ActuDistns (version 2.0)

hgengamma: Generalized gamma hazard rate function

Description

Computes the hazard rate function of the generalized gamma distribution

Usage

hgengamma(x, b = 1, d = 1, k = 1)

Arguments

x
scale or vector of positive values at which the hazard rate function needs to be computed
b
the value of b parameter, must be positive
d
the value of d parameter, must be positive
k
the value of k parameter, must be positive

Value

  • An object of the same length as x, giving the hazard rate function values computed at x

References

S. Nadarajah, S. A. A. Bakar, Tabulations of survival models for actuarial use, submitted

Examples

Run this code
x=runif(10,min=0,max=1)
y=hgengamma(x)

Run the code above in your browser using DataLab