SEM suggested that type 2 diabetes, age, and the ApoE ε4 allele (ApoE-ε4) can affect cognition via reduced subcortical structure volumes (total effect: age > ApoE-ε4 > type 2 diabetes). The gene discussed is APOE; the disease is type 2 diabetes mellitus.