The geometric distribution counts the trials up to the first success. Waiting for the third success, or the fifth, gives the negative binomial distribution. As in that lesson, $X$ counts all the trials, including the last success. (Some books count only the failures, $X - r$; the ideas are the same.)
Idea clave
Por qué funciona
Worked examples
Ejemplo resuelto: Coins
- The 5th flip is the 3rd head, and the first 4 flips hold exactly 2 heads: $\binom{4}{2} = 6$ arrangements.
- $P(X = 5) = 6 \cdot \left(\frac{1}{2}\right)^{5} = \frac{3}{16}$.
Respuesta: $\frac{3}{16}$
Ejemplo resuelto: Sixes
- $$P(X = 4) = \binom{3}{1}\left(\frac{1}{6}\right)^{2}\left(\frac{5}{6}\right)^{2} = 3 \cdot \frac{25}{1296} = \frac{25}{432} \approx 0.058$$
- $E[X] = \frac{2}{1/6} = 12$ rolls.
Respuesta: $\frac{25}{432}$ and 12
Ejemplo resuelto: A best-of-seven series
- Game 6 must be A's 4th win, and games 1 to 5 hold exactly 3 A-wins: $\binom{5}{3} = 10$ arrangements.
- $$P = 10(0.6)^{4}(0.4)^{2} = 10(0.1296)(0.16) \approx 0.207$$
Respuesta: about $0.207$
Error común