BinomialDistributionPDF(Double, Double, Int32) Method |
Returns the probability mass function (PMF) of a binomial distribution.
Namespace: Altaxo.Calc.ProbabilityAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static double PDF(
double x,
double p,
int n
)
Parameters
- x Double
- The value at which to evaluate the PMF.
- p Double
- The success probability p in the range [0, 1].
- n Int32
- The number of trials.
Return Value
DoubleThe probability for
x.
See Also