We used joint models to examine the association of APOE genotype with cognitive function trajectories between 45 and 85 years taking drop-out, dementia, and death into account and Fine and Gray models to examine associations with dementia. This evidence concerns the gene APOE and dementia.