Associations in UKB were not driven by individuals with early cognitive decline or APOE ε4 homozygotes, who have heightened genetic risk for Alzheimer’s disease and show earlier onset of cognitive decline50 (Extended Data Fig. 3 and Supplementary Table 4). This evidence concerns the gene APOE and Alzheimer disease.