Why the Comparison Must Be Matched
A head-to-head comparison can appear to show that one prediction method performs better when the actual difference comes from who was evaluated, when predictions were made, or how outcomes were scored. Landmark and joint models can use longitudinal information differently, but a fair comparison asks both to predict the same outcome for the same patients at the same prediction time and horizon. Their predictions must then be assessed with the same validation procedure.
For a prediction time \(s\) and horizon \(h\), the target here is survival through \(s+h\), conditional on being alive and event-free at \(s\). Let \(T_i\) be patient \(i\)'s event time, and let \(\mathcal H_i(s)\) denote that patient's longitudinal history available by \(s\). Both methods produce a predicted probability for the same patient-specific conditional event: survival beyond \(s+h\), given survival through \(s\) and information available at \(s\). A model's prediction must not use measurements recorded after \(s\).
This target is conditional on landmark survival. It is not a comparison of unconditional baseline predictions in the full cohort. The earlier material on landmarking and joint models distinguishes their conditioning sets and predictor information; for evaluation, predictions must nevertheless be placed on a common conditional target. In particular, a joint model's prediction should be calculated conditional on the patient being event-free at \(s\) and using only the history available by \(s\), not treated as a baseline prediction for a different population.
Set the Evaluation Target Before Comparing Predictions
For each selected landmark \(s\), define the eligible set as the validation patients who are alive and event-free at \(s\), with the required covariate and longitudinal information available under the prespecified rules. At horizon \(h\), the outcome is whether the event occurs by \(s+h\). Define \(Y_i(s,h)=1\) if patient \(i\) remains event-free beyond \(s+h\), and \(Y_i(s,h)=0\) if the event occurs between \(s\) and \(s+h\). For a patient censored before the horizon without an event, this outcome is unknown, not zero.
Write \(\hat S_i^{LM}(s+h\mid s)\) and \(\hat S_i^{JM}(s+h\mid s)\) for the landmark and joint-model predicted survival probabilities, respectively. The conditioning notation emphasizes the common landmark target: probability of surviving past \(s+h\), conditional on survival to \(s\) and the information each model is allowed to use by \(s\). If the comparison concerns event risk rather than survival probability, use \(1-\hat S_i(s+h\mid s)\) for both methods and define the outcome consistently.
Before looking at validation performance, prespecify the following items:
- Eligible patients: use the same landmark risk set and the same rules for missing or unavailable measurements.
- Prediction times and horizons: compare at identical \(s\) and \(h\), with the same time origin and event-free requirement at \(s\).
- Outcome: apply the same event definition and handling of competing events, if relevant. Do not silently treat a competing event as ordinary censoring unless the estimand and method justify that choice.
- Information cutoff: restrict both models to predictors observed by the prediction time. Any differences in how models summarize permitted history are part of the model comparison, not a reason to give one method future information.
- Validation and scoring: use the same held-out patients, scoring rule, and censoring adjustment for both sets of predictions.
Worked Example: Defining a Matched Validation Target
Suppose two models are being compared at month 12 for survival through month 18, so \(s=12\) months and \(h=6\) months. The hypothetical validation data contain patients who were event-free at month 12, and each model can use measurements collected no later than month 12.
The eligible patients are exactly those event-free at month 12 who meet the prespecified data-availability rules. For each, both methods predict the probability of surviving beyond month 18 conditional on surviving to month 12. An event between months 12 and 18 gives \(Y_i(12,6)=0\); remaining event-free through month 18 gives \(Y_i(12,6)=1\). A patient censored at month 15 without an event has an unknown six-month outcome.
If the joint model is instead evaluated among all patients at baseline, while the landmark model is evaluated only among those event-free at month 12, the resulting scores do not compare predictions for the same target population. Likewise, evaluating one model at a six-month horizon and the other at a twelve-month horizon would answer different prediction questions. Neither comparison isolates the relative performance of the two methods.
Scoring With Right-Censored Outcomes
When every outcome is observed, the Brier score is the average squared difference between a predicted probability and its binary outcome. With right censoring before the horizon, some outcomes are unknown, so simply dropping censored patients or coding them as event-free can distort the score. An inverse-probability-of-censoring-weighted (IPCW) Brier score corrects for the fact that outcomes are observed with different probabilities.
The event weight uses the censoring survival probability just before the event time. A patient with an event observed by the horizon has a known outcome even though follow-up ends at the event. A patient known event-free through the horizon also has a known outcome. A patient censored earlier without an event contributes zero because the outcome is unavailable, but remains included in the denominator \(N\). Under the assumptions below, weighting the observed outcomes corrects for their differing probabilities of observation.
For this score to have its intended interpretation, assume censoring is independent of the event time conditional on the variables used in the censoring model, within the landmark risk set; the censoring model estimates \(G_i(u)\) adequately; and \(G_i(u)>0\) over the event times and horizon being evaluated. The last condition is a positivity requirement: if some patients have essentially no chance of remaining observed, their outcomes cannot be reliably recovered by weighting. These assumptions concern the censoring adjustment, not whether either prediction model is correctly specified.
Estimate or specify the censoring distribution using the same procedure for both models. It may be estimated in the validation data using follow-up and permitted covariates, or by a prespecified approach using training data; the choice should be fixed before comparison. Very small estimates of \(G_i\) create large weights and unstable scores. Report weight diagnostics, and consider a prespecified truncation or restriction when extreme weights are a concern, noting that this changes the evaluation procedure.
A Paired Calculation of Prediction Performance
Worked Example: Comparing IPCW Brier Scores
Consider four hypothetical patients eligible at the same landmark and evaluated at the same horizon. The table gives their outcome status by the horizon, the shared censoring survival probability used for their observed outcome, and each model's predicted survival probability. Patient 3 was censored before the horizon without an event.
| Patient | Outcome by horizon | Censoring probability | Landmark survival prediction | Joint-model survival prediction |
|---|---|---|---|---|
| 1 | Event observed, \(Y=0\) | 0.80 | 0.20 | 0.30 |
| 2 | Event-free through horizon, \(Y=1\) | 0.75 | 0.80 | 0.70 |
| 3 | Censored before horizon; outcome unknown | Not applicable | 0.60 | 0.50 |
| 4 | Event observed, \(Y=0\) | 0.70 | 0.40 | 0.20 |
For patient 1, the landmark-model contribution is \((0-0.20)^2/0.80=0.05000\); the joint-model contribution is \((0-0.30)^2/0.80=0.1125\). For patient 2, the corresponding contributions are \((1-0.80)^2/0.75=0.05333\) and \((1-0.70)^2/0.75=0.1200\).
Patient 3 contributes zero to both weighted sums because the outcome is unknown; the patient's prediction is not scored as if the patient survived. For patient 4, the observed outcome is an event, so \(Y=0\). The contributions are \((0-0.40)^2/0.70=0.2286\) for the landmark model and \((0-0.20)^2/0.70=0.05714\) for the joint model.
There are four eligible patients, so the common denominator is \(N=4\), including patient 3. Thus,
The paired difference, joint model minus landmark model, is approximately \(0.07241-0.08298=-0.01057\). In this hypothetical validation set, the joint model has the lower IPCW Brier score by about 0.0106 squared-probability units. This is a descriptive difference for this evaluation; it does not establish that the joint model will perform better in a new population.
Why the Weighting Works, and How to Quantify the Difference
The IPCW calculation is motivated by the probability that an outcome is observed. For a patient who remains event-free to the horizon, the outcome is observed only if censoring follow-up lasts at least \(h\). Let \(L=(1-\hat S)^2\) denote that patient's squared prediction error when \(Y=1\). Under conditional independent censoring, the observation indicator has conditional probability \(G_i(h)\). Therefore, the conditional expected weighted contribution is
For an event observed at lag \(u\leq h\), the event outcome is observed if censoring has not occurred before \(u\). Its observation probability is \(G_i(u-)\); dividing its squared error by that probability gives the same correction. This argument explains the role of the weights, but does not make the score reliable when censoring is informative after conditioning, the censoring model is poor, or the weights are extreme.
Since both models are scored on the same patients with the same weights, the natural contrast is paired: calculate each patient's weighted loss under each model, subtract the landmark loss from the joint-model loss, and summarize those differences. A lower average Brier score indicates better overall probabilistic accuracy for that target and horizon; it combines aspects of calibration and discrimination. It is not itself a measure of discrimination alone. The earlier material on discrimination of landmark predictions by horizon treats that distinct performance dimension.
Uncertainty should respect the pairing. A bootstrap can resample patients, carrying both predictions, outcomes, and weights together, then recompute the score difference. If the evaluation includes model fitting, resampling or repeated validation should also reflect training-sample variability; bootstrapping only a fixed validation set quantifies uncertainty conditional on the fitted predictions and the specified censoring adjustment. With repeated prediction times per patient, resample patients as clusters, not individual patient-time records, so within-patient dependence is retained.
Multiple Horizons, Diagnostics, and Alternatives
Worked Example: Summarizing Two Prespecified Horizons
Suppose a matched validation analysis reports Brier scores at two horizons, each based on the same landmark cohort. The hypothetical results are: at 3 months, landmark \(0.12\) and joint model \(0.10\); at 9 months, landmark \(0.18\) and joint model \(0.20\). The paired score differences (joint minus landmark) are \(-0.02\) and \(+0.02\), respectively.
The joint model scores better at 3 months, while the landmark model scores better at 9 months. If the prespecified summary gives the two horizons equal weight, the mean difference is \(\{(-0.02)+0.02\}/2=0\), so the summary shows no average difference under that particular weighting. It would be misleading to report this as evidence that the methods are identical: their relative scores differ by horizon, and the average depends on the chosen horizon weights.
Report horizon-specific results alongside any summary. If a weighted average is appropriate for the intended application, specify its weights in advance and state that it summarizes performance over those horizons. Do not select the horizon or weighting after seeing which one favors a preferred model.
Useful checks include verifying that the two prediction columns have the same patient-time rows, that predictions are valid probabilities, and that no predictor measured after \(s\) entered either prediction. Tabulate eligibility, events, and censoring by horizon; inspect the estimated \(G_i\) values and the largest IPCW weights; and examine whether a small number of patients dominate the score. For each horizon, confirm that the outcome coding agrees with the probability being scored: survival probability must be paired with \(Y=1\) for survival, not with an event indicator.
A Brier score is one suitable common score, but not the only alternative. Calibration summaries assess agreement between predicted and observed risks; discrimination measures how well predictions rank patients with different outcomes. These quantities answer different questions, and none should be substituted for another without explanation. If a different score is used, apply the same score and censoring adjustment to both methods and state the target estimand. A comparison of each method using its own preferred metric, cohort, or censoring procedure is not a head-to-head comparison.
The main limitations remain important even with careful matching. IPCW depends on assumptions about censoring and can be unstable under weak follow-up. A score at one horizon does not establish performance at another. A single validation sample can yield a noisy difference, especially with few events or few eligible patients. Finally, fair evaluation does not ensure that either model is well calibrated, correctly specified, or transportable to a different population. The comparison is only as useful as its target, validation design, and uncertainty assessment.
Common Pitfall
A second frequent error is to remove early-censored patients from the denominator or code them as event-free. Neither is appropriate for the IPCW score defined here: their unknown outcome receives zero weighted contribution, while the denominator remains the full eligible \(N\). The censoring adjustment, rather than an invented outcome, accounts for their incomplete follow-up.
Check Your Understanding
Answer each question, then compare with the solutions below.
- At a six-month horizon, a patient is censored at four months without an event. Is the patient's outcome coded as survival, event, or unknown?
- Why must a joint-model prediction in a landmark comparison be conditional on being event-free at the landmark?
- In the worked Brier calculation, why does patient 3 contribute zero to the numerator but remain in the denominator?
- What does a lower Brier score indicate, and what does it not establish?
- Name two diagnostics that are important when using IPCW.
Solutions: (1) Unknown; follow-up ended before the horizon without observing an event. (2) The comparison target is survival beyond the horizon among patients who reached the landmark event-free, not unconditional survival from baseline. (3) The IPCW formula assigns zero contribution when the outcome is unobserved, while its denominator is the number eligible at the landmark; weighting corrects for incomplete outcome observation under the censoring assumptions. (4) It indicates lower average squared probability error for the specified target, horizon, and evaluation procedure; by itself it does not establish superiority in another population, at another horizon, or with statistical certainty. (5) Inspect the estimated censoring survival probabilities and the size or concentration of IPCW weights; also check event counts, censoring patterns, and prediction validity.