borderline significantP = 0.070
The results of the mediation analysis by BMI in the association between trait impulsivity and the risk of developing type 2 diabetes showed a significant total effect (HR [95% CI] = 1.10 [1.00, 1.19]; P = 0.048), a borderline significant controlled direct effect when BMI was fixed at its mean (HR = 1.09 [0.99, 1.18]; P = 0.070), and a significant pure indirect effect (HR [95% CI] = 1.02 [1.01, 1.03]; P < 0.001) indicating a strong mediation effect of BMI (Additional file 3 : Fig.