“…c By using the compound potential outcomes (or nested counterfactuals), the total effect of A on Y in the population of interest is given as E[𝑌(1, 𝑀(1))] − E[𝑌(0, 𝑀(0))] on the risk difference scale. As mentioned in section 4.2 of Huang et al, 22 the total effect can be decomposed into natural indirect effect (or total indirect effect) (i.e., E[𝑌(1, 𝑀(1))] − E[𝑌(1, 𝑀(0))]) and natural direct effect (or pure direct effect) (i.e., E[𝑌(1, 𝑀(0))] − E[𝑌(0, 𝑀(0))]). Alternatively, the total effect can also be decomposed into pure indirect effect (i.e., E[𝑌(0, 𝑀(1))] − E[𝑌(0, 𝑀(0))]) and total direct effect (i.e., E[𝑌(1, 𝑀(1))] − E[𝑌(0, 𝑀(1))]).…”