BernoulliPmf Method (Int32, Double)
|
Static probability mass function.
http://en.wikipedia.org/wiki/Probability_mass_function
Namespace:
FinMath.Statistics.Distributions
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public static double Pmf(
int x,
double successProbability
)
Parameters
- x
- Type: SystemInt32
Value of random variable. - successProbability
- Type: SystemDouble
Success probability in each trial.
Return Value
Type:
DoubleProbability that random variable occur this value.
See Also