Click or drag to resize

BinomialPMFLn Method

Computes the log probability mass (lnPMF) at k, i.e. ln(P(X = k)).

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double PMFLn(
	double p,
	int n,
	int k
)

Parameters

p  Double
The success probability (p) in each trial. Range: 0 ≤ p ≤ 1.
n  Int32
The number of trials (n). Range: n ≥ 0.
k  Int32
The location in the domain where we want to evaluate the log probability mass function.

Return Value

Double
the log probability mass at location k.
See Also