NegativeBinomialPmf Method (Int32, 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,
int numberOfFailures,
double successProbability
)
Parameters
- x
- Type: SystemInt32
Value of random variable. - numberOfFailures
- Type: SystemInt32
Number of failures until the experiment is stopped. - successProbability
- Type: SystemDouble
Success probability in each trial.
Return Value
Type:
DoubleProbability that random variable occur this value.
See Also