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. This evidence concerns the gene APOE and dementia.