Click or drag to resize
Accord.NET (logo)

UnivariateContinuousDistributionHazardFunction 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.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public virtual double HazardFunction(
	double x
)
Request Example View Source

Parameters

x
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.

Implements

IUnivariateDistributionHazardFunction(Double)
IUnivariateDistributionTObservationHazardFunction(TObservation)
Remarks
The hazard function is the ratio of the probability density function f(x) to the survival function, S(x).
See Also