Click or drag to resize
Accord.NET (logo)

BetaDistributionInnerProbabilityDensityFunction 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
protected internal override double InnerProbabilityDensityFunction(
	double x
Request Example View Source


Type: SystemDouble
A single point in the distribution range.

Return Value

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

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

The Beta's PDF is computed as pdf(x) = c * x^(a - 1) * (1 - x)^(b - 1) where constant c is c = 1.0 / Beta.Function(a, b)

See Also