Click or drag to resize
Accord.NET (logo)

EmpiricalHazardDistributionHazardFunction 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 override 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)
See Also