The negative binomial distribution models the number of trials needed to achieve a specified number of successes in a sequence of independent Bernoulli trials, each with the same probability of success.
The probability mass function for the negative binomial distribution is:
\[P(X = n) = \binom{n-1}{r-1} p^r (1-p)^{n-r}\]
Where:
Let's calculate the probability of getting 3 successes in 5 trials, with a success probability of 0.4:
This graph illustrates a typical negative binomial distribution. The height of each bar represents the probability of achieving the required number of successes at that specific number of trials.
We can create a free, personalized calculator just for you!
Contact us and let's bring your idea to life.