Tutorials › Pharmacokinetic-Pharmacodynamic (PK/PD) Modeling › Potential-Outcome Estimands for Biomarker Mediation

Biomarkers and Surrogate Endpoints · Tutorial 561 of 598

Potential-Outcome Estimands for Biomarker Mediation

Learn to define natural biomarker-mediated effects, identify the assumptions required to interpret them causally, and calculate both common decompositions from hypothetical data.

Advanced 10 min read

What You'll Learn

  • Define potential outcomes for treatment, biomarker, and clinical outcome
  • Distinguish natural direct effects from natural indirect effects
  • Explain why randomization alone does not identify biomarker mediation effects
  • Apply the mediation formula with and without baseline covariates
  • Calculate decompositions when treatment and biomarker interact in the outcome model
  • Recognize positivity, confounding, and interpretation pitfalls

Why Define Mediation Effects With Potential Outcomes?

A treatment can change a post-treatment biomarker, and the biomarker can in turn be related to a clinical outcome. To ask how much of the treatment effect operates through that biomarker, we need to define the comparisons precisely. A regression coefficient for the biomarker, or a correlation between biomarker change and clinical response, does not by itself identify a causal mediated effect.

Potential outcomes make the comparisons explicit. They also expose a central challenge: a natural effect compares outcomes under one treatment condition while assigning the biomarker value that the same individual would have had under another treatment condition. That comparison is not directly observed for any individual, so its causal interpretation depends on assumptions beyond treatment randomization.

Definition: Let \(A\in\{0,1\}\) denote treatment, with 0 as control and 1 as active treatment. Let \(M(a)\) be the biomarker value an individual would have under treatment \(a\), and let \(Y(a,m)\) be the clinical outcome that would occur under treatment \(a\) if the biomarker were set to \(m\). The nested potential outcome \(Y(a,M(a'))\) is the outcome under treatment \(a\), with the biomarker taking the value it would have taken under treatment \(a'\).

For example, if \(Y\) is a symptom score where larger values indicate worse symptoms, a negative treatment effect is beneficial. If \(Y\) is a response score where larger values are better, the same numerical sign has a different clinical meaning. Effect direction must therefore be interpreted using the outcome’s scale and coding.

Natural Direct and Indirect Effects

The total effect compares the outcome under each treatment along with the biomarker value naturally produced by that treatment. It can be decomposed in two standard ways. One holds the biomarker at its control-treatment potential value for the direct-effect comparison; the other holds it at its active-treatment potential value.

Definition: On an additive outcome scale, the total effect is \(\mathrm{TE}=E[Y(1,M(1))-Y(0,M(0))]\). The natural direct effect under control is \(\mathrm{NDE}_0=E[Y(1,M(0))-Y(0,M(0))]\), and the natural indirect effect under treatment is \(\mathrm{NIE}_1=E[Y(1,M(1))-Y(1,M(0))]\). Thus \(\mathrm{TE}=\mathrm{NDE}_0+\mathrm{NIE}_1\).
Definition: The alternative decomposition uses the active-treatment biomarker value for the direct effect and the control outcome condition for the indirect effect: \(\mathrm{NDE}_1=E[Y(1,M(1))-Y(0,M(1))]\) and \(\mathrm{NIE}_0=E[Y(0,M(1))-Y(0,M(0))]\). Thus \(\mathrm{TE}=\mathrm{NDE}_1+\mathrm{NIE}_0\).

These are two exact decompositions of the same total effect, but their components need not be equal. When treatment and biomarker interact in their effects on the outcome, the direct effect can depend on which biomarker value is held fixed, and the indirect effect can depend on which treatment condition is used to evaluate it. Each effect is an average over the target population.

Assumptions for Causal Identification

Potential-outcome definitions specify the estimands; they do not guarantee that observed data identify them. A common identification approach uses baseline covariates \(L\) to standardize outcome and biomarker distributions. Its assumptions should be considered before calculating the mediation formula.

  • Consistency and no interference: the observed outcome and biomarker agree with the potential outcomes under the treatment actually received, and one individual’s treatment does not alter another individual’s outcome. Treatment and biomarker values must also be sufficiently well-defined for these potential outcomes to be meaningful.
  • Treatment exchangeability: conditional on measured baseline covariates \(L\), treatment assignment is independent of the relevant potential biomarker and outcome values. Randomization generally supports this condition for treatment, subject to adherence, missing data, and the target population considered.
  • Mediator–outcome exchangeability: conditional on treatment and baseline covariates, there are no unmeasured common causes of the biomarker and clinical outcome. Randomizing treatment does not randomize the biomarker, so this condition is not supplied by a randomized trial alone.
  • No treatment-induced mediator–outcome confounder: there is no post-treatment variable caused by treatment that then confounds the biomarker–outcome relation. Ordinary adjustment for such a variable does not generally identify the natural effects defined above.
  • Positivity: within covariate strata represented in the target population, both treatment conditions must be possible, and the biomarker values needed for the comparisons must have support under the relevant treatment conditions. Extrapolating to biomarker values absent from an arm is not justified by the formula.
  • Cross-world condition: identifying natural effects requires linking potential outcomes across treatment conditions—for example, a suitable conditional independence between \(Y(a,m)\) and \(M(a')\) given \(L\). This is an untestable assumption about joint potential outcomes, often motivated by a structural causal model with appropriate independent errors.

Under these conditions, define \(\psi(a,a')=E[Y(a,M(a'))]\). For a discrete biomarker and covariates, the mediation formula is

$$ \psi(a,a')=\sum_l\sum_m E[Y\mid A=a,M=m,L=l]\, P(M=m\mid A=a',L=l)\,P(L=l). $$

For continuous variables, the sums are replaced by integrals. In this expression, the outcome regression comes from treatment condition \(a\), while the biomarker distribution comes from condition \(a'\). The natural effects follow by taking differences: \(\mathrm{NDE}_0=\psi(1,0)-\psi(0,0)\) and \(\mathrm{NIE}_1=\psi(1,1)-\psi(1,0)\), for example.

Worked Decomposition With a Binary Biomarker

Worked Example: Two Natural-Effect Decompositions

Hypothetical data structure. Suppose a biomarker is coded 0 or 1. Its probability of being 1 is 0.20 under control and 0.70 under treatment. Suppose the conditional mean clinical outcome, in points, is as follows: under control it is 10 when \(M=0\) and 14 when \(M=1\); under treatment it is 13 when \(M=0\) and 19 when \(M=1\). Assume for this illustration that the identification assumptions hold and there are no baseline covariates.

The control natural mean is \(0.80(10)+0.20(14)=8.00+2.80=10.80\) points. The treated natural mean is \(0.30(13)+0.70(19)=3.90+13.30=17.20\) points. Therefore \(\mathrm{TE}=17.20-10.80=6.40\) points.

For the first decomposition, the direct effect holds the biomarker distribution at its control condition. The conditional direct contrasts are \(13-10=3\) points at \(M=0\) and \(19-14=5\) points at \(M=1\). Thus \(\mathrm{NDE}_0=0.80(3)+0.20(5)=2.40+1.00=3.40\) points.

The indirect effect under treatment compares biomarker distributions using the outcome means under treatment: \(\mathrm{NIE}_1=[0.30(13)+0.70(19)]-[0.80(13)+0.20(19)]\). The first bracket is \(17.20\); the second is \(10.40+3.80=14.20\). Hence \(\mathrm{NIE}_1=3.00\) points, and \(3.40+3.00=6.40\), equal to the total effect.

For the alternative decomposition, the direct effect uses the treated biomarker distribution: \(\mathrm{NDE}_1=0.30(13-10)+0.70(19-14)=0.90+3.50=4.40\) points. The indirect effect under control is \(\mathrm{NIE}_0=[0.30(10)+0.70(14)]-[0.80(10)+0.20(14)]\). The first bracket is \(3.00+9.80=12.80\); the second is \(8.00+2.80=10.80\). Therefore \(\mathrm{NIE}_0=2.00\) points, and \(4.40+2.00=6.40\) points.

The two decompositions agree on the total effect but not on the component values. In particular, the indirect effect under control is not calculated by weighting the control biomarker distribution against treatment-specific outcome contrasts; it compares the two biomarker distributions using outcome means under control.

Standardization Across Baseline Covariates

Baseline characteristics can affect both biomarker distributions and outcomes. The following example shows how the mediation formula averages within covariate strata before combining results in the target population.

Worked Example: Adjusting for a Baseline Risk Group

Hypothetical setup. Let \(L\) be a binary baseline risk group, with \(P(L=0)=P(L=1)=0.50\). Let the biomarker be binary. For \(L=0\), its probability of being 1 is 0.10 under control and 0.50 under treatment. The outcome means for \(M=0,1\) are 8, 12 under control and 10, 15 under treatment. For \(L=1\), the corresponding biomarker probabilities are 0.30 under control and 0.70 under treatment; the outcome means are 16, 20 under control and 17, 23 under treatment. Outcomes are measured in points.

Calculate \(\psi(a,a')\) within each risk group and then average the two values equally. For \(L=0\), the four means are: \(\psi(0,0\mid L=0)=0.90(8)+0.10(12)=8.40\); \(\psi(0,1\mid L=0)=0.50(8)+0.50(12)=10.00\); \(\psi(1,0\mid L=0)=0.90(10)+0.10(15)=10.50\); and \(\psi(1,1\mid L=0)=0.50(10)+0.50(15)=12.50\).

For \(L=1\), the corresponding calculations are: \(\psi(0,0\mid L=1)=0.70(16)+0.30(20)=17.20\); \(\psi(0,1\mid L=1)=0.30(16)+0.70(20)=18.80\); \(\psi(1,0\mid L=1)=0.70(17)+0.30(23)=18.80\); and \(\psi(1,1\mid L=1)=0.30(17)+0.70(23)=21.20\).

Averaging over \(L\), the four standardized means are \(\psi(0,0)=12.80\), \(\psi(0,1)=14.40\), \(\psi(1,0)=14.65\), and \(\psi(1,1)=16.85\) points. Therefore \(\mathrm{TE}=16.85-12.80=4.05\) points; \(\mathrm{NDE}_0=14.65-12.80=1.85\) points; and \(\mathrm{NIE}_1=16.85-14.65=2.20\) points. Their sum is \(4.05\) points. The alternative components are \(\mathrm{NDE}_1=16.85-14.40=2.45\) and \(\mathrm{NIE}_0=14.40-12.80=1.60\) points, also summing to \(4.05\).

This calculation standardizes to a population with equal proportions in the two risk groups. If the target population had different proportions, the stratum-specific means would need to be weighted accordingly.

Interaction Changes the Components

A simple linear outcome model illustrates why the choice of decomposition matters when the treatment effect varies with the biomarker. It is a model-based illustration, not a substitute for the identification assumptions above.

Worked Example: Treatment–Biomarker Interaction

Hypothetical model. Suppose the mean outcome in points is \(E[Y(a,m)]=20+2a+1m+0.5am\), and the mean biomarker values are \(E[M(0)]=5\) and \(E[M(1)]=8\). The biomarker increases by 3 units under treatment. At a fixed biomarker value \(m\), the treatment contrast is \(2+0.5m\) points.

The first direct effect averages that contrast at the control biomarker mean: \(\mathrm{NDE}_0=2+0.5(5)=4.50\) points. Under treatment, a one-unit increase in the biomarker changes the modeled outcome mean by \(1+0.5=1.5\) points. Therefore \(\mathrm{NIE}_1=1.5(8-5)=4.50\) points, and the total is \(9.00\) points.

For the alternative decomposition, the direct effect is evaluated at the treated biomarker mean: \(\mathrm{NDE}_1=2+0.5(8)=6.00\) points. The indirect effect under control uses the biomarker slope of 1 point per unit, giving \(\mathrm{NIE}_0=1(8-5)=3.00\) points. These also sum to \(9.00\) points. The components differ because the interaction term makes the direct contrast and biomarker slope depend on the condition being held fixed.

Diagnostics, Alternatives, and Limitations

The mediation formula depends on causal and support assumptions that cannot all be checked from the observed data. Diagnostics can reveal some problems, but passing them does not prove the assumptions. Examine treatment and biomarker overlap across baseline covariate strata; very small probabilities or empty combinations make the standardized estimates unstable or extrapolative. Check the temporal ordering and measurement definitions, inspect outcome-model fit, and consider whether plausible common causes of biomarker and outcome were measured before treatment.

A common mistake is to say, “Treatment was randomized, so the estimated biomarker-mediated effect is causal.” Randomization can support treatment exchangeability, but the biomarker itself is usually not randomized. If an unmeasured factor affects both biomarker and outcome, or if treatment creates a confounder of their relationship, the natural-effect calculation may not have a causal interpretation. The correction is to state the additional mediator–outcome and cross-world assumptions, assess their plausibility, and avoid presenting the decomposition as established solely by the trial design.

Another pitfall is to multiply a treatment-to-biomarker coefficient by a biomarker-to-outcome coefficient and label the product a natural indirect effect without checking the model. Such a product can correspond to a mediated effect in particular linear models, for example with no treatment–biomarker interaction and suitable causal assumptions, but it is not a general definition. Likewise, natural effects are distinct from controlled direct effects, which compare treatment outcomes after setting the biomarker to a specified fixed value. The latter answer a different intervention question.

Natural effects are useful when the scientific question concerns pathways through the biomarker as it would naturally respond to treatment. They are nevertheless assumption-dependent, may be sensitive to unmeasured mediator–outcome confounding, and can be difficult to interpret when biomarker values are not manipulable or when treatment-induced confounders are present. Report the outcome scale, target population, effect decomposition, covariates used for standardization, and key identifying assumptions. The result is a causal estimand under those assumptions, not proof that the biomarker is a validated surrogate endpoint.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. In words, what does \(Y(1,M(0))\) represent?
  2. In the binary-biomarker example, calculate the control natural mean from the stated probabilities and conditional means.
  3. Why does treatment randomization not by itself remove mediator–outcome confounding?
  4. In the interaction example, what is \(\mathrm{NDE}_1\), and why does it differ from \(\mathrm{NDE}_0\)?
  5. Name one condition that can make the mediation formula rely on unsupported extrapolation.

Solutions. (1) It is the outcome under treatment, with the biomarker set to the value that would naturally have occurred under control. (2) \(0.80(10)+0.20(14)=8.00+2.80=10.80\) points. (3) Randomization assigns treatment, not the post-treatment biomarker; a common cause of the biomarker and outcome can therefore remain associated with both. (4) \(\mathrm{NDE}_1=2+0.5(8)=6.00\) points. It differs from \(\mathrm{NDE}_0=4.50\) points because the treatment contrast includes an interaction with the biomarker. (5) For example, a biomarker value needed for a comparison may have zero or near-zero probability in the relevant treatment and covariate stratum.

Clinical Biostats