Generalized F hazard rate function

Description

Computes the hazard rate function of the generalized F distribution

Usage

1
hgenF(x, beta = 0, sigma = 1, m1 = 1, m2 = 1)

Arguments

x

scale or vector of positive values at which the hazard rate function needs to be computed

beta

the value of beta parameter, can be any real

sigma

the value of sigma parameter, must be positive

m1

the value of m1 parameter, must be positive

m2

the value of m2 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 flexsurv.

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=hgenF(x)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.