hgengamma: Generalized gamma hazard rate function

Description Usage Arguments Value Note Author(s) References Examples

Description

Computes the hazard rate function of the generalized gamma distribution

Usage

1
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

Note

If incorrect values are input for x or the model parameters then NaNs will be returned as the output. This function uses the R contributed package VGAM.

Author(s)

Saralees Nadarajah

References

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

Examples

1
2
x=runif(10,min=0,max=1)
y=hgengamma(x)


Search within the ActuDistns package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.