Functions > Statistics > Probability Distributions > Negative Binomial Distribution
Negative Binomial Distribution
The following functions are associated with the negative binomial equation of size n:
Click to copy this expression
dnbinom(k, n, q)—Returns the probability density for value k.
pnbinom(k, n, q)—Returns the cumulative probability distribution for value k.
qnbinom(p, n, q)—Returns the inverse cumulative probability distribution for probability p.
rnbinom(m, n, p)—Returns a vector of m random numbers having the negative binomial distribution.
Arguments
n, k are integers, n > 0 and k ≥ 0. To allow integration and other operations over these arguments, values outside of the stated range are allowed, but they produce a 0 result.
q is a real probability, 0 < q ≤ 1.
p is a real probability, 0 ≤ p ≤ 1.
m is an integer, m > 0.
Was this helpful?