Inheriting the genes associated with Alzheimer's or Huntington's disease is a risk factor. The depression and substance abuse also can lead to dementia. The statistical analysis shows people who are more creative, such as scientists and aritists, have the triple fold of probability to get depression. In my humble opinion, that may be the point why much higher percentage of professors and physicians get dementia when they are senior.