NegativeBinomialPMFLn Method |
Computes the log probability mass (lnPMF) at k, i.e. ln(P(X = k)).
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double PMFLn(
double r,
double p,
int k
)
Parameters
- r Double
- The number of successes (r) required to stop the experiment. Range: r ≥ 0.
- p Double
- The probability (p) of a trial resulting in success. Range: 0 ≤ p ≤ 1.
- k Int32
- The location in the domain where we want to evaluate the log probability mass function.
Return Value
Doublethe log probability mass at location
k.
See Also