Negative Binomial Distribution
Given random variable
where
This is actually a generalization of the Geometric Distribution, where we wait for the
An alternate formulation in terms of the geometric distribution:
If
Support and PMF
Imagine we have
so we actually want the PMF of the binomial distribution for 2 successes in 6 trials AND (multiply) a success at the end, which brings us to:
Expectation and Variance
(expected value and variance)
Given
Examples
A mathematician carries two matchboxes in his pockets. One in a pocket on the left and another on the right. Both matchboxes contain 40 matches. Due to the effects of smoking, this mathematician flips a coin to determine which matchbox he will get a match from whenever he wants to light a cigarette.
The mathematician opens the right matchbox to discover it empty, and the box on the left has 6 matches. What is the probability that this occurs?
solution
Suppose heads means right pocket and tails means left pocket.
- Since we used all 40 matches in the right pocket and then checked again, we have
. - Since we used all 40 matches in the right pocket and have 6 left in the left pocket, we have
In a large city, 10% of people have an O-positive blood type. If 100 people are picked at random:
- Find P(10 have an O+ blood type)
- Find P(10th O+ person is tested on the 100th sample)
solution
1.
We have
so we have:
We can see a pretty neat relation here. The second problem is asking for the first problem but only in a specific case that will occur 1/100 times, hence the probability is less by a factor of 10.
The Lakers are playing the Celtics in a 7-game series. Suppose the Lakers have a 60% chance of winning each game.
- Find P(Lakers win exactly 6 games)
- Find P(Celtics win the series)
solution
1.