Tutorials › Bayesian Clinical Trials › Overlap Weighting for Limited Comparability

External and Real-World Controls · Tutorial 371 of 696

Overlap Weighting for Limited Comparability

Learn how overlap weights are constructed, which patients their target effect describes, and what assumptions and diagnostics matter when comparing trial-treated patients with external controls.

Advanced 12 min read

What You'll Learn

  • Define the propensity score for trial-treated patients versus external controls.
  • Derive overlap weights and the covariate distribution they target.
  • Calculate a weighted treatment-effect estimate from hypothetical data.
  • Interpret the overlap population without generalizing beyond its support.
  • Identify assumptions, diagnostics, and common weighting misconceptions.

Why Target the Overlap Population?

A trial and an external control cohort may contain patients with very different baseline profiles. When only a few trial participants resemble many external controls—or vice versa—a treatment-effect estimate for the whole combined population can depend heavily on extrapolation. Overlap weighting instead targets patients whose measured covariates make them plausible members of either cohort. The resulting effect is not automatically an effect for all trial-eligible patients; its interpretation depends on the population that receives weight.

Let \(A=1\) indicate a patient assigned to the trial treatment and \(A=0\) indicate an external control. Let \(X\) be the measured baseline covariates used to model cohort membership, and define the propensity score \(e(X)=P(A=1\mid X)\). In this setting, it is the probability of being in the trial-treated group rather than the external-control group, conditional on \(X\). It is not necessarily a randomized treatment-assignment probability: membership in the two cohorts may reflect different recruitment, care, or data processes.

Definition: For a trial-treated patient, the overlap weight is \(1-e(X)\). For an external control, it is \(e(X)\). These weights define a target covariate distribution proportional to \(e(X)\{1-e(X)\}\) times the covariate distribution in the population represented by the combined cohorts.

The factor \(e(X)\{1-e(X)\}\) is largest at \(e(X)=0.5\) and approaches zero as the score approaches 0 or 1. Thus the target population gives little aggregate mass to covariate profiles that strongly distinguish the cohorts. This statement concerns the target distribution, not every individual weight: a trial-treated patient with a low score can have a high overlap weight, as can an external control with a high score.

Assumptions and the Target Effect

Write \(Y(1)\) and \(Y(0)\) for the potential outcomes under the trial treatment and control, respectively. A causal interpretation of an overlap-weighted contrast requires consistency (the observed outcome equals the potential outcome under the treatment actually received), no interference between patients, and conditional exchangeability: given the measured \(X\), cohort membership is independent of the potential outcomes. Because external controls are not generally randomized together with trial participants, exchangeability is a substantive assumption, not a consequence of weighting.

The covariates should be measured before treatment, harmonized across sources, and sufficient to address important confounding. Follow-up, outcome definitions, and eligibility should also be aligned well enough that the compared outcomes have the same intended meaning. The propensity model must adequately represent cohort membership in the population being analyzed. Finally, the target must have nonzero overlap: there must be covariate profiles represented in both groups. Profiles with \(e(X)=0\) or \(e(X)=1\) have zero target density and cannot support a comparison.

Let \(f(X)\) denote the covariate density in the combined population of interest. The overlap target density is

$$ f_{\mathrm{OW}}(X)= \frac{e(X)\{1-e(X)\}f(X)} {E[e(X)\{1-e(X)\}]}. $$

The corresponding average treatment effect is the average of \(Y(1)-Y(0)\) over this distribution. It describes the treatment effect for a covariate population concentrated where both cohorts have representation. It does not describe patients outside that overlap, and its value can differ from an effect standardized to the trial population.

Why the Two Group Weights Target the Same Population

A short derivation shows why the group-specific weights produce a common covariate distribution. Let \(\pi=P(A=1)\). By the definition of conditional probability, the covariate densities in the two groups are \(f(X\mid A=1)=e(X)f(X)/\pi\) and \(f(X\mid A=0)=\{1-e(X)\}f(X)/(1-\pi)\). Weighting the treated covariate density by \(1-e(X)\) gives a density proportional to \(e(X)\{1-e(X)\}f(X)/\pi\). Normalizing it removes the constant \(1/\pi\). Weighting the control density by \(e(X)\) likewise gives a density proportional to \(e(X)\{1-e(X)\}f(X)/(1-\pi)\); normalization removes \(1/(1-\pi)\). Both therefore yield \(f_{\mathrm{OW}}(X)\), provided the propensity score is correctly specified for the population being analyzed.

In data, replace \(e(X_i)\) with an estimated score \(\hat e_i\). For an outcome \(Y\), the weighted difference in means is

$$ \hat{\tau}_{\mathrm{OW}}= \frac{\sum_i A_i(1-\hat e_i)Y_i}{\sum_i A_i(1-\hat e_i)} - \frac{\sum_i (1-A_i)\hat e_iY_i}{\sum_i (1-A_i)\hat e_i}. $$

The first term is the weighted mean outcome among trial-treated patients; the second is the weighted mean among external controls. Their difference is oriented as treatment minus control. For a continuous outcome, it has the outcome's units; for a binary outcome, it is a risk difference on the probability scale. This calculation defines a weighted contrast, but causal interpretation still rests on the assumptions above.

Worked Example: Checking Individual Overlap Weights

Suppose a fitted model gives a trial-membership score of \(0.02\) for one covariate profile and \(0.98\) for another. Calculate the overlap weights for patients in either cohort at each score.

At \(e(X)=0.02\), a trial-treated patient receives \(1-0.02=0.98\), while an external control receives \(0.02\). At \(e(X)=0.98\), a trial-treated patient receives \(1-0.98=0.02\), while an external control receives \(0.98\).

Thus a trial-treated patient at score \(0.02\) and an external control at score \(0.98\) each receive weight \(0.98\). The corresponding external control at \(0.02\) and trial-treated patient at \(0.98\) each receive \(0.02\). It would be incorrect to say that every patient at an extreme score receives a small individual weight. Rather, the overlap target assigns little aggregate mass to extreme-score profiles because its density is proportional to \(e(X)\{1-e(X)\}f(X)\).

Worked Estimation With Two Covariate Profiles

The next example shows how individual weights give the two groups the same weighted profile distribution. All data are hypothetical. Suppose there are two baseline profiles, \(X=1\) and \(X=0\), and the fitted scores are \(0.8\) and \(0.2\), respectively.

Worked Example: Comparing Weighted Profile Distributions

Assume the data contain 10 trial-treated patients and 10 external controls. There are 8 treated patients with \(X=1\), 2 with \(X=0\), 2 controls with \(X=1\), and 8 controls with \(X=0\). Calculate the total overlap weight for each profile and group.

For treated patients with \(X=1\), the weight is \(1-0.8=0.2\), so their total weight is \(8(0.2)=1.6\). For treated patients with \(X=0\), the weight is \(1-0.2=0.8\), giving \(2(0.8)=1.6\). The treated weighted share at each profile is therefore \(1.6/(1.6+1.6)=0.5\).

For controls with \(X=1\), the weight is \(0.8\), giving \(2(0.8)=1.6\). For controls with \(X=0\), the weight is \(0.2\), giving \(8(0.2)=1.6\). The control weighted share at each profile is also \(1.6/(1.6+1.6)=0.5\). In both groups, half of the normalized weighted covariate distribution is at each profile.

This calculation illustrates balance for this one binary covariate under the stated scores. It does not prove balance for other covariates or establish that all confounders were measured.

Worked Example: Interpreting a Weighted Treatment Difference

Use the hypothetical counts and scores from the preceding example. Suppose the mean outcome is 10 units for treated patients with \(X=1\), 6 units for treated patients with \(X=0\), 8 units for controls with \(X=1\), and 5 units for controls with \(X=0\). Calculate the overlap-weighted contrast and compare it with the unweighted difference.

The total treated weight at each profile is 1.6. The weighted treated mean is \( \{1.6(10)+1.6(6)\}/(1.6+1.6)=25.6/3.2=8.0 \) units. The total control weight at each profile is also 1.6, so the weighted control mean is \( \{1.6(8)+1.6(5)\}/3.2=20.8/3.2=6.5 \) units. The overlap-weighted treatment-minus-control difference is \(8.0-6.5=1.5\) units.

Without weighting, the treated mean is \(\{8(10)+2(6)\}/10=9.2\) units, and the control mean is \(\{2(8)+8(5)\}/10=5.6\) units. The unweighted difference is \(9.2-5.6=3.6\) units. The two contrasts differ because the raw groups have different profile compositions. Under the causal assumptions, the weighted 1.5-unit contrast pertains to the overlap target represented equally across these two profiles; it is not a treatment effect for every patient in either source.

Diagnostics, Alternatives, and Limitations

Before interpreting a weighted result, inspect the estimated score distributions by group and check whether the propensity model is plausible for the clinical and data-generation context. After weighting, examine whether important baseline covariates are similar across groups; overlap weighting does not guarantee balance for every covariate when the score model is misspecified or too restrictive. Review the influence of individual observations and the resulting weighted sample sizes. A bounded weight (between 0 and 1) avoids the arbitrarily large weights possible with inverse probability weighting, but it does not ensure a precise estimate or adequate information.

The target itself depends on the covariates and the cohort-membership model. If the groups differ in how patients were sampled or selected, the fitted \(e(X)\) and resulting overlap population may describe the analyzed mixture rather than a broader clinical population. A deliberate change in the relative number sampled from each source can therefore change the target unless the sampling design is accounted for. Report the covariates used, how cohort membership was modeled, and the population the weights are intended to represent.

Inverse probability weighting and matching are alternatives with different targets and practical behavior. Inverse probability weighting can target a broader population, such as the treated group, but may rely heavily on observations with extreme scores. Matching pairs or selects patients based on similarity and may discard unmatched observations; its target depends on the matching design. Overlap weighting is useful when the scientific question concerns patients with covariate profiles represented in both groups, not when the primary aim is to estimate an effect for all trial-eligible patients regardless of comparability.

Overlap weighting cannot repair unmeasured confounding, outcome definition differences, incorrect follow-up alignment, or selection bias that remains after conditioning on \(X\). Nor does a weighted estimate automatically account for uncertainty in the estimated propensity scores. Uncertainty procedures should reflect that the scores were estimated, rather than treating the calculated weights as known constants. A clinically clear report distinguishes the estimate's target population from the trial population and states the assumptions needed for a causal interpretation.

Common Pitfall

Key takeaway: Do not infer an individual patient's weight directly from whether that patient's score is extreme. A treated patient at \(e(X)=0.02\) has weight \(0.98\), while a control at that score has weight \(0.02\). The overlap target gives little aggregate representation to extreme-score profiles; individual weights are group-specific. Also, do not describe the resulting effect as applying to all trial patients unless the target population actually supports that claim.

A related mistake is to see weights bounded by 1 and conclude that all instability or bias has been solved. Bounded weights reduce one source of numerical instability, but misspecified propensity scores can leave covariate imbalance, and unmeasured differences between cohorts can remain. The remedy is to check the modeling and data assumptions, report the target precisely, and limit conclusions to what the comparison supports.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. For a treated patient with \(e(X)=0.30\), what is the overlap weight? What is the weight for a control with the same score?
  2. In one sentence, describe the population targeted by overlap weighting.
  3. Suppose the weighted treated mean is 12 mg/dL and the weighted control mean is 9 mg/dL. State the contrast and its units.
  4. Why does a bounded overlap weight not establish that confounding has been removed?
  5. How might changing the relative sampling of trial participants and external controls affect the overlap target?

Solutions. (1) The treated weight is \(1-0.30=0.70\); the control weight is \(0.30\). (2) It targets patients whose measured covariates make representation in either cohort plausible, with aggregate emphasis proportional to \(e(X)\{1-e(X)\}\). (3) The treatment-minus-control contrast is \(12-9=3\) mg/dL for the overlap target. (4) Bounded weights do not correct unmeasured confounding or guarantee a correctly specified propensity model and covariate balance. (5) Sampling proportions can change the fitted cohort-membership probability and thus the target distribution, unless the sampling design is accounted for.

Clinical Biostats