Published August 27, 2026 | Version v1
Model Open

Central Obesity Indices and the Risk of Heart Disease, Type 2 Diabetes Mellitus, and Stroke: Findings from a Chinese Prospective Cohort

Authors/Creators

Description

This repository contains the computational code used for the analyses reported in the manuscript “Central Obesity Indices and the Risk of Heart Disease, Type 2 Diabetes Mellitus, and Stroke: Findings from a Chinese Prospective Cohort.”

The archived code includes scripts for data preprocessing, calculation of anthropometric indices, Cox proportional hazards regression, restricted cubic spline analysis, ROC analysis and DeLong tests, Double Machine Learning, Causal Forest analyses, subgroup analyses, and sensitivity analyses.

The study used data from the China Health and Retirement Longitudinal Study (CHARLS). The CHARLS data are not included in this archive and should be obtained from the official CHARLS repository in accordance with its data-access requirements.

Files

DML code.zip

Files (36.4 kB)

Name Size
md5:e2b45d28b4053b89891b5070845230c5
36.4 kB Preview Download