Discrete Distribution.Log Probability 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#
The logarithm of the probability of obtaining the specified value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public virtual double LogProbability(
int n
)
Parameters
- n Int32
- An integer value.
Return Value
DoubleThe logarithm of the probability of obtaining the specified value.
Remarks
This method represents the logarithm of the probability function of the distribution.