To measure the average total effect of X on Y, we need to measure the following two: 1. We can estimate the average causal effect (ACE) of a unit increase in X on M because the back-door path X←C→Y←M is blocked by the collider at Y. ACEX→M=P(M∣X)−P(M∣noX) 2. To measure the ACE of M→Y, we can block the back-door path M←X←C→Y by controlling for X. ACEM→Y=P(Y∣do(M))−P(Y∣do(noM)) 3. According to the back-door adjustment formula: P(A∣do(B))=∑CP(A∣B,C=c)P(C=c) ⇒P(Y∣do(X))=∑MP(M=m∣X)∑XP(Y∣X=x,M=m)P(X=x)⇒ACEX→Y=ACEX→M∗ACEM→Y