Conditional Probability
The Intuition
New information changes probabilities. If we roll a die and learn the result is even, the probability of rolling 6 changes from to .
Conditional probability formalises this: given that some event occurred, what is the probability of another?
Definition
The conditional probability of given (with ) is:
Interpretation: We restrict our attention to outcomes where occurs. The probability of is then the relative proportion of these outcomes that also lie in .
Equivalent Forms
Rearranging:
This is useful for computing joint probabilities: decompose into conditional times marginal.
Similarly:
Properties
Conditional probability satisfies all probability axioms:
- for all
- for disjoint
Conditional on , we have a valid probability measure on the restricted sample space .
Examples
Example 1: Dice
Roll two dice. Given that the sum is 7, what is the probability the first die shows 4?
Let = “first die is 4”, = “sum is 7”. The outcomes in are: .
Out of these 6 equally likely outcomes, only has first die 4.
Compare: (unconditionally). In this case, knowing the sum is 7 doesn’t change the probability.
Example 2: Cards
Draw two cards without replacement from a standard deck. Given the first card is a heart, what is the probability the second card is a heart?
Let = “second card is a heart”, = “first card is a heart”.
After drawing a heart first, 12 hearts remain out of 51 cards.
Compare: (unconditionally, by symmetry).
Example 3: Medical Tests
A test for a disease has 99% sensitivity (true positive rate) and 95% specificity (true negative rate). Disease prevalence is 1%. What is the probability of having the disease given a positive test?
Let = “has disease”, = “tests positive”.
We want .
where
Despite a positive test, there’s only a 16.7% chance of having the disease, due to low prevalence.
The Chain Rule
For multiple events:
This decomposes complex joint probabilities into simpler conditional probabilities.
Example: Drawing Without Replacement
Draw 3 cards from 52 without replacement. Probability all are spades:
Common Misconceptions
Confusion with Inverse
in general.
In the medical test example:
- (sensitivity)
- (much smaller)
The Prosecutor’s Fallacy
Confusing with . A small false positive rate doesn’t guarantee a small probability of innocence.
Conditioning as Restriction
Conditional probability can be understood as:
- Restrict the sample space to
- Renormalise probabilities so they sum to 1
For equally likely outcomes:
Count outcomes in , divide by outcomes in .
Summary
| Concept | Formula |
|---|---|
| Definition | |
| Product rule | |
| Chain rule |