What Is Being Validated?
An illness-death model predicts how a person’s state may evolve over time: initially healthy people may become ill or die, and initially ill people may die. Validation asks whether predictions agree with outcomes in a cohort not used to develop the model. It is important to define the target precisely: a predicted transition probability is evaluated for a specified starting state, prediction time, and horizon.
Consider states \(0\) (healthy), \(1\) (ill), and \(2\) (dead), where death is absorbing and illness persists until death. At horizon \(t\), a person starting healthy can be in any of the three states; a person starting ill can be ill or dead. The healthy-to-ill probability at \(t\) is therefore the probability of being in state 1 at \(t\), not the probability of ever having become ill by \(t\). Someone who became ill and subsequently died is in state 2 at the horizon.
The three assessments in this tutorial are consequently distinct: among healthy starters, assess \(p_{01}(t)\) and \(p_{02}(t)\); among ill starters, assess \(p_{12}(t)\). These are state-occupancy probabilities at the chosen horizon. Calibration for one probability does not guarantee calibration for the others.
Assumptions and Evaluation Plan
Before calculating performance, specify the origin state, time origin, horizon, target population, and outcome definition. Predictions must be calculated for that same horizon and population. Validation subjects should be independent of model development for an external or held-out validation; when predictions are estimated during resampling, the resampling scheme must also respect any clustering or repeated-subject structure. The model’s predicted probabilities should be valid probabilities: each must lie between 0 and 1, and the probabilities across possible states must sum to 1, up to rounding.
With complete follow-up to \(t\), the state outcome for every subject is observed. With right censoring before \(t\), some horizon states are unknown. A simple complete-case analysis can be biased if being observed through \(t\) is associated with prognosis. An inverse-probability-of-censoring-weighted (IPCW) analysis instead requires censoring to be conditionally independent of the future state, given variables in the censoring model, and requires a positive probability of remaining observed long enough to determine the outcome for each relevant covariate pattern. The censoring model must be adequate; weights cannot repair unmeasured informative censoring.
For a death outcome, death before \(t\) determines the horizon state because death is absorbing. A person known to be alive through \(t\) also has a known death indicator. A person censored while alive before \(t\), however, has an unknown death indicator at \(t\). For state 1, a person who is alive through \(t\) has a known state, but a person censored before \(t\) may later become ill or die. In practice, the censoring weights and observed-history rules must match the particular state outcome; do not treat a censored person as event-free at the horizon.
Horizon-Specific Calibration
A direct calibration check groups subjects with similar predicted probabilities and compares the group’s mean prediction with its observed event proportion. For \(p_{01}(t)\), for example, form groups among healthy starters and compare mean predicted probability of being ill at \(t\) with the observed fraction in state 1. Repeat separately for \(p_{02}(t)\) among healthy starters and \(p_{12}(t)\) among ill starters. A calibration plot can show these comparisons across the probability range; a smooth curve can supplement bins when the sample is large enough.
With complete follow-up, the observed fraction in a group is the usual sample proportion. Under censoring, estimate the observed state probability using an appropriate censoring-adjusted method, such as IPCW or pseudo-observations. The introductory material on pseudo-observations provides one route for estimating transition-probability calibration with incomplete follow-up. Whatever estimator is used, state its assumptions and uncertainty method.
Worked Example: Calibration Among Healthy Starters
Suppose a hypothetical validation cohort includes 90 healthy starters with complete two-year follow-up. In a probability group, the model’s mean two-year predictions are 0.30 for healthy-to-ill, 0.10 for healthy-to-dead, and 0.60 for remaining healthy. The observed counts are 27 ill, 9 dead, and 54 healthy.
For healthy-to-ill, the observed proportion is \(27/90=0.300\), matching the mean prediction of 0.300. For healthy-to-dead, it is \(9/90=0.100\), matching 0.100. For remaining healthy, it is \(54/90=0.600\), matching 0.600. The observed proportions sum to 1, as do the three predicted probabilities.
A rough Wald interval for the observed healthy-to-ill proportion is
This interval is wide despite the point estimates matching exactly. It describes sampling uncertainty in the observed group proportion under the simple binomial approximation; it does not mean there is a 95% probability that the true proportion lies in this particular interval. The approximation also ignores any grouping, censoring adjustment, or uncertainty from estimating the predictions.
Worked Example: Calibration for Ill-to-Dead Prediction
In a separate hypothetical group of 40 people who start ill, suppose the mean predicted probability of death by two years is 0.25 and 12 people die by that horizon. Follow-up is complete, so the observed proportion is \(12/40=0.300\). The observed-minus-predicted calibration difference is \(0.300-0.250=0.050\), or 5 percentage points.
Using a simple binomial standard error, \(SE=\sqrt{0.300(0.700)/40}=0.0725\). The approximate 95% interval for the observed proportion is \(0.300\pm1.96(0.0725)=(0.158,0.442)\); subtracting the fixed mean prediction gives an approximate interval for the calibration difference of \((-0.092,0.192)\). These data do not establish a meaningful departure from calibration: the interval includes zero and is broad. A suitable bootstrap interval is preferable when predictions vary within the group, subjects are clustered, or censoring adjustment is used.
Brier Scores and Why They Work
The Brier score measures squared prediction error for a binary outcome. For a specified transition \(r\) to \(s\), use the horizon indicator \(Y_{i,s}(t)\) and predicted probability \(p_{rs,i}(t)\):
Here \(n_r\) is the number of validation subjects starting in state \(r\). The score is between 0 and 1; lower values indicate smaller squared errors. A transition-specific Brier score treats being in the named destination state as 1 and being in any other state as 0. For an overall assessment of the state distribution, the multicategory Brier score sums the squared errors across all possible states for each subject, then averages:
where \(\mathcal S_0=\{0,1,2\}\) for healthy starters and \(\mathcal S_1=\{1,2\}\) for ill starters. This convention does not divide the multicategory score by two. The convention matters when comparing reported scores.
The squared-error score rewards accurate probabilities, not just correct classifications. To see why, suppose the true conditional probability of the outcome is \(q\), and the forecast is \(p\). Since \(Y\) is binary,
The first term does not depend on the forecast; the second is minimized at \(p=q\). Thus the expected Brier score is minimized by reporting the true conditional probability. The score also reflects outcome uncertainty: even a perfectly calibrated prediction can have a nonzero expected score when outcomes are inherently uncertain.
Worked Example: Calculating Transition-Specific and Overall Scores
Consider four hypothetical healthy starters with complete follow-up to the horizon. Their predicted probabilities for states (healthy, ill, dead) and observed horizon states are: \((0.20,0.10,0.70)\), observed healthy; \((0.40,0.20,0.40)\), observed ill; \((0.60,0.10,0.30)\), observed ill; and \((0.80,0.10,0.10)\), observed dead.
For healthy-to-ill, the binary outcomes are \(0,1,1,0\), and the predictions are \(0.10,0.20,0.10,0.10\). Therefore,
For the overall multicategory score, the subject-level squared-error sums are \(0.20^2+0.10^2+(1-0.70)^2=0.14\), \( (1-0.40)^2+0.20^2+0.40^2=0.56\), \(0.60^2+(1-0.10)^2+0.30^2=1.26\), and \(0.80^2+0.10^2+(1-0.10)^2=1.46\). Thus \(BS_0^{\mathrm{multi}}=(0.14+0.56+1.26+1.46)/4=0.855\). This tiny example is illustrative, not a stable performance estimate.
Scoring When Follow-Up Is Censored
For a binary horizon outcome \(Y_i(t)\), let \(\tilde T_i\) be the last time at which that outcome is known: \(t\) if observed through the horizon, or the observed death time if death before \(t\) determines the outcome. Let \(G_i(u)\) denote the probability of remaining uncensored through time \(u\), conditional on the variables in the censoring model. In the simple setting where outcome status is known after death or when observed through \(t\), an IPCW Brier estimator has contributions weighted by \(1/G_i(\tilde T_i)\); a subject censored alive before \(t\) contributes zero because the horizon outcome is unknown. Divide the total weighted loss by the original number of eligible subjects, not merely the number with observed outcomes. More complex state outcomes may require history-specific weights or other censoring-adjusted estimators.
Worked Example: IPCW Brier Score for Healthy-to-Dead
Suppose six hypothetical healthy starters have two-year death predictions \(0.20,0.40,0.10,0.30,0.25,0.50\). The first two die before two years, at times when estimated censoring survival is 0.95 and 0.80. Two others are followed alive through two years, where estimated censoring survival is 0.75; their death outcomes are both 0. The final two are censored alive before two years and have unknown death outcomes. Assume censoring is conditionally independent of the future death outcome given the censoring-model variables, the censoring model is correct, and positivity holds.
The first two subjects have death indicators 1, so their weighted squared losses are \((1-0.20)^2/0.95=0.6737\) and \((1-0.40)^2/0.80=0.4500\). The two subjects observed alive through the horizon contribute \(0.10^2/0.75=0.0133\) and \(0.30^2/0.75=0.1200\). The censored subjects have no observed horizon outcome and contribute zero. Dividing by all six eligible subjects gives
The zero contributions are part of the weighting estimator, not claims that the censored subjects did not die. If censoring depends on prognosis beyond the variables included in \(G_i\), or some relevant subjects have near-zero probability of being observed, this estimate may be biased or unstable.
Uncertainty, Diagnostics, and Alternatives
Calibration estimates and Brier scores vary across validation samples. A practical approach is to bootstrap subjects, repeating the complete calculation in each resample. For clustered data, resample clusters rather than individuals. In an external validation where the prediction model is fixed, retain each sampled subject’s prediction and outcome together; if the target includes model-fitting uncertainty, model development must also be repeated within each resample. For IPCW analyses, re-estimate the censoring model in each resample. Percentile or other justified bootstrap intervals can then summarize sampling uncertainty. A confidence interval quantifies uncertainty under the sampling and modeling assumptions; it is not the probability that a fixed parameter lies in the observed interval.
Inspect calibration at the chosen horizon separately for each starting state and destination. Useful warning signs include very sparse groups, large gaps between predicted and observed probabilities, unstable weighted estimates, predictions near 0 or 1 unsupported by enough outcomes, and estimated probabilities that fail to sum to 1. Compare a binned plot with a smooth calibration curve when data support smoothing. A single average calibration difference can hide underprediction at low risks and overprediction at high risks.
The Brier score summarizes probability error across the full cohort, while calibration plots localize disagreement between prediction and observation. Discrimination measures, such as those based on ranking, answer a different question: they do not establish that the probabilities themselves are accurate. Comparing Brier scores across horizons or populations also requires caution because outcome frequency, follow-up, censoring, and case mix can differ. No single summary replaces checking calibration, uncertainty, and the data conditions that support the calculation.
A second frequent error is to score healthy-to-ill as “ever ill by \(t\)” while the model predicts the probability of occupying state 1 at \(t\). These are different estimands when death can occur after illness. Define the horizon state first, then make the observed indicator and predicted probability refer to that same state.
Check Your Understanding
Answer each question, then compare with the solutions.
- A healthy starter becomes ill at month 4 and dies at month 10. What is the person’s state at a one-year horizon in the illness-death model?
- Among 50 ill starters, 15 die by the horizon. The mean predicted ill-to-dead probability is 0.24. What is the observed proportion and calibration difference?
- Why should a subject censored alive before the horizon not automatically receive a death indicator of zero?
- For a binary outcome with true conditional probability \(q\), what forecast minimizes expected squared-error loss?
Solutions. (1) State 2, dead; the person is not in state 1 at one year. (2) The observed proportion is \(15/50=0.300\); observed minus predicted is \(0.300-0.240=0.060\), or 6 percentage points. (3) The subject’s death status by the horizon is unknown, so assigning zero misclassifies an unknown outcome as observed event-free follow-up. Use an appropriate censoring adjustment under stated assumptions. (4) The expected loss is \(q(1-q)+(p-q)^2\), which is minimized when the forecast \(p=q\).