|
IUnivariateDistributionTObservationHazardFunction 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
Syntax double HazardFunction(
TObservation x
)
Function HazardFunction (
x As TObservation
) As Double
Request Example
View SourceParameters
- x
- Type: TObservation
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.
Remarks
The hazard function is the ratio of the probability
density function f(x) to the survival function, S(x).
See Also