The hazard function of a probability distribution is the risk of instantaneous event at a point x.
hazard(object, x1, log = FALSE)
Distribution.
Point to evaluate the hazard function at.
logical, if TRUE then the (natural) logarithm of the hazard function is returned.
Hazard function as a numeric, natural logarithm returned if log
is TRUE.
$hazard(x1, log = FALSE)
The hazard function is defined analytically by $$h_X(x) = \frac{f_X}{S_X}$$ where X is the distribution, \(S_X\) is the survival function and \(f_X\) is the pdf.
Can only be used after decorating with ExoticStatistics
.