Click or drag to resize
Accord.NET (logo)

IUnivariateDistributionHazardFunction Method

Gets the hazard function, also known as the failure rate or the conditional failure density function for this distribution evaluated at point x.

Namespace:  Accord.Statistics.Distributions
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
double HazardFunction(
	double x
Request Example View Source


Type: SystemDouble
A single point in the distribution range.

Return Value

Type: Double
The conditional failure density function h(x) evaluated at x in the current distribution.
The hazard function is the ratio of the probability density function f(x) to the survival function, S(x).
See Also