Tutorials › Causal Inference › Scale Dependence of Interventional Mediation

Interventional Mediation and Mechanisms · Tutorial 821 of 972

Scale Dependence of Interventional Mediation

Learn how the same interventional mediation results yield different effect contrasts and mediated proportions when expressed on risk-difference, risk-ratio, or odds-ratio scales.

Advanced 12 min read

What You'll Learn

  • Define marginal interventional mediation contrasts using standardized outcome risks
  • Decompose a total effect along a specified interventional pathway
  • Translate the decomposition to risk-difference, risk-ratio, and odds-ratio scales
  • Calculate and compare scale-specific mediated proportions
  • Recognize how the outcome scale and decomposition path affect interpretation

Why the Effect Scale Matters

An interventional mediation analysis compares outcome distributions under specified exposure levels and interventions on the mediator distribution. But a contrast between two outcome risks is not expressed in only one way. It may be a difference in risks, a ratio of risks, or a ratio of odds. These scales answer related but distinct questions, and the numerical size of a direct or indirect contrast depends on which one is used.

This matters when describing how an exposure effect is divided into interventional direct and indirect components. On the risk-difference scale, the components can add to the total risk difference. On ratio scales, the corresponding components multiply to the total ratio, or add after taking logarithms. A mediated proportion therefore depends on its scale and on the particular component contrasts used.

Definition: Let \(A\) be a binary exposure taking values 0 and 1, \(M\) a mediator, \(Y\) a binary outcome, and \(C\) baseline covariates. Let \(G_{a^*}\) denote a stochastic intervention that draws the mediator from its distribution under exposure level \(a^*\), conditional on the specified baseline covariates. Define \(\mu(a,a^*)=E[Y_{a,G_{a^*}}]\) as the marginal outcome risk when the exposure is set to \(a\) and the mediator is drawn from \(G_{a^*}\). The first argument is the exposure setting; the second is the mediator-distribution setting.

Thus \(\mu(0,0)\) and \(\mu(1,1)\) are the risks under the corresponding exposure and mediator-distribution settings, while \(\mu(1,0)\) combines exposure 1 with the mediator distribution under exposure 0. The risks are marginal over the target population's baseline covariate distribution. In practice, they may be identified and estimated using the mediational g-formula under the relevant consistency, exchangeability, and positivity conditions. The examples below take the risks as already identified; they do not claim that a numerical contrast by itself establishes those conditions.

Define the Contrasts Before Choosing a Scale

One useful decomposition follows a path from \(\mu(0,0)\) to \(\mu(1,0)\), then to \(\mu(1,1)\). The first step changes the exposure while holding the mediator distribution at its level under exposure 0. The second changes the mediator distribution while holding the exposure at 1. These contrasts are an interventional direct effect and an interventional indirect effect for this particular choice of settings.

$$ \begin{aligned} \text{Total contrast:}\quad & \mu(1,1)-\mu(0,0),\\ \text{Direct contrast at }G_0:\quad & \mu(1,0)-\mu(0,0),\\ \text{Indirect contrast at }A=1:\quad & \mu(1,1)-\mu(1,0). \end{aligned} $$

Those expressions use risk differences. On a ratio scale, replace differences by ratios. For example, the total risk ratio is \(\mu(1,1)/\mu(0,0)\), the direct risk ratio along this path is \(\mu(1,0)/\mu(0,0)\), and the indirect risk ratio is \(\mu(1,1)/\mu(1,0)\). For odds ratios, first convert each risk \(\mu\) to its odds \(\mu/(1-\mu)\), then form the corresponding ratios.

Key takeaway: A decomposition must specify both the effect scale and the path through the interventional risks. The components are not scale-free quantities that can be reported without those choices.

Worked Example: Comparing Three Scales From the Same Risks

Suppose a hypothetical analysis has standardized risks \(\mu(0,0)=0.10\), \(\mu(1,0)=0.16\), and \(\mu(1,1)=0.24\). These values describe a hypothetical target population; they are not results from a real study. Use the path through \(\mu(1,0)\) to calculate the total, direct, and indirect contrasts on three scales.

Risk differences. The total contrast is \(0.24-0.10=0.14\), or 14 percentage points. The direct contrast is \(0.16-0.10=0.06\), or 6 percentage points, and the indirect contrast is \(0.24-0.16=0.08\), or 8 percentage points. The components add: \(0.06+0.08=0.14\).

Risk ratios. The total risk ratio is \(0.24/0.10=2.40\). The direct risk ratio is \(0.16/0.10=1.60\), and the indirect risk ratio is \(0.24/0.16=1.50\). The components multiply: \(1.60\times1.50=2.40\). In words, along this chosen decomposition, the total risk is 2.40 times the reference risk, with the two component ratios multiplying to that total.

Odds ratios. The odds at risks 0.10, 0.16, and 0.24 are \(0.10/0.90=0.1111\), \(0.16/0.84=0.1905\), and \(0.24/0.76=0.3158\). Therefore the total odds ratio is \(0.3158/0.1111\approx2.842\), the direct odds ratio is \(0.1905/0.1111\approx1.714\), and the indirect odds ratio is \(0.3158/0.1905\approx1.658\). Their product is approximately \(1.714\times1.658=2.842\), up to rounding.

The three scales give different component values and interpretations even though they use the same three risks. For instance, the indirect contrast is 8 percentage points on the risk-difference scale, a risk ratio of 1.50, and an odds ratio of about 1.658. None is a conversion error: each answers a different scale-specific question.

Why the Decomposition Works on Each Scale

The additive decomposition follows by adding and subtracting the intermediate risk \(\mu(1,0)\). The same telescoping argument works after applying a function \(g\) to the risks. This gives additive components on the transformed scale. Choosing \(g(\mu)=\mu\) yields risk differences; choosing \(g(\mu)=\log(\mu)\) yields log risk ratios; choosing \(g(\mu)=\operatorname{logit}(\mu)=\log\{\mu/(1-\mu)\}\) yields log odds ratios.

$$ \begin{aligned} g\{\mu(1,1)\}-g\{\mu(0,0)\} ={}&[g\{\mu(1,0)\}-g\{\mu(0,0)\}]\\ &+[g\{\mu(1,1)\}-g\{\mu(1,0)\}]. \end{aligned} $$

This identity is an algebraic justification, not an additional causal assumption. For \(g(\mu)=\log(\mu)\), for example, the first component is \(\log\{\mu(1,0)/\mu(0,0)\}\), and the second is \(\log\{\mu(1,1)/\mu(1,0)\}\). Exponentiating both components gives risk ratios whose product is the total risk ratio. The same reasoning with the logit gives odds ratios whose product is the total odds ratio.

1
Specify the standardized risks.
Identify the three interventional risks for the chosen path: \(\mu(0,0)\), \(\mu(1,0)\), and \(\mu(1,1)\).
2
Choose the scale.
Use \(g(\mu)=\mu\) for risk differences, \(g(\mu)=\log(\mu)\) for risk ratios, or \(g(\mu)=\operatorname{logit}(\mu)\) for odds ratios.
3
Calculate the component contrasts.
Subtract adjacent transformed risks along the path. On ratio scales, exponentiate the differences if contrasts are to be reported as ratios.
4
Check the decomposition.
The two transformed components must add to the transformed total contrast; on a ratio scale, the exponentiated component ratios must multiply to the total ratio.

Worked Example: A Mediated Proportion on the Log-Odds Scale

Continue with \(\mu(0,0)=0.10\) and \(\mu(1,1)=0.24\). For illustration, suppose the intermediate risk is chosen so that the indirect odds ratio is 1.658. Since the odds at \(\mu(1,1)=0.24\) are \(0.24/0.76=0.315789\), the required intermediate odds are \(0.315789/1.658\approx0.190464\). The corresponding risk is \(0.190464/(1+0.190464)\approx0.15999\), approximately 0.1600.

The total odds ratio is

$$ \frac{0.24/0.76}{0.10/0.90}\approx 2.842. $$

The log-odds-scale mediated proportion along this path is the indirect log odds ratio divided by the total log odds ratio:

$$ \frac{\log(1.658)}{\log(2.842)} \approx \frac{0.506}{1.045} \approx 0.484. $$

Thus the indirect component is about 48.4% of the total contrast on the log-odds scale for these hypothetical risks and this decomposition. This is not a claim that 48.4% of individual outcomes, or 48.4% of a physical mechanism, is mediated. It is a ratio of two contrasts on a selected mathematical scale.

Mediated Proportions Depend on Scale

A mediated proportion is often formed by dividing an indirect contrast by a total contrast, with both contrasts defined on the same scale and along a stated decomposition. Using the first worked example, the risk-difference mediated proportion is \(0.08/0.14\approx0.571\), or 57.1%. On the risk-ratio scale, the corresponding log-scale proportion is \(\log(1.50)/\log(2.40)\approx0.463\), or 46.3%. The log-odds-scale calculation in the second example is about 48.4%, using its intermediate risk.

These proportions differ because the transformations from risks to log risks and log odds are nonlinear. Dividing the indirect risk difference by the total risk difference is not generally equivalent to dividing the log indirect ratio by the log total ratio. The scale-specific results are each mathematically coherent, but they should not be presented as though they estimate one uniquely defined fraction independent of scale.

Worked Example: Equal Risk Differences, Different Odds Ratios

Consider two hypothetical standardized comparisons, each with a risk increase of 5 percentage points. In the first, risk rises from 0.05 to 0.10. The odds ratio is

$$ \frac{0.10/0.90}{0.05/0.95}\approx2.111. $$

In the second, risk rises from 0.40 to 0.45. Its odds ratio is

$$ \frac{0.45/0.55}{0.40/0.60}\approx1.227. $$

Both risk differences equal \(0.05\), but the odds ratios are not equal. This illustrates the scale's mathematical dependence on baseline risk: the same additive change does not imply the same odds ratio. It does not, by itself, establish that one comparison is more causally important than the other.

Path Choice and Interpretation

The path through the interventional risks is another choice that must be reported. An alternative path goes from \(\mu(0,0)\) to \(\mu(0,1)\), then to \(\mu(1,1)\). It changes the mediator distribution first and the exposure second. The total contrast remains the comparison between \(\mu(1,1)\) and \(\mu(0,0)\), but the component contrasts may differ.

For example, suppose the hypothetical risks are \(\mu(0,0)=0.10\), \(\mu(1,0)=0.16\), \(\mu(0,1)=0.20\), and \(\mu(1,1)=0.24\). Along the first path, the risk-difference direct and indirect contrasts are \(0.16-0.10=0.06\) and \(0.24-0.16=0.08\). Along the alternative path, they are \(0.24-0.20=0.04\) for the direct contrast and \(0.20-0.10=0.10\) for the indirect contrast. Both paths sum to the same total risk difference, \(0.14\), but allocate it differently between components.

This path dependence can arise when exposure and mediator-distribution changes do not have constant effects across the other setting. A report should therefore name the mediator reference distribution and exposure setting used for each component, not just label a number “the indirect effect.” Comparisons across studies also require attention to whether the outcome scale, target population, and decomposition path match.

Common Mistake

  • Wrong reasoning: “The mediated proportion is 57%, so 57% of the causal effect is mediated, regardless of how the effect is measured.”
  • Correction: The 57% figure in the example is a ratio of risk differences along a specified path. A log-risk or log-odds calculation can give another value. State the scale, the exact numerator and denominator, and the interventional settings defining the path.
  • Wrong reasoning: “The odds ratio is larger than the risk ratio, so the odds-scale indirect effect must be stronger.”
  • Correction: Odds ratios and risk ratios use different denominators and cannot be ranked as though they were measurements on one common scale. Report the chosen measure with its interpretation and, when useful, provide standardized risks as well.
Key takeaway: Interventional mediation contrasts are defined by the exposure and mediator-distribution settings. Their numerical decomposition depends on the chosen outcome scale and path. Always report those choices, and interpret a mediated proportion as scale-specific rather than as an intrinsic fraction of a causal mechanism.

Check Your Understanding

Answer each question using the definitions and scale distinctions above.

  1. In \(\mu(1,0)\), what does each argument represent?
  2. If \(\mu(0,0)=0.08\), \(\mu(1,0)=0.13\), and \(\mu(1,1)=0.21\), calculate the total, direct, and indirect risk differences along the path through \(\mu(1,0)\).
  3. Why do the direct and indirect risk ratios multiply to the total risk ratio along that path?
  4. What information must accompany a reported mediated proportion so that its meaning is clear?
  5. Can two comparisons have the same risk difference but different odds ratios? Explain briefly.
Clinical Biostats