|
MixtureTLogProbabilityDensityFunction Method (Int32, Double)
|
Gets the log-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 LogProbabilityDensityFunction(
int componentIndex,
double x
)
Public Function LogProbabilityDensityFunction (
componentIndex As Integer,
x As Double
) As Double
Request Example
View SourceParameters
- 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 logarithm of 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