Combining machine learning and conventional statistical approaches for risk factor discovery in a large cohort study

Sci Rep. 2021 Nov 26;11(1):22997. doi: 10.1038/s41598-021-02476-9.

Abstract

We present a simple and efficient hypothesis-free machine learning pipeline for risk factor discovery that accounts for non-linearity and interaction in large biomedical databases with minimal variable pre-processing. In this study, mortality models were built using gradient boosting decision trees (GBDT) and important predictors were identified using a Shapley values-based feature attribution method, SHAP values. Cox models controlled for false discovery rate were used for confounder adjustment, interpretability, and further validation. The pipeline was tested using information from 502,506 UK Biobank participants, aged 37-73 years at recruitment and followed over seven years for mortality registrations. From the 11,639 predictors included in GBDT, 193 potential risk factors had SHAP values ≥ 0.05, passed the correlation test, and were selected for further modelling. Of the total variable importance summed up, 60% was directly health related, and baseline characteristics, sociodemographics, and lifestyle factors each contributed about 10%. Cox models adjusted for baseline characteristics, showed evidence for an association with mortality for 166 out of the 193 predictors. These included mostly well-known risk factors (e.g., age, sex, ethnicity, education, material deprivation, smoking, physical activity, self-rated health, BMI, and many disease outcomes). For 19 predictors we saw evidence for an association in the unadjusted but not adjusted analyses, suggesting bias by confounding. Our GBDT-SHAP pipeline was able to identify relevant predictors 'hidden' within thousands of variables, providing an efficient and pragmatic solution for the first stage of hypothesis free risk factor identification.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Aged
  • Cognition Disorders / epidemiology
  • Cognition Disorders / mortality*
  • Cohort Studies
  • Databases, Factual*
  • Female
  • Humans
  • Life Style*
  • Machine Learning*
  • Male
  • Middle Aged
  • Mortality / trends*
  • Risk Factors
  • Smoking / epidemiology
  • Smoking / mortality*
  • United Kingdom / epidemiology