Statistics-Lec 9 (2)
Statistics-Lec 9 (2)
Number of trials are fixed (number of Number of success (r) is fixed (number of
trials is fixed with random number of trials is random with fixed number of
success) success).
The pdf of negative binomial random variable X with parameter r (number of success)
and p (probability of success) is defined as
𝑥+𝑟−1 𝑟 𝑥
𝑛𝑏 𝑥; 𝑟, 𝑝 = 𝑃 𝑋 = 𝑥 = 𝑝 𝑞
𝑥
𝑃 𝑋 = 𝑥 shows the number of failure x that occur before achieving a fixed number of
success r.
Note: This distribution is applicable when we need to perform
an experiment until a total of r success are obtained. For
example
If we flip a coin a fixed number of times and count the
number of times the coin turns out heads is a binomial
distribution. If we continue flipping the coin until it has turned
a particular number of heads say the third head-on flipping 5
times, then this is a case of the negative binomial distribution.