DirichletDistribution.LogProbabilityDensityFunction Method

Returns the value of the probability density function (PDF) of this distribution for the specified value.

Definition

Namespace: Extreme.Statistics.Distributions
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public override double LogProbabilityDensityFunction(
	Vector<double> x
)

Parameters

x  Vector<Double>
A vector within the domain of the distribution

Return Value

Double
The value of the probability density function for the specified value.

Remarks

The probability density function (PDF) of a statistical distribution gives an indication of the density of samples taken from the distribution.

The probability density function is a positive function.

The Dirichlet distribution requires that the sum of the components of x equals 1. You can also leave out the last component, and it will be computed from the others.

Exceptions

ArgumentNullExceptionx is null.
DimensionMismatchException The length of x does not match the order of the distribution.

See Also