Unmeasured confounding between APOE (exposure) and dementia (mediator) or delirium (outcome) could be introduced by residual population stratification or linkage disequilibrium between APOE-ε4 and linked causal genetic variants. Here, APOE is linked to delirium.