Confounder (source code)

= Confounder

A <confounder> is a pretreatment variable relevant to removing <confounding> for a specified <treatment>-outcome question. A common cause $C$ with arrows $A\leftarrow C\rightarrow Y$ is a basic example: it creates a <backdoor path> between <treatment> $A$ and outcome $Y$.

Association with both variables is not a sufficient definition. In an appropriate <causal directed acyclic graph>, conditioning on a common effect can instead introduce <collider bias>. A <confounder> is a causal adjustment role, rather than any predictor with a small <p-value>.

One precise definition identifies a <confounder> as a member of some <minimal sufficient adjustment set>: there is a set containing $C$ that makes the relevant <potential outcomes> independent of <treatment>, and no proper subset of that set does so. The role can therefore depend on which other <covariates> are available and on the effect being estimated. A variable that merely reduces residual bias need not satisfy this definition.<On the definition of a confounder by Tyler J. VanderWeele and Ilya Shpitser>[Sections 1–3 and concluding remarks: association-only criteria and the minimally sufficient adjustment-set definition]{ref}