Researchers compared participants who reported having obstructive sleep apnea with those who did not. Everyone completed computerized memory and attention tests, and researchers also calculated each person’s future dementia risk using a well-established tool called the CAIDE score. That score combines several factors known to influence dementia risk, including blood pressure, cholesterol, body weight, physical activity, and age.