We implemented a mediation analysis to estimate how much of the APOE-ε4 genetic effect on delirium is mediated by dementia, adjusted for age and sex (Fig. 4). Here, APOE is linked to dementia.