Abstract
This code includes the statistical analysis for my study on “Independent and combined effects of depressive symptoms and cardiometabolic risk factors on dementia incidence”. It was created as part of my PhD research on “The role of depressive symptoms and cardiometabolic risk factors in the prediction of dementia: a cross-country comparison in England, the United States and China”. The analysis was performed in Stata version 16 and contains code Cox proportional hazards regression. The code is created using three publicly available population-based databases: the English Longitudinal Study of Ageing (ELSA), Health and Retirement Study (HRS), China Health and Retirement Longitudinal Study (CHARLS).