Tutorials › Bayesian Clinical Trials › Selecting Controls When Data Availability Is Outcome-Related

External and Real-World Controls · Tutorial 392 of 696

Selecting Controls When Data Availability Is Outcome-Related

Learn how outcome-dependent data availability biases external controls and how to quantify its possible impact with explicit sensitivity analyses.

Advanced 12 min read

What You'll Learn

  • Distinguish covariate imbalance from outcome-related selection into a nontrial dataset.
  • Define a sensitivity parameter for differential inclusion by binary outcome.
  • Correct selected risks and standardize them to the trial population.
  • Propagate Bayesian uncertainty through a fixed or uncertain selection parameter.
  • Use an exponential-tilt model to examine selection for a continuous outcome.
  • Identify what can and cannot be diagnosed from the observed dataset alone.

Why Data Availability Can Change the Comparator

An external-control analysis uses outcomes recorded outside the randomized trial to estimate what trial participants might have experienced under control. The records that are available may not be a neutral sample of the people who received control care. For example, patients with a documented event may be more likely to enter a registry, while patients who remain well may receive less follow-up. Conversely, a severe outcome may prevent later data capture. If availability depends on the outcome, the observed control group can have a distorted outcome distribution even when its measured covariates appear comparable with those of the trial.

Covariate adjustment and transport weights address differences in measured characteristics and their distributions. They do not, by themselves, correct selection that still depends on the outcome after conditioning on those characteristics. This tutorial focuses on making that remaining dependence explicit and assessing how conclusions change under plausible assumptions about it.

Definition: Let \(Y^0\) denote the outcome that a person would have under control, \(X\) the measured baseline covariates, and \(R\) an indicator equal to 1 when that person’s record is available in the nontrial dataset. Outcome-related data availability occurs when \(P(R=1\mid Y^0,X)\) varies with \(Y^0\) for at least some values of \(X\). A selection sensitivity parameter describes this dependence when it cannot be estimated reliably from the available records.

The target is usually the control outcome distribution in the trial population. A useful set of assumptions is that the recorded endpoint has the same definition and follow-up meaning in the trial and external source; that, conditional on \(X\), the control potential-outcome distribution is transportable from the source population to the trial population; and that there is adequate overlap in \(X\). These assumptions do not imply that \(R\) is independent of \(Y^0\) given \(X\). That independence is an additional condition, and the sensitivity analysis examines departures from it.

The distinction matters even if \(X\) includes strong measured predictors of the outcome. Selection may depend on the realized outcome, an unmeasured aspect of prognosis, or a process such as follow-up intensity that remains associated with the outcome after adjustment. No method can recover that dependence from selected records alone without additional information or assumptions.

A Binary-Outcome Selection Model

For a binary endpoint, define \(p(x)=P(Y^0=1\mid X=x)\) in the source population before selection, and \(p_s(x)=P(Y^0=1\mid X=x,R=1)\) among records that are available. The ratio of inclusion probabilities for people with and without the event is

$$ \lambda(x)=\frac{P(R=1\mid Y^0=1,X=x)} {P(R=1\mid Y^0=0,X=x)}. $$

A value \(\lambda(x)=1\) represents no outcome-related selection within covariate stratum \(x\). A value greater than 1 means event records are more likely to be available; a value less than 1 means they are less likely. This is a ratio of probabilities, not a logistic-regression odds ratio for inclusion.

Result: For a binary outcome, the selected and source-population event odds satisfy \(\frac{p_s(x)}{1-p_s(x)}=\lambda(x)\frac{p(x)}{1-p(x)}\). Therefore, for a specified positive \(\lambda(x)\), the source-population risk is \(p(x)=\frac{p_s(x)}{\lambda(x)\{1-p_s(x)\}+p_s(x)}\).

The relation follows by applying Bayes’ rule to the event and non-event probabilities among records with \(R=1\). It does not require a rare outcome approximation.

$$ \frac{p_s(x)}{1-p_s(x)} = \frac{P(R=1\mid Y^0=1,X=x)P(Y^0=1\mid X=x)} {P(R=1\mid Y^0=0,X=x)P(Y^0=0\mid X=x)} = \lambda(x)\frac{p(x)}{1-p(x)}. $$

Solving this equation for \(p(x)\) gives the correction above. To estimate the control risk for the trial population, correct within covariate strata and then average using the trial population’s covariate distribution. If the trial participants have covariate values \(X_i\), the corresponding standardization is

$$ \bar p_{\mathrm{trial}}^0 = \frac{1}{n_{\mathrm{trial}}} \sum_{i=1}^{n_{\mathrm{trial}}} \frac{p_s(X_i)} {\lambda(X_i)\{1-p_s(X_i)\}+p_s(X_i)}. $$

This order is important: when selection depends differently on the outcome in different covariate strata, correcting one overall risk and then adjusting for covariate composition need not give the same answer.

Worked Example: Correcting an Event Rate

Suppose a hypothetical external-control dataset contains 20 events among 100 available records, so the observed event rate is \(p_s=20/100=0.20\). Assume, for this sensitivity calculation, that the external controls and trial participants have the same relevant covariate distribution. Consider \(\lambda=2\): event records are assumed to be twice as likely to be available as non-event records.

The implied source-population event risk is

$$ p=\frac{0.20}{2(1-0.20)+0.20} =\frac{0.20}{1.60+0.20} =\frac{0.20}{1.80} =0.1111. $$

Under this assumption, the target control event risk is about 11.1%, rather than the 20.0% observed among available records. For illustration, suppose the hypothetical trial treatment arm has an event risk of 8.0%. The uncorrected treatment-minus-control risk difference is \(0.080-0.200=-0.120\), or −12.0 percentage points. Using the sensitivity-adjusted control risk, it is \(0.080-0.1111=-0.0311\), or −3.11 percentage points. The direction remains favorable to treatment for this endpoint, but the apparent difference is much smaller. The conclusion is conditional on the assumed value of \(\lambda\), not a data-estimated correction.

Standardizing Across Covariates

In practice, outcome-related availability may vary with measured prognosis. A single \(\lambda\) is then a simplifying sensitivity model, not a universal property of the dataset. Specify \(\lambda(x)\) by clinically meaningful strata or by a model that varies with selected covariates. Combine the corrected stratum-specific risks using the trial covariate distribution. This separates two issues: transporting outcomes across covariate distributions, and correcting outcome-dependent availability within covariate values.

Worked Example: Selection and Trial-Population Standardization

Consider a hypothetical trial population with 60% of participants in a lower-risk stratum and 40% in a higher-risk stratum. The selected external records have event risks of 10% and 30% in these strata, respectively. Suppose the sensitivity assumptions are \(\lambda=2\) in the lower-risk stratum and \(\lambda=0.5\) in the higher-risk stratum.

In the lower-risk stratum, the corrected risk is

$$ p_{\mathrm{low}}= \frac{0.10}{2(1-0.10)+0.10} =\frac{0.10}{1.90} =0.05263. $$

In the higher-risk stratum, it is

$$ p_{\mathrm{high}}= \frac{0.30}{0.5(1-0.30)+0.30} =\frac{0.30}{0.35+0.30} =0.4615. $$

Standardizing to the trial’s stratum proportions gives \(0.60(0.05263)+0.40(0.4615)=0.2162\), or 21.6%. Without the selection correction, the standardized selected risk would be \(0.60(0.10)+0.40(0.30)=0.1800\), or 18.0%. The change reflects both the covariate distribution of the target trial population and the two assumed within-stratum selection ratios.

Bayesian Uncertainty and Sensitivity Analysis

A sensitivity parameter is not automatically learned from the observed external outcomes. If only records with \(R=1\) are observed and the number or covariate profile of unavailable people is unknown, the selected records generally cannot distinguish a high source-population event rate with weak event selection from a lower source-population rate with stronger event selection. The analysis should therefore show results across defensible values of \(\lambda\), or assign an explicit prior to \(\lambda\) when a Bayesian probability statement about selection is justified by substantive information.

For each fixed \(\lambda\), uncertainty in the selected risk must still be propagated. In a Bayesian analysis, one can draw \(p_s(x)\) from its posterior distribution, transform every draw using the correction formula, and standardize each corrected draw to the trial covariate distribution. This produces a posterior distribution for the adjusted control risk conditional on the chosen \(\lambda\). If \(\lambda\) is assigned a prior, draw it as well and report that the posterior then depends on that prior and on the selection model. A credible interval conditional on a fixed \(\lambda\) does not include uncertainty about whether that \(\lambda\) is plausible.

Worked Example: Transforming Bayesian Risk Uncertainty

Suppose a hypothetical dataset has 20 events among 100 available controls. With a uniform \(\operatorname{Beta}(1,1)\) prior on the selected event probability \(p_s\), the binomial likelihood gives the posterior \(p_s\mid\text{data}\sim\operatorname{Beta}(21,81)\). Consider a fixed sensitivity value \(\lambda=2\). If one posterior draw for \(p_s\) is 0.25, its corresponding source-population risk is

$$ p=\frac{0.25}{2(1-0.25)+0.25} =\frac{0.25}{1.75} =0.1429. $$

The same transformation is applied to every posterior draw, not just to the posterior mean. Because the transformation is increasing in \(p_s\), posterior quantiles for the corrected risk can be obtained by transforming the corresponding quantiles of \(p_s\). In a full comparison, these corrected control-risk draws are then standardized and compared with posterior draws for the trial treatment risk. The resulting uncertainty is conditional on \(\lambda=2\); repeating the calculation over other values shows how much the conclusion relies on that assumption.

Continuous Outcomes and an Exponential Tilt

For a continuous outcome, an analogous sensitivity model specifies how selection changes the outcome density. One useful model is an exponential tilt: within covariate stratum \(x\), the density among available records is proportional to \(e^{\delta y}\) times the source-population density. Here \(\delta\) measures selection by outcome and has units inverse to the outcome’s units. A positive value tilts the selected distribution toward larger outcomes. This model is a sensitivity assumption; it is not identified merely by observing the selected density.

Worked Example: Mean Shift Under a Normal Tilt

Suppose, hypothetically, the source-population control outcome \(Y^0\) is normally distributed with mean \(\mu\) months and variance \(\sigma^2=16\) months squared. Under an exponential tilt with \(\delta=0.05\) per month, the selected density is proportional to \(e^{0.05y}\) times the source density. Completing the square in the normal density shows that this tilt shifts the mean by \(\delta\sigma^2\), while leaving the variance unchanged:

$$ \mu_s=\mu+\delta\sigma^2. $$

If the hypothetical selected mean is 8.4 months, the implied source-population mean is \(8.4-(0.05)(16)=7.6\) months. Thus, under this model, the available records have a mean 0.8 months higher than the source population. This calculation depends on the normal distribution and exponential-tilt assumptions; a different outcome distribution or selection mechanism may imply a different relationship.

Diagnostics, Alternatives, and Limits

There is generally no definitive diagnostic for outcome-related selection using only the selected records: the missing outcomes are precisely what would reveal the selection pattern. Useful evidence may come from a known source-population denominator, linkage to another data source, validation samples with more complete outcome ascertainment, or recorded indicators of follow-up and inclusion. Where inclusion can be compared across groups with known outcomes, examine whether availability differs by outcome after accounting for measured covariates. Such evidence can help calibrate sensitivity values, but it does not establish that unobserved selection is absent.

A practical analysis can report a range of \(\lambda\) values, explain their clinical interpretation, and show whether the treatment comparison changes materially across that range. Include values on both sides of 1 when both directions are credible. Check that the assumed selection probabilities could be consistent with any known inclusion rates, and assess whether there is covariate overlap and sufficient data in each stratum. Sparse strata make the selected-risk estimates unstable; near-zero or near-one selected risks can also make corrections highly dependent on the selection assumption.

The main alternatives address different problems. Transport weighting rebalances measured covariates to the target population but does not remove outcome-dependent selection within covariate strata. Outcome regression can model control risk conditional on covariates, but remains vulnerable if the available records are selected on outcome beyond those covariates. If a validation source supplies information about unavailable outcomes, a selection model may be estimated or better calibrated; without such information, the dependence must be treated as a sensitivity assumption. These approaches can be combined, but their assumptions should be stated separately.

A common mistake is to say, “The external controls were weighted to match trial covariates, so their outcomes are representative.” Matching measured covariate distributions does not imply that available records represent all source patients with those covariates. The correction is to ask whether availability is independent of the control outcome conditional on the adjustment covariates. If that condition is not credible, show how results vary under explicit outcome-selection assumptions. A second limitation is that this analysis addresses selection into the available dataset; it does not repair endpoint misclassification, unmeasured confounding, or noncomparability of care and follow-up.

Key takeaway: Covariate balance is not evidence against outcome-dependent availability. Define the target population, state how selection may depend on the outcome, and report the comparison across plausible sensitivity values alongside ordinary statistical uncertainty.

Check Your Understanding

Answer each question, then check the concise solutions below.

  1. For a binary outcome, what does \(\lambda=1\) mean, and what does \(\lambda=3\) mean?
  2. If the selected event risk is 0.40 and \(\lambda=2\), calculate the implied source-population risk.
  3. Why should correction precede standardization when \(\lambda\) varies by covariate stratum?
  4. Can the selection parameter usually be estimated from outcome data observed only when \(R=1\)? Explain.
  5. Under the normal exponential-tilt model, what is the source mean if the selected mean is 12 months, \(\delta=0.02\) per month, and \(\sigma^2=25\) months squared?

Solutions. (1) \(\lambda=1\) means equal inclusion probabilities for events and non-events within covariate strata; \(\lambda=3\) means event records are three times as likely to be available. (2) \(p=0.40/[2(0.60)+0.40]=0.40/1.60=0.25\). (3) Stratum-specific selection changes each stratum’s outcome risk differently, so each risk must be corrected before averaging with the trial’s stratum proportions. (4) Generally not: selected outcomes alone do not identify how unobserved outcomes differ; external information or explicit assumptions are needed. (5) The mean shift is \((0.02)(25)=0.50\) months, so the source mean is \(12-0.50=11.5\) months.

Clinical Biostats