“…Detailed statistical methodology for mediation analysis is generally constructed under the counterfactual framework, which is also known as the potential outcome framework or Rubin’s model [64] , [65] , [86] , [87] , [88] , [89] , [90] , [91] , [92] , developed in the field of causal statistical inference. The counterfactual framework facilitates methodological establishment for mediation analysis to accommodate different outcome types that include continuous [64] , [65] , [69] , [70] , binary [76] , [88] , [93] and survival outcomes with censoring [74] , [80] , [92] , [94] , [95] , [96] , as well as to account for possible interactions between exposure and mediator [64] , [88] . Under the counterfactual framework, mediation analysis makes further modeling assumptions to effectively represent the relationship among the exposure, mediator, and outcome through a directed acyclic graph that links the exposure to the outcome through the mediator (see below) [97] , [98] .…”