Fig. 2: Association of presence, site and setting (GP and hospital) with changes in cognitive performance over follow-up.

Linear mixed models with random intercept and slope used to illustrate fitted changes in cognitive function over time for the mean correct response time, visual memory (log transformed) and fluid intelligence test. A Mean correct response time models adjusted for age (years), sex, time, baseline test score, interaction term with time × infection status, ethnicity, BMI, years in full-time education, physical activity, alcohol consumption, diabetes, anxiety and depression, COPD, multiple sclerosis, hypertension and heart failure. B Visual memory models adjusted for age (years), sex, time, baseline test score, interaction term with time × infection status, ethnicity, BMI, smoking status, socioeconomic deprivation, physical activity, alcohol frequency, years in full-time education, diabetes, anxiety and depression, COPD, hypertension, inflammatory bowel disease, rheumatoid arthritis, obstructive sleep apnoea, and multiple sclerosis. C Fluid intelligence models adjusted for age (years), sex, time, baseline test score, interaction term with time × infection status and years in full-time education.