DiscreteDistribution.LogProbability Method

Returns the logarithm of the probability of obtaining a specific integer value in the distribution.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public virtual double LogProbability(
	int n
)

Parameters

n  Int32
An integer value.

Return Value

Double
The logarithm of the probability of obtaining the specified value.

Remarks

This method represents the logarithm of the probability function of the distribution.

See Also