Click or drag to resize

BernoulliDistributionPDF(Double, Double) Method

Returns the probability mass function (PMF) of a Bernoulli distribution.

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public 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

Double
The probability for x.
See Also