Winning the Series
The Golden State Warriors are the basketball team for the Bay Area. The Warriors are going to play the Bucks (another professional basketball team) in a best of 7 series during the next NBA finals. They will win the series if you win at least 4 games. What is the probability that the warriors win the series? Each game is independent. Each game, the warriors have a 0.55 probability of winning.
This problem is equivalent to: Flip a biased coin 7 times (with a

Note: without loss of generality you could imagine that the two teams always play all 7 games, regardless of the outcome. Technically they stop playing after one team has achieved 4 wins, because the outcomes of the games no longer impact who wins. However, you could imagine that they continue.
What is the probability that the warriors win the series? Leave your answer to 3 decimal places
A critical step is to define a random variable and to recognize it is a Binomial. Let
To answer this question, first recognize that:
Each of these probabilities are PMF questions:
Here is that equation graphically. It represents the sum of these columns in the PMF:

At this point we have an equation that we can compute in order to find the answer. But how should we compute it? We could do it by hand! Or using a calculator. Or, we can use python, and specifically the scipy package:
from scipy import stats
pr = 0
# calculate the sum
for i in range(4, 8):
# this for loop gives i in [4,5,6,7]
pr_i = stats.binom.pmf(i, n = 7, p = 0.55)
pr += pr_i
print(f'P(X >= 4) = {pr}')
Which produces the correct answer:
P(X >= 4) = 0.6082877968750001
Buggy Solution
A good reason to study this problem is because of this common misconception for how to compute
Similar to how we defined a binomial distribution PMF equation (see: Many Coin Flips) we can construct outcomes of the seven game series where the warriors win.
We are going to choose 4 slots where the Warriors win, and we don't care about the rest. They could either be wins or losses. Out of 7 games, select 4 where the Warriors win. There are
This idea seems good, but it doesn't work. First of all, we can recognize that there is a problem by considering the outcome if we set
But what is wrong with this approach? Lets enumerate the 35 different outcomes that they are considering. Let B = we don't know who wins. Let W = the warriors win. Here each outcome is the assignment to each of the 7 games in the series:
(B, B, B, W, W, W, W) (B, B, W, B, W, W, W) (B, B, W, W, B, W, W) (B, B, W, W, W, B, W) (B, B, W, W, W, W, B) (B, W, B, B, W, W, W) (B, W, B, W, B, W, W) (B, W, B, W, W, B, W) (B, W, B, W, W, W, B) (B, W, W, B, B, W, W) (B, W, W, B, W, B, W) (B, W, W, B, W, W, B) (B, W, W, W, B, B, W) (B, W, W, W, B, W, B) (B, W, W, W, W, B, B) (W, B, B, B, W, W, W) (W, B, B, W, B, W, W) (W, B, B, W, W, B, W) (W, B, B, W, W, W, B) (W, B, W, B, B, W, W) (W, B, W, B, W, B, W) (W, B, W, B, W, W, B) (W, B, W, W, B, B, W) (W, B, W, W, B, W, B) (W, B, W, W, W, B, B) (W, W, B, B, B, W, W) (W, W, B, B, W, B, W) (W, W, B, B, W, W, B) (W, W, B, W, B, B, W) (W, W, B, W, B, W, B) (W, W, B, W, W, B, B) (W, W, W, B, B, B, W) (W, W, W, B, B, W, B) (W, W, W, B, W, B, B) (W, W, W, W, B, B, B)
It is in fact the case that the probability of any of these 35 outcomes is
The bug here is that these outcomes are not mutually exclusive, yet the answer treats them as such. In the many coin flips example, we constructed outcomes in the format (T, T, T, H, H, T, H). These outcomes are in fact mutually exclusive. Its not possible for two distinct lists of outcomes to simultaneously exist. On the other hand in the version where "B" stands for either team could win, the outcomes do have overlap. For example consider the two rows from the examples above:
(B, W, W, W, B, B, W) (B, W, W, W, B, W, B)
These could both occur (and hence are not mutually exclusive). For example if the warriors win all 7 games! Or the warriors win all games except for games 1 and 5. Both events are satisfied. Because the events are not mutually exclusive, if we want the probability of the "or" of each of these events we can not just sum the probabilities of each of the events (and that is exactly what