Click or drag to resize
Accord.NET (logo)

MixtureTProbabilityDensityFunction Method (Int32, Double)

Gets the probability density function (pdf) for one of the component distributions evaluated at point x.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double ProbabilityDensityFunction(
	int componentIndex,
	double x
)
Request Example View Source

Parameters

componentIndex
Type: SystemInt32
The index of the desired component distribution.
x
Type: SystemDouble
A single point in the distribution range.

Return Value

Type: Double
The probability of x occurring in the component distribution, computed as the PDF of the component distribution times its mixture coefficient.
Remarks
The Probability Density Function (PDF) describes the probability that a given value x will occur.
See Also