Example

Good Control: X←Z→M→YX \leftarrow Z \rightarrow M \rightarrow Y

In the causal graph X←Z→M→YX \leftarrow Z \rightarrow M \rightarrow Y, ZZ is a good control variable because conditioning on it blocks the backdoor path X←Z→M→YX \leftarrow Z \rightarrow M \rightarrow Y. ZZ acts as a confounder since there is a directed path from ZZ to both the treatment XX and the outcome YY (with MM acting as a mediator). By controlling for ZZ, we effectively close this backdoor path and prevent bias.

0

0

Updated 2026-07-04

Tags

Data Science