[Math] What are the expected value and the standard deviation of the number of games the final will take

binomial distributionnegative binomialprobabilityprobability theoryrandom variables

In the final of the World Series Baseball, two teams play a series consisting of at most seven games until one of the two teams has won four games. Two unevenly matched teams are pitted against each other and the probability that the weaker team will win any given game is equal to 0.45. Assuming that the results of the various games are independent of each other, calculate the probability of the weaker team winning the final. What are the expected value and the standard deviation of the number of games the final will take?

I know how to find the probability that the weaker team wins. This is a negative binomial distribution so I can just apply the formula for p = 0.45 and r = 4. But I am not sure how to calculate the expected value.

Best Answer

Let $P_n$ be the probability that the final takes $n$ games. $$ P_4 = (0.45)^4+(0.55)^4 $$

$$ P_5=\binom 41 \left[(0.45)^4(0.55)+(0.45)(0.55)^4 \right]$$

$$ P_6=\binom 52 \left[(0.45)^4(0.55)^2+(0.45)^2(0.55)^4 \right]$$

$$ P_7=\binom 63 \left[(0.45)^4(0.55)^3+(0.45)^3(0.55)^4 \right]$$

The expected value is then

$$\mu = 4P_4+ 5P_5+ 6P_6+ 7P_7 $$

and the variance

$$ \sigma^2 = (4-\mu)^2P_4+ (5-\mu)^2P_5+ (6-\mu)^2P_6+ (7-\mu)^2P_7 $$