Definition: X ~ NB(r, p)
r: required number of successes
p: probability of success
The negative binomial distribution is a discrete distribution
used to calculate the probability that the first successful r outcomes are achieved on the xth trial.
Example
NB(3,0.5): The probability of 3 successful outcomes over x trials, where the probability that an outcome is a success is 0.5.
Conditions
- The trials are independent of each other
- There are two possible outcomes; success or failure
- The probability of success is constant
Formulae
|
P(X = x) =
|
x-1Cr-1pr(1 - p)x-r
|
| = |
|
× pr(1-p)x-r |
|
|
|
|
|