Computes the negative binomial probability mass function (PMF).
value to evaluate PMF (e.g. number of "heads")
number of successes until stopping
true probability
import mir.test: shouldApprox; 4.negativeBinomialPMF(6, 3.0 / 4).shouldApprox == 0.0875988;
Negative Binomial Distribution
See Implementation
Computes the negative binomial probability mass function (PMF).