BernoulliDistributionPDF(Double, Double) Method |
Returns the probability mass function (PMF) of a Bernoulli 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
)
Parameters
- x Double
- The value at which to evaluate the PMF.
- p Double
- The success probability p in the range [0, 1].
Return Value
DoubleThe probability for
x.
See Also