Tutorials › Competing Risks and Multi-State Models › Recalibrating Competing Destinations Without Breaking Coherence

Transition-Specific Prediction Validation · Tutorial 420 of 699

Recalibrating Competing Destinations Without Breaking Coherence

Learn to adjust transition-destination predictions jointly so that recalibration improves agreement with outcomes without producing negative probabilities or totals other than one.

Advanced 12 min read

What You'll Learn

  • Define the outcome categories needed for a coherent competing-destination prediction.
  • Use a multinomial recalibration model to update a complete vector of probabilities.
  • Interpret calibration intercepts and slopes jointly rather than as separate binary adjustments.
  • Recognize why independent destination recalibrations can produce invalid probability totals.
  • Identify how censoring, sparse destinations, and predicted zeros affect recalibration.
  • Check recalibrated predictions for coherence, fit, and stability.

Why destination probabilities must be recalibrated together

At a fixed prediction time, competing destinations are not separate events that can each happen independently. For a person starting in a specified state, exactly one outcome category applies at the prediction horizon: for example, a particular destination is reached first, or no transition has occurred. A recalibration that improves one destination's predictions but makes the categories add to more than one is not a valid update to the predicted outcome distribution.

The target categories must also match the prediction being validated. A model might predict the first transition destination by time \(\tau\), or the state occupied at \(\tau\) after allowing intermediate transitions. These are different outcomes. Recalibrate predictions against the same mutually exclusive outcome definition, starting state or landmark, and horizon that the model was designed to predict.

Definition: For subject \(i\), let \(Y_i\) be the categorical outcome defined at a specified horizon \(\tau\), with categories \(0,1,\ldots,K\). Category \(0\) is a reference category, often “no transition by \(\tau\),” and categories \(1,\ldots,K\) are competing destinations. Let \(p_{ik}\) be the model's predicted probability for category \(k\), where \(p_{ik}\geq 0\) and \(\sum_{k=0}^{K}p_{ik}=1\). A coherent recalibration produces probabilities \(q_{ik}\) that also satisfy \(q_{ik}\geq 0\) and \(\sum_{k=0}^{K}q_{ik}=1\).

This tutorial concerns updating the complete vector \(p_i=(p_{i0},p_{i1},\ldots,p_{iK})\), not recalibrating each destination as if it were an unrelated binary outcome. The earlier material on calibration slopes concerns calibration for transition predictions; here the central requirement is that any adjustments across destinations remain jointly coherent.

A multinomial recalibration model

A standard approach models the observed category using a multinomial logistic recalibration model. It uses the original prediction vector as its input and returns a new vector that sums to one by construction. Choose category \(0\) as the reference. For positive predicted probabilities, define the log-ratios \(z_{il}=\log(p_{il}/p_{i0})\), for \(l=1,\ldots,K\). Then specify

$$ q_{i0}=\frac{1}{1+\sum_{j=1}^{K}\exp\left(\alpha_j+\sum_{l=1}^{K}B_{jl}z_{il}\right)}, \qquad q_{ij}=\frac{\exp\left(\alpha_j+\sum_{l=1}^{K}B_{jl}z_{il}\right)} {1+\sum_{m=1}^{K}\exp\left(\alpha_m+\sum_{l=1}^{K}B_{ml}z_{il}\right)} \quad (j=1,\ldots,K). $$

Here \(\alpha_j\) is the recalibration intercept for destination \(j\), and \(B_{jl}\) describes how the log-ratio for predicted category \(l\) contributes to the recalibrated log-odds of category \(j\) versus reference category \(0\). The model is fitted using outcomes and their corresponding original prediction vectors. In the fully specified multinomial model, \(\alpha_j=0\) for every \(j\), and \(B\) is the identity matrix. Departures from those values indicate that the original vector does not follow this particular calibration relationship exactly; they do not, by themselves, demonstrate why it is miscalibrated.

The model requires a clearly defined categorical outcome and comparable predictions for the population and horizon of interest. Its parameter estimates also require adequate data for the number of coefficients being fitted. If an outcome is censored before its category can be determined, it must not simply be treated as category \(0\). The outcome needs to be ascertained or handled with a valid censoring-adjusted method. For example, an inverse-probability-of-censoring weighted analysis requires censoring to be independent of the outcome conditional on the variables used for weighting, and requires adequate estimation of the relevant censoring probabilities.

Why the probabilities remain coherent: Each destination's numerator is nonnegative, and all numerators share the same denominator. The denominator is the sum of the numerator for category \(0\), equal to \(1\), and the numerators for categories \(1,\ldots,K\). Therefore, every \(q_{ik}\geq 0\) and the \(K+1\) probabilities sum to \(1\).

That guarantee is mathematical, not empirical: a coherent vector can still be poorly calibrated. The model form must be suitable, and its performance should be assessed on data not used to estimate its recalibration parameters when an independent assessment is available.

Worked recalibrations

Worked Example: Applying Shared Normalization to Three Categories

Suppose a hypothetical model predicts, by a fixed horizon, probabilities \(p_0=0.60\) for no transition, \(p_1=0.25\) for destination A, and \(p_2=0.15\) for destination B. Consider a fitted recalibration with unchanged slopes and destination multipliers \(\exp(\alpha_1)=1.20\), \(\exp(\alpha_2)=0.80\), relative to category \(0\).

With unchanged slopes, the unnormalized weights are \(p_0\), \(p_1\exp(\alpha_1)\), and \(p_2\exp(\alpha_2)\). Substitution gives \(0.60\), \(0.25(1.20)=0.30\), and \(0.15(0.80)=0.12\). The denominator is \(0.60+0.30+0.12=1.02\).

$$ (q_0,q_1,q_2) = \left(\frac{0.60}{1.02},\frac{0.30}{1.02},\frac{0.12}{1.02}\right) = (0.5882,0.2941,0.1176). $$

The recalibrated probability of destination A is about 0.294, and that of destination B is about 0.118. The category probabilities are nonnegative and sum to \(1.000\), up to rounding. The adjustment changes all three probabilities through their shared denominator, including the reference category.

Worked Example: Detecting an Incoherent Independent Update

For another hypothetical subject, the original predictions are \(p_0=0.50\), \(p_1=0.30\), and \(p_2=0.20\). Suppose separate binary recalibrations give \(q_1=0.40\) for destination A and \(q_2=0.35\) for destination B. If these are interpreted as probabilities of mutually exclusive categories, the implied remaining probability is

$$ q_0=1-q_1-q_2=1-0.40-0.35=0.25. $$

These numbers happen to sum to one, but separate binary fits do not guarantee that result for other subjects or datasets. For instance, if a separate recalibration instead returned \(q_1=0.45\) and \(q_2=0.38\), then \(q_1+q_2=0.83\), leaving \(q_0=0.17\). If it returned \(q_1=0.55\) and \(q_2=0.50\), their sum would be \(1.05\), implying \(q_0=-0.05\), which is impossible.

For a coherent joint update, suppose a fitted multinomial intercept-only adjustment for this subject's prediction pattern gives multipliers \(1.20\) for A and \(1.10\) for B, relative to category \(0\). The weights are \(0.50\), \(0.30(1.20)=0.36\), and \(0.20(1.10)=0.22\), with total \(1.08\). Thus

$$ (q_0,q_1,q_2) = \left(\frac{0.50}{1.08},\frac{0.36}{1.08},\frac{0.22}{1.08}\right) = (0.4630,0.3333,0.2037). $$

This fitted joint update preserves a complete probability distribution. It is not generally equivalent to taking separate binary estimates and rescaling them afterward: the joint fit estimates its parameters against the full category outcome.

Worked Example: A Censoring-Weighted Intercept-Only Update

Consider a small hypothetical illustration with four subjects whose endpoint categories are observed. Their categories are no transition, A, B, and A, respectively. Suppose their censoring weights are \(1,2,1,1\). An intercept-only weighted multinomial fit estimates category probabilities as weighted category totals divided by the total weight. This simplified calculation illustrates the weighting, not a sufficient model for subject-specific recalibration.

The total weight is \(1+2+1+1=5\). The weighted totals are \(1\) for no transition, \(2+1=3\) for A, and \(1\) for B. Therefore,

$$ (\widehat q_0,\widehat q_1,\widehat q_2) = \left(\frac{1}{5},\frac{3}{5},\frac{1}{5}\right) = (0.2000,0.6000,0.2000). $$

The estimates sum to \(1.000\). In a real analysis, the weights would need to follow a justified censoring model, and the recalibration would generally use each subject's predicted vector rather than only category totals. This calculation does not make censoring harmless: invalid weights, informative censoring not accounted for by the model, or too few observed outcomes can still distort the update.

Derivation and practical checks

The normalization follows directly from the multinomial-logit definition. Write \(\eta_{ij}=\alpha_j+\sum_{l=1}^{K}B_{jl}z_{il}\) and \(w_{ij}=\exp(\eta_{ij})\), so every \(w_{ij}>0\). The reference category has weight \(1\). The probability for each destination is its weight divided by the common total \(1+\sum_j w_{ij}\); the reference probability is \(1\) divided by the same total. Adding the probabilities gives

$$ q_{i0}+\sum_{j=1}^{K}q_{ij} = \frac{1+\sum_{j=1}^{K}w_{ij}}{1+\sum_{j=1}^{K}w_{ij}} =1. $$

This also shows why the shared denominator matters. A change that increases one destination's relative weight changes the denominator and therefore affects the probabilities assigned to the other categories.

Before interpreting a fitted update, check the target definition, the data used to fit it, and the resulting vectors. Useful checks include:

  • Outcome definition: confirm that the categories are mutually exclusive and exhaustive for the same horizon, starting condition, and prediction target as the original model.
  • Numerical coherence: verify that probabilities are finite, nonnegative, and sum to one before rounding. Unexpected totals often signal a coding or category-mapping error.
  • Fit and support: examine whether some destinations are rare, whether coefficients are unstable, and whether recalibrated predictions rely on log-ratios far outside those seen in the fitting data.
  • Censoring: check whether endpoint categories are observed for everyone included. A subject censored before the horizon does not automatically belong to the no-transition category.
  • Performance after updating: compare category-specific observed outcomes with recalibrated predictions using a suitable method for the data structure. A valid sum-to-one constraint alone does not establish good calibration.

Predicted probabilities equal to zero cause a special problem: \(\log(p_{il}/p_{i0})\) may be undefined. A zero may be a structural impossibility specified by the model, or it may arise from rounding or numerical underflow; these cases should not be treated as interchangeable. If a small positive floor is used for numerical reasons, renormalize the prediction vector afterward and report the choice. If a category is structurally impossible, the model and target categories need to be handled so that no fitted recalibration assigns it positive probability without justification.

Alternatives, limitations, and a common mistake

Independent binary recalibrations can be useful when the scientific targets are genuinely separate binary outcomes. But if destinations are mutually exclusive categories in a single prediction, those fits do not automatically produce a coherent joint distribution. A post hoc normalization of separately fitted probabilities can enforce a sum of one when the values are nonnegative, but it does not generally reproduce the estimates from a jointly fitted multinomial model or ensure that the normalized predictions are well calibrated.

A simpler alternative is an intercept-only multinomial adjustment, which changes category proportions without changing the way predictions vary across subjects. It can be more stable when validation data are limited, but it cannot correct an incorrect relationship between the original predictions and outcomes. Adding many destination-specific slopes or interactions increases flexibility but can overfit, especially when some destinations are rare. Recalibration also cannot repair a mismatch in outcome definition, eliminate bias from an invalid censoring adjustment, or guarantee transportability to a population with different case mix.

  • Common mistake: “Each destination's binary calibration curve looks acceptable, so the updated competing-risk probabilities must form a valid prediction.”
  • Correction: Binary calibration assessed separately does not impose a shared total. Fit a joint categorical recalibration model, or otherwise use a justified method that explicitly preserves the sum-to-one constraint, and then assess calibration of the complete outcome distribution.

The practical aim is not merely to obtain numbers between zero and one. It is to update the probabilities for a well-defined set of competing outcomes in a way that remains mathematically coherent, is supported by the validation data, and is checked against observed outcomes using methods appropriate to censoring and the prediction target.

Check Your Understanding

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

  1. A model predicts probabilities \(0.70\), \(0.20\), and \(0.10\) for no transition and two competing destinations. What must be true of the corresponding recalibrated vector?
  2. Why can separate binary recalibrations for two destinations fail to produce a valid joint prediction?
  3. For a multinomial recalibration with category weights \(1\), \(0.30\), and \(0.20\), calculate the three probabilities after normalization.
  4. Why should a subject censored before the prediction horizon not automatically be coded as having no transition?

Solutions. (1) Each recalibrated probability must be nonnegative, and all three must sum to one; they must also refer to the same outcome definition and horizon. (2) The independent fits do not share a denominator or constrain their probabilities to sum to at most one. Their sum can exceed one, or leave an inappropriate remainder. (3) The total weight is \(1+0.30+0.20=1.50\). Dividing each weight by \(1.50\) gives \((0.6667,0.2000,0.1333)\), which sums to one. (4) Censoring before the horizon leaves the endpoint category unknown unless the event category was already determined. Treating that subject as having no transition misclassifies an unresolved outcome.

Clinical Biostats