Mental model
M-Bias
A subtle form of bias that occurs when you mistakenly control for a variable that appears to be a confounder but is actually a collider, opening spurious causal pathways.
Discover
When analyzing whether a new education program affects student success, you might be tempted to adjust for 'parental involvement' since it correlates with both. But what if that choice actually creates a false association instead of revealing the truth?
What should you check before adjusting?
Understanding causal graphs prevents costly analytical mistakes.
Understand
Understand
M-bias is a tricky problem that happens when researchers control for a variable that seems helpful but actually makes their analysis worse. The variable appears in the middle of an M-shaped diagram, with two invisible causes pointing down to it. The safest approach is controlling for variables that are known causes of either the factor you're studying or the result you're measuring, not just anything correlated with both. Notice this: the most dangerous variables in your analysis are the ones that seem most innocent.
Full explanation
Full explanation
M-bias reveals a counterintuitive truth: sometimes controlling for more variables makes your answers less accurate. In a classic M-structure, your exposure and outcome each have their own unmeasured causes, and those two causes both affect some third variable—the collider. This creates an M-shape when drawn as a diagram. The collider sits at the bottom center, receiving arrows from two unmeasured variables that each also point to either exposure or outcome.
The practical implications extend far beyond academia. In policy evaluation, controlling for 'neighborhood conditions' when assessing a housing program might create bias if those conditions are caused by separate pre-treatment factors affecting both program placement and outcomes. The key insight: variables downstream from your causal system are dangerous adjustment targets.
Ding and Miratrix's sensitivity analysis shows that in linear models, M-bias magnitude tends to be relatively small compared to actual confounding bias. This suggests that when uncertain about a variable's role, you're usually safer adjusting for potential confounders than avoiding adjustment entirely. However, the bias can still be substantial in nonlinear settings or when the collider is strongly associated with its causes. The safest strategy follows VanderWeele's 'disjunctive cause criterion': adjust for variables that are known causes of the exposure, outcome, or both. The criterion itself is to adjust for variables known to cause the exposure, the outcome, or both. Handling of known pure instruments is a separate modeling choice, not what makes the criterion M-bias-safe. The R ggdag documentation illustrates similar bias structures, including M-bias patterns.
Research
Research
M-bias represents a specific DAG structure where a pretreatment collider creates bias when conditioned upon, formalized in the causal inference literature by Pearl. The structure consists of two unmeasured variables: one causes the exposure and the collider, and the other causes the outcome and the collider. When this collider is adjusted for, it opens a backdoor path A ← U1 → C ← U2 → Y, where C is the collider and U1, U2 are unmeasured.
- Ding and Miratrix (2015): In linear structural equation models, the magnitude of M-bias tends to be relatively small compared to confounding bias, suggesting that adjusting for a potential M-structure collider is generally less harmful than failing to adjust for a true confounder [1].
- VanderWeele (2019): The 'disjunctive cause criterion'—controlling for variables that cause the exposure, outcome, or both—avoids M-bias while still controlling confounding, as it excludes colliders that are not causes of either exposure or outcome [2].
- Elwert and Winship (2014): Collider bias represents a broader category of selection bias that includes M-bias as a special case; conditioning on colliders (or their descendants) always induces association between their causes [3].
The M-Structure can be distinguished from classical confounding because the collider (M) has no causal effect on either exposure or outcome—it is merely a common effect. This differs from 'butterfly bias' or 'bow-tie bias,' where the variable is both a collider and a genuine confounder.
Limitations
Limitations
M-bias assumes you can correctly identify the causal structure, which is rarely possible in practice. Real-world variables often play multiple roles simultaneously—something might be a slight confounder AND a slight collider. The theoretical results about M-bias being 'small' rely on linear models and specific distributional assumptions that may not hold in your data. When effects are nonlinear or interactions exist, collider bias can be substantially larger. Additionally, these results assume perfect measurement; if variables are measured with error (which they almost always are), controlling for even genuine confounders may not fully block backdoor paths, and the distinction between confounders and colliders becomes blurrier. Most critically, you rarely know whether unmeasured variables exist or what the true causal structure is—DAG-based reasoning is only as good as your domain knowledge.
Try it
Synthesize
Choose a pattern from the guide, then pick an action to try with it.
Which pattern stands out?
What will you try?
Choose a pattern above to select an action.
Sources
Sources
- [1] To Adjust or Not to Adjust? Sensitivity Analysis of M-Bias and Butterfly-BiasPeng Ding and Luke W. Miratrix - 2015
- [2] Principles of Confounder SelectionTyler J. VanderWeele - 2019
- [3] Endogenous Selection Bias: The Problem of Conditioning on a Collider VariableFelix Elwert and Christopher Winship - 2014
- [4] Causality: Models, Reasoning, and InferenceJudea Pearl - 2009
- [5] Common Structures of BiasMalcolm Barrett - 2024
Try it
Check your understanding
A researcher studies whether a new hiring practice affects employee performance. They consider adjusting for 'department budget' because it correlates with both. The department's budget is determined by company revenue (which influences whether departments adopt new practices) and historical hiring needs (which affect employee performance). What happens if they adjust for department budget?
Show the guide's explanation
Answer: They introduce M-bias by opening a spurious backdoor path
Department budget is a collider: it's caused by both company revenue (affecting adoption of new practices) and historical hiring needs (affecting performance). When you adjust for a collider, you induce correlation between its causes, opening the backdoor path Hiring Practice ← Revenue → Budget ← Historical Needs → Performance. The M-structure creates a false association between variables that were previously independent.
Which strategy best protects against M-bias while still controlling confounding?
Show the guide's explanation
Answer: Adjust for variables known to cause either the exposure or outcome (or both)
VanderWeele's 'disjunctive cause criterion' protects against M-bias because colliders in an M-structure don't cause either the exposure or outcome—they're caused by other variables. By only adjusting for causes of exposure or outcome, you avoid colliders. The 'pre-treatment' criterion fails because colliders can be pre-treatment, statistical approaches can mistake correlation for causation, and avoiding all adjustment leaves real confounding unaddressed.
You're reading a study that adjusted for 'maternal education' when examining the effect of childhood nutrition on adult income. The authors justify this because maternal education correlates with both. The study finds a strong effect. What should you consider about whether adjustment for maternal education could introduce M-bias?
Show the guide's explanation
Answer: M-bias is possible if maternal education is caused by separate factors affecting nutrition and income
M-bias depends on causal direction, not timing. Maternal education could be a collider if two separate unmeasured factors cause it—one that also affects childhood nutrition (e.g., family health traditions) and another that also affects adult income (e.g., community economic conditions). The DAG would be: Nutrition ← U1 → Maternal Ed ← U2 → Income, where U1 and U2 are unmeasured causes, creating an M-shape where adjusting for maternal education induces bias. The question is what causes maternal education, not what it causes.
Keep exploring
Find another idea for the decision in front of you.
The complete Reframo library is free to read. Explore another guide whenever you are ready.