Hazard and cumulative hazard functions of the PE distribution
Usage
hpexp(x, rho, rates)
Hpexp(x, rho, rates)
Arguments
- x
vector of time points.
- rho
vector of time grid knots.
- rates
vector of failure rates.
Value
hpexp gives the hazard function and Hpexp gives the cumulative hazard function of the PE distribution.