Study design and participants
We used data from the UK Biobank which is a large population-based prospective cohort study that recruited over 502 000 participants aged 40–70 years from 2006 to 2010 [23]. Written informed consent was obtained for collection of questionnaire and biological data. UK Biobank received ethical approval from the UK National Health Service’s National Research Ethics Service (ref 11/NW/0382). This research was conducted under UK Biobank application number 68369. A prospective design was adopted based on participants with no dementia at baseline, and if a participant had dementia during follow-up and also experienced T2DM, his/her diagnosis of T2DM had to be in advance of dementia. Finally, 459 840 people were included in this prospective analysis (Figure S1). This study is reported as per the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) guidelines.
Assessment Of Type 2 Diabetes And Lifestyle Factors
Physician-diagnosed T2DM was ascertained from linkage data to primary care, hospital admission and death register records. The International Classification of Diseases 10th Edition (ICD-10) code E11 and ICD-9 code 250 were used to identify participants with T2DM. Insulin use status was self-reported. Specific field IDs or ICD codes for T2DM were listed in Table S1.
All lifestyle information was self-reported at baseline. In our study, we considered 7 low-risk behaviors recommended in diabetes management guidelines [5] and ever used in previous studies [10–12, 15, 16], including smoking, physical activity, social connection, alcohol consumption, sedentary behavior, sleep duration and diet, to generate an overall lifestyle score. Definitions and field IDs of each lifestyle factor were listed Table S2. Never smoker, regular physical activity, not socially isolated, moderate drinking on a relatively regular frequency [24], watching TV for less than four hours every day [25], 6–9 h/day of sleep duration [26], an adequate intake of at least 6 of 10 food types [27] were viewed as low risk behavior. For each behavioral factor, a low risk level was assigned 1 point and otherwise 0 point. An overall lifestyle score was constructed as the sum of all seven factors, ranging from 0 to 7, with a higher score indicating better adherence to an overall healthy lifestyle. For avoidance of extreme groups with limited cases, the lifestyle score was subsequently categorized into four groups (0–1, 2–3, 4 and 5–7).
Assessment Of Outcomes
The outcome variable was incident all-cause dementia including dementia subtypes of Alzheimer's disease (AD), Vascular dementia (VD) and Non-Alzheimer non-vascular dementia (NAVD). The ICD-10 codes F00, F01, F02, F03, G30, G31·0, G31·1, G31·8 and ICD-9 code 290·1 were used to identify participants with all-cause dementia if one or more of these codes were recorded as a primary or secondary diagnosis in the health records. Incident AD was defined by ICD-10 codes F00, G30 and ICD-9 code 290·1. Incident VD was defined by ICD-10 code F01. Incident NAVD was defined by ICD-10 codes F02, F03, G31·0, G31·1 and G31·8. Outcome adjudication for incident dementia was conducted by the UK Biobank Outcome Adjudication team. Specific field IDs or ICD codes dementia types were listed in Table S1.
Assessment Of Covariates
We included the following factors in the analyses as covariates according to evidence from previous studies: age of follow up, race/ethnicity, years of education, income level, BMI, hypertension status, APOE4 allele status, Hemoglobin A1c (HbA1c) level, cardiovascular diseases (CVD) status and depressive status. Race/ethnicity was categorized as white and non-white. Years of education was categorized as ≤ 10, 11–12, and > 12 years. Income level was divided into four categories of level 1 (Less than£18,000), level 2 (£18,000 to £30,999), level 3 (£31,000 to £51,999) and level 4 (greater than 52,000). BMI was calculated as weight in kilograms divided by the square of height in meters and categorized according to the World Health Organization criteria as < 18.5 kg/m2, 18.5 to 24.9 kg/m2, 25 to 29.9 kg/m2, and ≥ 30 kg/m2. Hypertension status was dichotomized as present or absent based on self-report at baseline. APOE allele status was based on two single nucleotide polymorphisms (SNPs): rs7412 and rs429358. Participants with APOE e4 allele (e3/e4, e4/e4 and occasionally e2/e4 genotypes) were compared with those with the e2/e2, e2/e3 or e3/e3 genotype. HbA1c level was divided into two categories based on the target of less than 7% or not. CVD or depressive status was dichotomized as present or absent based on hospital medical records at baseline.
Statistical Analyses
Baseline characteristics were presented as means and standard deviation (SD) for continuous variables and as percentages (%) for categorical variables. Cox proportional hazards regression models were used to estimate the hazard ratios (HR) and 95% confidence intervals (CI) of the effect of lifestyle score on all-cause and case-specific dementia of AD, VD and NAVD. People without T2DM were used as the reference group, to compare the effect of lifestyle score in people with T2DM. The proportional hazards (PH) assumption was tested graphically using a plot of the log cumulative hazard, where the logarithm of time is plotted against the estimated log cumulative hazard. The curves for different lifestyle score categories were approximately parallel, thus the PH assumption was deemed reasonable. Hospital inpatient data and death data were censored on the 30 January 2021 or when death, fatal or non-fatal dementia was recorded. For participants who experienced a dementia, follow-up time was calculated as their age when dementia was diagnosed minus baseline age; for participants without experiencing dementia, follow-up time was defined as their age at last follow-up (censored date) minus baseline age. First, we analyzed the effect of lifestyle score on all-cause and case-specific dementia, using people without T2DM as the reference group. Second, given that dementia generally occurs at older ages, we restricted analysis to individuals aged at least 60 years at baseline. Third, considering the varying degrees of associations between each single factor and dementia risk in people with T2DM, we constructed a weighted lifestyle score that gave equal weight to each lifestyle factor. Fourth, in people with T2DM, to examine how diabetes duration moderate the association between healthy lifestyle score and dementia, we stratified the analyses by diabetes duration of < 10 years, 10–15 years, and ≥ 15 years. Last, in people with T2DM, we examined the role of insulin use on the association between healthy lifestyle score and dementia. All HRs (95% CI) were adjusted for age at last follow up, sex, race/ethnicity, years of education, income level, BMI, hypertension status, HbA1c level, APOE4 allele status, CVD status and depression status.
All analyses were performed using SAS version 9.4 and a 2-sided P < 0.05 was set as the threshold for statistical significance.