Click or drag to resize
Accord.NET (logo)

IDistributionTObservationLogProbabilityFunction Method (TObservation)

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

Namespace:  Accord.Statistics.Distributions
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
double LogProbabilityFunction(
	TObservation x
Request Example View Source


Type: TObservation
A single point in the distribution range. For a univariate distribution, this should be a single double value. For a multivariate distribution, this should be a double array.

Return Value

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