Click or drag to resize
Accord.NET (logo)

CauchyDistributionInnerProbabilityDensityFunction Method

Gets the probability density function (pdf) for this distribution evaluated at point x.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
protected internal override double InnerProbabilityDensityFunction(
	double x
)
Request Example View Source

Parameters

x
Type: SystemDouble
A single point in the distribution range.

Return Value

Type: Double
The probability of x occurring in the current distribution.
Remarks

The Probability Density Function (PDF) describes the probability that a given value x will occur.

The Cauchy's PDF is defined as PDF(x) = c / (1.0 + ((x-location)/scale)²) where the constant c is given by c = 1.0 / (π * scale);

See Also