APOE and dementia: After adjusting for education, smoking, presence of ApoE epsilon 4 alleles, and previous history of diabetes or stroke, the use of statins was found to be associated with a halved risk of dementia or cognitive impairment without dementia (HR, 0.52; 95% CI, 0.34-0.80).