Fig. 2

Schematic representation of the interaction and mediation analysis framework
Legends: A, directed acyclic graph (DAG). B, four-way decomposition diagram. X, BMI as the exposure variable. M, NHHR as the mediator variable. Y, depression or PHQ-9 score as the outcome. C, covariate. X*M, interaction term between the independent variable and the mediator variable. Abbreviation: TE: total effect; CDE: controlled direct effect; INTref: reference interaction; INTmed: mediated interaction; PIE: pure indirect effect