Conditioning restricts the world
The conditional probability of given is
Read it as: among the outcomes where happened, what fraction also have ? Conditioning throws away every outcome inconsistent with what you learned and renormalises what is left.
Two consequences are used constantly:
- Multiplication rule: .
- Law of total probability: if partition the sample space,
Bayes' theorem
Combining the two rules gives Bayes' theorem, which reverses the direction of conditioning:
is the prior, the likelihood, and the posterior. In odds form, which is often faster in an interview:
Worked example
a biased coin in the bag
A bag holds 9 fair coins and 1 coin with heads on both sides. You draw a coin at random and flip it three times, getting three heads. What is the probability you drew the double-headed coin?
Show solutionHide solution
Prior odds (double : fair) are . The likelihood ratio for three heads is . Posterior odds are , so
Each additional head doubles the odds: after ten heads the posterior is .
Knowledge check
A trader is right 60% of the time when markets are trending and 45% of the time otherwise. Markets trend 40% of the time. Given the trader was right today, which expression is ?
How information arrives matters
The same words can describe different conditioning events. "At least one child is a boy" conditions on the event and gives . "The older child is a boy" conditions on and gives .
In Monty Hall the host's choice is not random — he never reveals the prize — so his action carries information. Whenever a puzzle involves someone choosing what to reveal, model their selection rule explicitly.
Knowledge check
In the classic three-door Monty Hall game, what is the probability of winning if you always switch?
Practice problems
Finished reading?
Answer the 2 knowledge checks to complete this lesson (0 done).