Fig. 4

Analysis of the mediation by metabolic indices of the associations of CMI and all-cause mortality and cardiovascular mortality. Association between MDS, mediation variables and all-cause mortality. (A-D) association between MDS, mediation variables and cardiovascular mortality. (E-H) Fully adjusted logistic regression models controlled for age, sex, race, blood glucose control, BMI, magnesium intake, heavy drinking, HbA1c, TC, TG, HDL-C, FBG, serum phosphorus, serum total calcium, statins use, insulin use, metformin use, diuretic use, PPI use, eGFR, hypertension and CVD. βA represents the effects of MDS on mediators; βB represents the effects of the mediators on outcomes; βC represents the effects of MDS on outcomes with mediators. Proportion of mediation was calculated via dividing indirect effect by direct effect. MDS: magnesium depletion score; AIP: atherogenic index of plasma; TyG: triglyceride and glucose index; eGDR: estimated glucose disposal rate; CMI, cardiometabolic index