Why competing events change the question
In a time-to-event comparison, some participants may experience an event that prevents the event of interest from occurring later. Death before disease progression is a familiar example: after death, progression can no longer be observed. Such an event is a competing event. Treating it as ordinary loss to follow-up changes the quantity being estimated and can distort an external comparison.
The central quantity here is the probability of experiencing a specified event type by a fixed time, before experiencing any competing event. In an external-control analysis, the treatment and control risks must refer to the same event definition, time origin, horizon, and target population. These conditions are particularly important when trial and routine-care records classify events differently.
This is a probability on the original patient scale, not a hazard. A cause-specific hazard describes the instantaneous event rate among people still event-free. The cumulative incidence combines the cause-specific hazards for all event types: a high competing-event rate leaves fewer people available to experience the event of interest. The earlier material on time-to-event analysis with external controls provides the broader setting for comparing follow-up outcomes; here the focus is on the competing-event estimand and its implementation.
From event probabilities to cumulative incidence
For clarity, first divide follow-up into intervals. In interval \(r\), let \(h_{kr}\) be the conditional probability of event type \(k\) among people who are event-free at the start of that interval. The probabilities for all event types, together with remaining event-free, must sum to one. Define \(S_{r-1}\) as the probability of still being event-free at the start of interval \(r\). Then the contribution of interval \(r\) to the risk of event type \(k\) is \(S_{r-1}h_{kr}\).
The last expression adds the chance of event \(k\) in each interval, weighted by the chance of reaching that interval without any event. This is the discrete-time form of the cumulative-incidence calculation. In continuous time, the corresponding expression is \(F_k(t)=\int_0^t S(u-)\,d\Lambda_k(u)\), where \(S(u-)\) is the probability of remaining event-free just before time \(u\), and \(\Lambda_k\) is the cumulative cause-specific hazard for type \(k\). With observed right-censored data, the Aalen–Johansen estimator uses estimated event hazards and event-free survival to estimate these quantities.
Worked Example: Calculating Two Cumulative Incidences
Suppose a hypothetical study follows patients over two intervals. Conditional on being event-free at the beginning of interval 1, the event-of-interest probability is 0.10 and the competing-event probability is 0.05. In interval 2, among those still event-free, the corresponding probabilities are 0.12 and 0.08. Assume complete follow-up through interval 2 and no other event types.
At the end of interval 1, the event-free probability is \(S_1=1-0.10-0.05=0.85\). The cumulative incidence of the event of interest through interval 2 is therefore \(F_1(2)=0.10+(0.85)(0.12)=0.202\), or 20.2%.
The competing-event cumulative incidence is \(F_2(2)=0.05+(0.85)(0.08)=0.118\), or 11.8%. The probability of remaining event-free is \(S_2=(0.85)(1-0.12-0.08)=0.68\), or 68.0%.
The three probabilities sum to \(0.202+0.118+0.680=1.000\), as they should. Simply adding the two event-of-interest probabilities, \(0.10+0.12=0.22\), would be wrong: it would count interval-2 risk as if everyone were still event-free, including people who experienced a competing event in interval 1.
Defining a comparable external-control contrast
Let \(A=1\) denote trial treatment and \(A=0\) the external-control strategy. Let \(X\) be baseline covariates, and let \(F_k(t\mid A=a,X=x)\) denote the event-\(k\) cumulative incidence under strategy \(a\), conditional on covariates \(x\). For a target covariate distribution \(G\), a standardized risk is the average of the conditional cumulative incidences over that distribution:
The risk difference \(\Delta_k(t;G)\) is measured in probability units (or percentage points) at the specified horizon. It contrasts the two strategies in the same target population, rather than comparing an unadjusted trial risk with an unadjusted external-cohort risk. A risk ratio may also be reported when the control risk is nonzero, but it answers a different scale-specific question.
For a causal interpretation, the usual requirements for an adjusted external comparison apply: the strategies and outcome must be well-defined; measured baseline covariates must suffice to control treatment-selection differences; both strategies must be represented across covariate patterns in the target population; and the observed outcome under a received strategy must correspond to the potential outcome under that strategy. Follow-up and censoring must also be handled so that censoring does not selectively hide event outcomes after conditioning on the variables in the model. These assumptions do not become true merely because estimates are Bayesian.
Worked Example: Standardizing to One Target Population
Consider a hypothetical target population with two baseline-risk strata, low and high, each assigned target weight 0.50. A fitted competing-risk model gives 12-month event-of-interest cumulative incidences of 0.20 and 0.10 under treatment in the low- and high-risk strata, respectively. The corresponding external-control estimates are 0.28 and 0.16. Assume the endpoint, time origin, and 12-month ascertainment are harmonized, and that the estimates apply to both strata in the target population.
The standardized treatment risk is \(R_{1,1}= (0.50)(0.20)+(0.50)(0.10)=0.150\), or 15.0%.
The standardized external-control risk is \(R_{1,0}= (0.50)(0.28)+(0.50)(0.16)=0.220\), or 22.0%.
Thus the standardized risk difference is \(\Delta_1=0.150-0.220=-0.070\), a reduction of 7.0 percentage points in 12-month event risk under treatment for this target population. The stratum-specific risks are illustrative model outputs, not raw data. This contrast is interpretable only if the adjustment and comparability assumptions are credible; standardization cannot repair an unmeasured selection difference or an incompatible endpoint.
Bayesian estimation and uncertainty
A Bayesian analysis can represent uncertainty in the event processes and in the standardized contrast. One approach models the interval-specific probabilities of each event type among people still event-free, conditional on treatment and covariates. For every posterior draw, those probabilities are converted to cumulative incidences using the recursion above, then averaged over the same target covariate distribution for both strategies. Subtracting the two standardized risks gives a posterior draw of the treatment contrast.
The posterior mean or median summarizes the contrast, while a credible interval summarizes posterior uncertainty under the specified likelihood, priors, and model. For example, a 95% credible interval is an interval containing 95% of the posterior probability for the contrast. It is not a guarantee that selection bias, outcome misclassification, or model misspecification has been accounted for. Posterior draws should preserve dependence among event probabilities and among contrasts that share model parameters; separately combining marginal interval endpoints does not generally produce a valid interval for a risk difference.
Worked Example: A Simple Bayesian Risk Contrast
Suppose a hypothetical analysis has complete ascertainment of event status at a fixed horizon, with no censoring and no covariate adjustment. Among 100 treated patients, 12 experience the event of interest, 8 experience the competing event, and 80 experience neither. Among 120 external controls, the corresponding counts are 18, 12, and 90. For this simplified example, treat the three outcomes by the horizon as mutually exclusive multinomial categories. Use independent Dirichlet(1,1,1) priors for the category probabilities in each group.
For treatment, the posterior category parameters are \((12+1,8+1,80+1)=(13,9,81)\), with total 103. The posterior mean event-of-interest risk is \(13/103=0.1262\), or 12.62%. For external control, the posterior parameters are \((19,13,91)\), with total 123, giving posterior mean risk \(19/123=0.1545\), or 15.45%.
The posterior mean risk difference is \(0.1262-0.1545=-0.0283\), or a 2.83 percentage-point lower risk under treatment. Under the stated independent group priors and likelihoods, the posterior variance of a Dirichlet component with parameter \(\alpha_k\) and total \(\alpha_0\) is \(\alpha_k(\alpha_0-\alpha_k)/[\alpha_0^2(\alpha_0+1)]\). The treatment-risk variance is \(13(90)/[103^2(104)]=0.001061\); the external-control variance is \(19(104)/[123^2(124)]=0.001053\). Since the group posteriors are independent here, the risk-difference variance is their sum, \(0.002114\), with posterior standard deviation \(\sqrt{0.002114}=0.0460\).
This deliberately simple model demonstrates the calculation, not a recommended general analysis of censored follow-up. In a full time-to-event analysis, interval-specific event hazards or an appropriate event-time likelihood are needed; posterior draws from that model then yield the cumulative-incidence contrast. The simple example also assumes that the event categories were defined and ascertained identically in both sources.
Harmonization, alternatives, and diagnostics
Before fitting a model, specify the event of interest, every competing event, and the rule for ambiguous or unknown causes. Apply the same clinical definition in the trial and external data. Also align the time origin, eligibility criteria, follow-up horizon, and event-ascertainment procedures. For instance, a trial may adjudicate disease-specific death while routine-care records only identify all-cause death. If the external source cannot distinguish the relevant cause, it cannot directly estimate the same cause-specific cumulative incidence. Relabeling an unknown cause as “no event” does not solve that problem.
The main alternatives answer different questions. A cause-specific hazard comparison concerns event rates among people still free of every event; it is useful for describing the event process but is not itself a cumulative-incidence risk contrast. A subdistribution-hazard model parameterizes the cumulative-incidence function differently and can be useful for regression, but its hazard is not an ordinary event rate among an event-free risk set. Neither hazard-scale result should be substituted for the standardized risk at a chosen horizon when that is the target estimand.
Common warning signs include a fitted risk outside the range from 0 to 1, standardized risks that fail to account for all competing event types and event-free status, large changes after modest changes to event coding, and sparse covariate strata with little or no representation in one source. Check that estimated cause-specific event probabilities are valid, that calculated event-type cumulative incidences and event-free probability sum to one, and that posterior predictive or fitted event counts are not plainly inconsistent with the observed follow-up. These checks can reveal computational or model problems, but they do not establish exchangeability or eliminate differential ascertainment.
A useful final report names the event of interest and competing events, gives the target population and time horizon, reports the standardized risks and contrast on a clinically interpretable scale, and describes posterior uncertainty. It should also state which outcome and adjustment assumptions are most consequential. Where event definitions cannot be reconciled or covariate support is inadequate, a precise posterior distribution can still describe the fitted model while providing weak evidence about the intended clinical contrast.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- Why is the event-of-interest risk not generally the sum of its interval-specific conditional probabilities?
- In a target population with equal weights, treatment risks are 0.18 and 0.12 across two strata, while control risks are 0.24 and 0.20. Calculate the standardized risk difference.
- A trial records cause-specific death, but an external database records only all-cause death. Can its records directly identify the same cause-specific cumulative incidence? Explain.
- What does a 95% posterior credible interval for a standardized risk difference describe, and what does it not guarantee?
Solutions. 1. Each interval-specific probability is conditional on being event-free at its start. Later contributions must be multiplied by the probability of reaching that interval without any event. 2. The standardized treatment risk is \(0.50(0.18)+0.50(0.12)=0.150\); the control risk is \(0.50(0.24)+0.50(0.20)=0.220\). The risk difference is \(0.150-0.220=-0.070\), or 7.0 percentage points lower under treatment. 3. No. All-cause death does not distinguish the specified cause from competing causes, so the target event type is not identified without additional information or assumptions. 4. It contains 95% of the posterior probability for the contrast under the chosen model and prior. It does not guarantee that confounding, endpoint mismatch, or model misspecification has been removed.