Independence means "learning one tells you nothing about the other"
Events and are independent if
When this is equivalent to : conditioning on leaves the probability of unchanged. The product definition is preferred because it is symmetric and still makes sense when .
Facts worth having ready:
- If and are independent, so are and : . The same holds for .
- An event of probability or is independent of every event.
- Disjoint is not independent. If with , then . Knowing happened tells you did not: that is strong dependence.
- Independence is a property of the measure, not the events' shapes. The same two events can be independent under one and dependent under another, which is why "the coin might be biased" changes everything below.
Pairwise is not mutual
Events are mutually independent if for every subcollection of two or more indices,
That is conditions: for three events, for four. Pairwise independence checks only the pairs, and it is strictly weaker.
Nor is the single condition enough on its own: take . Then both sides are for any and , including with , which are as dependent as events can be.
Worked example
pairwise independent, not mutually independent
Roll two fair dice. Let = "the first die is odd", = "the second die is odd", = "the sum is odd". Are pairwise independent? Mutually independent?
Show solutionHide solution
Each event has probability (for : the sum is odd exactly when one die is odd and the other even, probability ).
Pairs. : both odd, . : first odd and sum odd means first odd and second even, . By symmetry also has probability . So the three events are pairwise independent.
Triple. If both dice are odd the sum is even, so and
Not mutually independent: any two of the events determine the third. The structure is parity: is the XOR of and .
The XOR fact generalises and is behind several puzzles. If is a fair bit independent of (whatever 's distribution), then is a fair bit independent of , because for each . One fair coin makes the parity of any collection fair.
Knowledge check
Two events have and and are mutually exclusive. Which statement is correct?
Conditional independence
and are conditionally independent given if
Conditional and marginal independence are logically unrelated: either can hold without the other.
Conditionally independent, marginally dependent: a hidden common cause. Choose a coin at random, fair or double-headed, and flip it twice. Given the coin, the flips are independent. Without knowing the coin, a first head is evidence for the double-headed coin, which raises the chance of a second head:
so . Repeated draws from an unknown distribution behave like this: independent given the parameter, dependent marginally. Defaults of firms exposed to the same economy, or returns of stocks driven by the same factor, follow the same pattern.
Marginally independent, conditionally dependent: conditioning on a common effect. Flip two fair coins independently and condition on "at least one head". Now , yet : learning the second coin was heads "explains away" the observation and makes a first head less necessary. This is Berkson's paradox. If a fund hires analysts who are strong at either modelling or communication, the two skills look negatively correlated among the hires even if they are independent in the population.
Knowledge check
A bag holds two fair coins and one double-headed coin. You draw one at random and flip it twice. Given the first flip is heads, what is the probability the second flip is heads?
Simpson's paradox
The law of total probability says an aggregate rate is a weighted average of group rates:
The weights depend on . If one option is used mostly in a hard group and the other mostly in an easy group, the first can win inside every group and still lose in aggregate. This reversal is Simpson's paradox. It requires both ingredients: the group mix differs between options, and the group affects the outcome.
Worked example
two strategies across two regimes
A desk records trades from two strategies, split by market regime.
| Calm | Volatile | Total | |
|---|---|---|---|
| Strategy X | 18 wins / 20 | 40 wins / 80 | 58 / 100 |
| Strategy Y | 68 wins / 80 | 9 wins / 20 | 77 / 100 |
Which strategy has the better win rate?
Show solutionHide solution
Within regimes, X wins: vs in calm markets and vs in volatile ones.
In aggregate, Y wins: vs .
Both statements are arithmetic facts. The reversal comes from the weights: X traded of the time in the volatile regime, where everyone wins less, while Y traded of the time in the calm regime. X's aggregate is ; Y's is .
To compare like with like, apply both strategies' regime-level rates to a common mix. With a 50/50 mix, X scores and Y scores . X is better at any mix, since it is better in each regime.
Which comparison is "right" depends on the causal story, not the table. If the regime drives both which strategy fired and how likely a win is (a confounder), compare within regimes. If the strategy itself caused the regime split, for example a strategy whose own trading moves the market into volatility, the grouping variable is a consequence of the choice and the aggregate may be the relevant number. Say this out loud in an interview: it is the answer they want.
Knowledge check
Treatment A has a higher success rate than treatment B among young patients and among old patients, but a lower success rate overall. What must be true?
Common interview traps
- Treating disjoint as independent. They are opposites when both events have positive probability.
- Draws without replacement are dependent: the second card's distribution depends on the first. They are exchangeable (every order equally likely), which is often what you actually need.
- Unknown parameters make repeated trials dependent. "The coin may be biased" or "a coin drawn from a bag" turns independent flips into conditionally independent ones.
- Checking only pairs when an argument needs mutual independence (for example, multiplying three probabilities).
- Uncorrelated is not independent for random variables: uniform on and have zero covariance but is a function of .
- Conditioning on a selection (survivors, hires, funds still reporting) can create dependence that is not there in the population.
Key takeaways
- independent iff ; complements inherit independence; disjoint events with positive probability are dependent.
- Mutual independence of events needs product conditions; pairwise independence is weaker, as the XOR example shows.
- Conditional and marginal independence are distinct: a hidden common cause creates marginal dependence, conditioning on a common effect creates conditional dependence.
- Simpson's paradox is the law of total probability with different weights; resolve it with a causal argument, then compare at a common mix.
Practice problems
Finished reading?
Answer the 3 knowledge checks to complete this lesson (0 done).