In a hospital study of 1,000 patients split evenly between mild () and severe () cases, recovery rates for treated () vs untreated () patients are vs among mild cases and vs among severe cases. How do these numbers exhibit Simpson’s paradox, what is the causal DAG and backdoor-adjusted effect , and why does adjusting for a collider instead of a confounder introduce bias?
ML systems and evaluation, Causal inference
Level L4 Advanced. Length Long. Nature Th+Mat Both.
What's being asked
Whether you can work through Simpson’s paradox numerically, apply Pearl’s backdoor adjustment formula, and distinguish confounders from colliders.
Key idea
In the causal DAG , , , severity is a confounder; naive pooling reverses the sign of the treatment effect, whereas the backdoor formula recovers the true causal effect.
Steps
- Check subgroup rates: for mild patients (), recovery is () vs (), a benefit; for severe patients (), recovery is () vs (), also a benefit.
- Compute naive pooled rates: treated overall is ; untreated overall is . The naive difference is , falsely making the drug look harmful (Simpson’s paradox, because doctors gave the drug mostly to severe cases).
- State the causal DAG (, , ), where confounder creates the non-causal backdoor path . Conditioning on blocks this path, so Pearl’s backdoor adjustment with and gives and .
- Conclude the causal average treatment effect is : the drug increases recovery by 10 percentage points.
- Contrast with a collider (): while conditioning on a confounder blocks a non-causal backdoor path, conditioning on a common effect (collider) opens a spurious path between and , creating selection bias (Berkson’s paradox).
Common mistakes
- Assuming you should always adjust for every available pre- or post-treatment variable; adjusting for a collider or a post-treatment mediator breaks causal identification.
- Weighting subgroup differences by instead of the marginal in the backdoor formula.
How long your answer should be
Half a page with the arithmetic, DAG paths and collider contrast; 6–8 minutes.
Last checked on 4 December 2026.
Read this
Previous in ML systems and evaluation: In knowledge distillation, the student minimises , where uses temperature . How do you derive the gradient of with respect to student logit in the high-temperature limit to show why the multiplier is needed?
Next in ML systems and evaluation: What is -differential privacy, and why does the Laplace mechanism satisfy it? For a counting query (sensitivity ) released with the Laplace mechanism at , what are the noise scale , variance, standard deviation, and tail probability , and how do privacy and accuracy change across repeated queries?