Learn R Programming

ActuDistns (version 3.0)

huniform: Uniform hazard rate function

Description

Computes the hazard rate function of the uniform distribution

Usage

huniform(x, a = 1, b = 2)

Arguments

x
scale or vector of values at which the hazard rate function needs to be computed, values must be between a and b
a
the value of a parameter, must be positive
b
the value of b parameter, must be greater than a

Value

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

Run the code above in your browser using DataLab