Computes the probability mass (PMF) at k, i.e. P(X = k).
Namespace: Altaxo.Calc.DistributionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double PMF(
int population,
int success,
int draws,
int k
)
Parameters
- population Int32
- The size of the population (N).
- success Int32
- The number successes within the population (K, M).
- draws Int32
- The number of draws without replacement (n).
- k Int32
- The location in the domain where we want to evaluate the probability mass function.
Return Value
Doublethe probability mass at location
k.
See Also