Sub topic 13
Conditional Probability, Independence, and the Total Probability Rule
Prerequisites and the working model
Assume you can work with percentages, fractions, and basic probability notation. An event is an outcome or group of outcomes. For example, event A might mean “a stock earns a positive return.” The probability of A is written P(A).
Conditional probability measures the chance of one event after another event is known to have occurred. It is written P(A|B), read as “the probability of A given B.”
Knowing B occurred changes the relevant set of outcomes. The conditional probability formula is:
P(A|B) = P(A and B) / P(B)
This formula requires P(B) to be greater than zero.
Addition and multiplication rules
The addition rule finds the probability that at least one of two events occurs:
P(A or B) = P(A) + P(B) - P(A and B)
The intersection, written A and B, contains outcomes shared by both events. Subtracting P(A and B) prevents those outcomes from being counted twice.
If A and B cannot occur together, they are mutually exclusive. In that special case:
P(A or B) = P(A) + P(B)
The multiplication rule finds the probability that both events occur:
P(A and B) = P(A|B) × P(B)
You can also write it as:
P(A and B) = P(B|A) × P(A)
| Situation | Formula | Column |
|---|---|---|
| Conditional probability | P(A\ | B) = P(A and B) / P(B) |
| Addition rule | P(A or B) = P(A) + P(B) - P(A and B) | |
| Multiplication rule | P(A and B) = P(A\ | B) × P(B) |
Independence
Events A and B are independent when knowing that one occurred does not change the probability of the other:
P(A|B) = P(A)
For independent events, the multiplication rule becomes:
P(A and B) = P(A) × P(B)
Mutually exclusive events are usually not independent. If two events cannot occur together and both have positive probabilities, learning that one occurred makes the other impossible.
A common error is to use P(A) × P(B) without checking independence. When events are dependent, use the appropriate conditional probability instead.
Total probability rule
Suppose scenarios B1, B2, and B3 are mutually exclusive and cover every possible state. They form a partition of the outcomes. The total probability rule combines conditional probabilities across those scenarios:
P(A) = P(A|B1)P(B1) + P(A|B2)P(B2) + P(A|B3)P(B3)
For example, suppose the probabilities of expansion, stable conditions, and recession are 0.20, 0.50, and 0.30. The probabilities of a positive return in those conditions are 0.60, 0.25, and 0.10.
scenario_probabilities = [0.20, 0.50, 0.30]
positive_return_probabilities = [0.60, 0.25, 0.10]
positive_return = sum(
scenario * conditional
for scenario, conditional in zip(
scenario_probabilities,
positive_return_probabilities,
)
)
print(round(positive_return, 4)) # 0.275The unconditional probability of a positive return is 0.275, or 27.5 percent. The rule is useful whenever an event’s probability depends on which scenario occurs.
Exercise
Expansion has probability 0.30, and a positive return has conditional probability 0.50 during expansion. Recession has probability 0.70, and a positive return has conditional probability 0.10. What is the unconditional probability of a positive return?
Show answer
P(positive return) = (0.50 × 0.30) + (0.10 × 0.70) = 0.22, or 22%.