Learn / Track I / lesson 2 of 4
Conditional probability and Bayes' rule
How to update a belief when new evidence arrives — the single most-tested idea in quant interviews, and the core of every signal.
A trading signal is evidence. The question is never “is the signal on?” but “given that the signal is on, how likely is the outcome I care about?” That is a conditional probability.
Conditional probability
The probability of given that has happened is
You restrict the universe to the cases where is true, and ask what fraction of those also have .
Bayes’ rule
Rearranging the definition both ways gives Bayes’ rule:
with the denominator usually expanded by the law of total probability:
The pieces have names. is the prior (what you believed before), is the likelihood (how expected the evidence is if is true), and is the posterior.
A crash-warning model flags 95% of real crashes, and falsely flags 10% of normal weeks. Crashes happen in 2% of weeks. The model is flashing. How worried should you be?
The “95% accurate” model is wrong about five times in six when it fires, because the thing it detects is rare. This is base-rate neglect, and it explains most disappointing signals.
Thinking in odds
Bayes is cleaner in odds form. Writing :
Posterior odds equal prior odds times the likelihood ratio. In the example the prior odds are , the likelihood ratio is , so the posterior odds are , about 16%. Each new independent piece of evidence simply multiplies in another likelihood ratio, which is why combining several weak, independent signals can be powerful.
Independence
and are independent when , equivalently . Markets break independence constantly: large moves cluster, assets that look unrelated move together in a crisis. Treat independence as an assumption to be checked, never a default.
Confusing with . “Most big winners had high momentum” is . What you trade on is , which can be far smaller if most high-momentum stocks don’t become big winners.
Interview classics
- Two children. A family has two children and at least one is a boy. The probability both are boys is , not : of the equally likely cases BB, BG, GB, only one of the three remaining is BB.
- Monty Hall. You pick a door; the host, who knows where the car is, opens a different door showing a goat. Switching wins with probability , because your first pick was right only of the time and the host’s action never changes that.
- The biased coin. One of 100 coins is double-headed. You draw one at random and flip ten heads. The posterior that it’s the double-headed coin is .
Practise more in the question bank.