Suitability of random forest analysis for epidemiological research: Exploring sociodemographic and lifestyle-related risk factors of overweight in a cross-sectional design
- 30 October 2017
- journal article
- research article
- Published by SAGE Publications in Scandinavian Journal of Public Health
- Vol. 46 (5) , 557-564
Abstract
Aims: Factors that contribute to the development of overweight are numerous and form a complex structure with many unknown interactions and associations. We aimed to explore this structure (i.e. the mutual importance or hierarchy of sociodemographic and lifestyle-related risk factors of being overweight) using a machine-learning technique called random forest (RF). The results were compared with traditional logistic regression (LR) analysis. Methods: The cross-sectional FINRISK 2007 Study included 4757 Finns (aged 25–74 years). Information on participants’ lifestyle and sociodemographic characteristics were collected with questionnaires. Diet was assessed, using a validated food-frequency questionnaire. Height and weight were measured. Participants with a body mass index (BMI) ≥25 kg/m2 were classified as overweight. R-statistical software was used to run RF analysis (‘randomForest’) to derive estimates for variable importance and out-of-bag error, which were compared to a LR model. Results: In total, 704 (32%) men and 1119 (44%) women had normal BMI, whereas 1502 (69%) men and 1432 (57%) women had BMI ≥25. Estimated error rates for the models were similar (RF vs. LR: 42% vs. 40% for men, 38% vs. 35% for women). Both models ranked age, education and physical activity as the most important risk factors for being overweight, but RF ranked macronutrients (carbohydrates and protein) as more important compared to LR. Conclusions: RF did not demonstrate higher power in variable selection compared to LR in our study. The features of RF are more likely to appear beneficial in settings with a larger number of predictors.Keywords
Funding Information
- Terveyden Tutkimuksen Toimikunta (136895 and 263836)
This publication has 25 references indexed in Scilit:
- Global obesity: trends, risk factors and policy implicationsNature Reviews Endocrinology, 2012
- Random forests for genomic data analysisGenomics, 2012
- Lifestyle patterns associated with diet, physical activity, body mass index and amount of recent weight loss in a sample of successful weight losersInternational Journal of Behavioral Nutrition and Physical Activity, 2012
- Relative validity of a FFQ in measuring carbohydrate fractions, dietary glycaemic index and load: exploring the effects of subject characteristicsBritish Journal of Nutrition, 2011
- National, regional, and global trends in body-mass index since 1980: systematic analysis of health examination surveys and epidemiological studies with 960 country-years and 9·1 million participantsThe Lancet, 2011
- Dietary survey methodology of FINDIET 2007 with a risk assessment perspectivePublic Health Nutrition, 2010
- Thirty-five-year trends in cardiovascular risk factors in FinlandInternational Journal of Epidemiology, 2009
- Diet quality – what is it and does it matter?Public Health Nutrition, 2009
- Validity of a food frequency questionnaire varied by age and body mass indexJournal of Clinical Epidemiology, 2006
- Behavioural determinants of the obesity epidemicAsia Pacific Journal of Clinical Nutrition, 2002