A model predicts that one patient has a 70% probability of surviving the next year and another has a 40% probability. How would we know whether those predictions are useful?

First, we need to define the event and the clock. Overall survival measures time until death from any cause. Progression-free survival typically measures time until progression or death, according to the protocol's definitions. Time to recurrence, disease-specific survival and treatment discontinuation answer different questions. A survival prediction without an explicit endpoint, time origin and prediction horizon is difficult to interpret, much less evaluate.

I've been revisiting the statistical methods used in oncology because the distinction between comparing groups and predicting an individual's risk over time is easy to lose when all the outputs involve survival curves, hazard ratios or risk scores.

Start with time, event and censoring

A survival dataset usually records an observed follow-up time, an event indicator and patient characteristics. In the simplest right-censored setting,

\[ \tilde T = \min(T,C), \qquad \delta = \mathbf{1}(T \le C), \]

where \(T\) is the event time and \(C\) is the censoring time. We observe the earlier of the two, together with whether the event occurred first.

If a patient is alive at the last follow-up for an overall survival study, we know they survived at least until that date. We do not know their eventual event time. A patient who is lost to follow-up is also right-censored at their last known event-free time. Treating these observations as deaths would be wrong; treating them as permanently event-free would also be wrong.

Illustrative follow-up timelines show two observed events and two right-censored patients.

Conventional Kaplan–Meier and Cox analyses need assumptions about censoring. In particular, censoring should not depend on the unobserved event time in a way the analysis fails to account for. If rapidly deteriorating patients disproportionately disappear from follow-up, a naive estimate may overstate survival. Administrative censoring, loss to follow-up and competing events also need to be distinguished.

The time origin matters just as much. Diagnosis, treatment initiation, surgery and trial randomization are different starting points. Including only patients who survived long enough to receive a treatment can introduce immortal time bias if follow-up and exposure are not aligned.

Kaplan–Meier: estimating survival in a group

The survival function is

\[ S(t)=P(T>t). \]

The Kaplan–Meier (KM) estimator updates the estimated probability of survival at each observed event time:

\[ \hat S(t)=\prod_{t_j\le t}\left(1-\frac{d_j}{n_j}\right), \]

where \(d_j\) is the number of events at time \(t_j\) and \(n_j\) is the number at risk immediately beforehand. Censored observations reduce subsequent risk-set counts but do not produce downward steps in the curve.

For example, if ten patients are at risk immediately before an event and one experiences it, the estimated survival probability is multiplied by \(9/10\). At the next event, the updated risk set matters. That is why a KM curve cannot be recreated by calculating the fraction of the original cohort still observed at each time point.

Reading two illustrative Kaplan–Meier curves

Consider two hypothetical oncology cohorts, each enrolling 20 patients at the same time origin. We track overall survival, with death from any cause as the event. The plotted data are constructed for teaching; they are not trial results, and the groups are not identified as treatment or control.

Two Kaplan–Meier curves with event steps, censor marks and a numbers-at-risk table.

To read this plot:

  1. Start at 100%. Everyone is known to be alive at enrollment. Horizontal segments indicate that no deaths occurred between the recorded event times.
  2. A downward step represents a death. At month 4, Group A falls to 85% (3 deaths among 20 patients) while Group B falls to 75% (5 deaths among 20). The decrease is determined by the fraction experiencing an event among those still at risk, not by a smooth line fitted through points.
  3. A cross marks censoring. One patient in each group is censored at month 11, and another at month 17. Neither censoring produces a downward step. Instead, fewer people contribute to the risk set at later event times.
  4. Choose a time and read vertically. At 12 months, estimated overall survival is 75% for Group A and 55% for Group B. The observed 20-percentage-point difference is a contrast between these cohort-level estimates at that time, not a 20% hazard reduction or an individual treatment effect.
  5. Read the numbers at risk beneath the graph. At 12 months there are 14 patients still under observation and event-free in Group A, compared with 10 in Group B. By 24 months only 8 and 3 remain at risk. The right-hand tail therefore has much less data behind it.

The curve for Group A stays above Group B in this example. That tells us the estimated observed survival was higher in A during follow-up. It does not tell us why. If groups differ in disease stage, treatment access or other prognostic factors, the separation could reflect those differences. Even in a randomized trial, an interpretation of treatment benefit needs uncertainty intervals, study design and endpoint definitions. I would normally expect a publication-quality KM plot to include 95% confidence bands, which are intentionally omitted here so the mechanics are easier to see.

Median survival is the earliest time a KM curve reaches 50% or below. Group B crosses that level at 15 months in this illustration; Group A remains above 50% until month 21. If a curve never drops to 50% during observed follow-up, its median survival is not reached—we should not extrapolate it from the last plotted point.

A KM curve is a group-level estimate. It can describe the observed survival experience of patients in a trial arm or a biomarker-defined subgroup, with uncertainty intervals and numbers at risk. It is not, by itself, a model predicting survival for a new patient with a particular combination of features.

Two KM curves may be compared with a log-rank test, which assesses evidence against equal survival functions under its assumptions. The test provides a comparison, not an estimate of how large or clinically meaningful the difference is. Nonproportional hazards and crossing curves complicate interpretation; a single p-value can hide the shape of the difference over time.

Hazard and hazard ratios

The hazard is an instantaneous event rate conditional on remaining event-free up to that time:

\[ h(t)=\lim_{\Delta t\to0} \frac{P(t\le T<t+\Delta t\mid T\ge t)}{\Delta t}. \]

HR, HRR and the quantities they compare

For two groups, the hazard ratio (HR) compares their instantaneous event hazards. Using Group A as the numerator and Group B as the reference:

\[ \mathrm{HR}_{A:B}(t)=\frac{h_A(t)}{h_B(t)} \]

An HR below 1 indicates a lower estimated hazard in A than in B, given the chosen numerator and reference. In a Cox proportional hazards model the HR is assumed constant over time. An HR of 0.70 corresponds to a 30% lower instantaneous hazard, not a 30-percentage-point improvement in survival and not necessarily a 30% reduction in the probability of death by 12 months. The KM curves above do not establish any particular HR without a fitted model or hazard estimation.

In biomarker-stratified oncology studies, HRR sometimes means the ratio of two hazard ratios: an interaction measure comparing treatment effects across subgroups. For example, suppose the treatment-versus-control HR is 0.60 in biomarker-positive patients and 0.90 in biomarker-negative patients. Then, with that explicitly defined ordering,

\[ \mathrm{HRR}=\frac{\mathrm{HR}_{\mathrm{treatment:control,\ biomarker+}}}{\mathrm{HR}_{\mathrm{treatment:control,\ biomarker-}}}=\frac{0.60}{0.90}\approx0.67 \]

The point estimate suggests a relatively stronger treatment association in biomarker-positive patients on the hazard-ratio scale. Whether that difference is convincing requires a treatment-by-biomarker interaction estimate and confidence interval or formal test, not merely comparing the significance of each subgroup HR separately. The reciprocal HRR results if the subgroup order is reversed; always specify the convention. HRR is less standardized terminology than HR, so define it when using it.

A separate measure, the risk ratio (RR), compares the probability of an event by a specified time:

\[ \mathrm{RR}(12)=\frac{P(T\le 12\mid A)}{P(T\le 12\mid B)} \]

RR depends on the horizon and is not interchangeable with HR or HRR. For the illustrative KM values at 12 months, the corresponding estimated cumulative event probabilities are 25% and 45%, so the event-risk ratio A:B is approximately 0.56. This is a descriptive contrast between the two hypothetical cohorts, not an adjusted or causal treatment-effect estimate.

A hazard is not a probability. A hazard ratio of 0.70 does not mean 30% more patients survive at every time point, and it cannot be directly translated into a fixed reduction in absolute mortality risk.

The Cox proportional hazards model writes

\[ h(t\mid x)=h_0(t)\exp(\beta^\top x). \]

Here \(h_0(t)\) is an unspecified baseline hazard and \(\exp(\beta^\top x)\) scales it according to patient covariates. A one-unit change in feature \(x_k\) multiplies the modeled hazard by \(\exp(\beta_k)\), holding other covariates fixed.

The familiar hazard ratio interpretation depends on proportional hazards: the relative hazard is assumed constant over time for covariate patterns being compared. That may be a poor approximation when treatments have delayed effects or when hazards cross. Schoenfeld residuals and graphical checks can help detect violations, but a statistically insignificant test does not prove the assumption.

In oncology, I would also ask whether a covariate is measured at baseline or changes during follow-up. A baseline Cox model cannot safely use a laboratory result collected six months later to predict risk at treatment initiation.

What restricted mean survival time tells us

Sometimes the quantity I want is easier to interpret in units of time. Restricted mean survival time (RMST) up to a prespecified horizon \(\tau\) is the area under the survival curve:

\[ \mathrm{RMST}(\tau)=\int_0^\tau S(t)\,dt. \]

Comparing RMST between two groups describes the difference in expected event-free time within that restricted follow-up window. It does not require a constant hazard ratio to be meaningful. Its interpretation depends on selecting a clinically relevant horizon and having adequate support from follow-up data.

A difference of, say, two months of RMST through 24 months is conceptually different from a hazard ratio: the former is an absolute difference in average survival time accrued within 24 months; the latter describes relative instantaneous event rates under the fitted model.

Moving from group comparisons to risk prediction

A model can output several related but noninterchangeable quantities:

OutputWhat it meansWhat it does not tell us
Cox linear predictor \(\beta^\top x\)Relative log-hazard scoreAn absolute survival probability without a baseline survival estimate
Cox partial hazard \(\exp(\beta^\top x)\)Relative hazard scaleA patient's probability of death
Survival curve \(\hat S(t\mid x)\)Predicted probability of remaining event-free beyond each timeA directly observed individual counterfactual
Risk at a horizon \(1-\hat S(12\mid x)\)Estimated event probability by 12 monthsA prediction valid for all other horizons

A model that ranks patients correctly can still produce poor absolute probabilities. Conversely, two models can have similar ranking ability but very different calibration at 12 or 24 months.

For high-dimensional RNA expression or learned embeddings, penalized Cox models such as CoxNet are reasonable starting baselines. More flexible neural methods may learn nonlinear relationships or time-varying effects, but they also introduce training, tuning and evaluation complexity. DeepHit and related discrete-time approaches model event-time distributions differently from a Cox model; the comparison needs a common event definition, split and metric.

Evaluating a survival prediction model

A good evaluation starts with the intended use. Is the model ranking patients for research stratification? Reporting 12-month risk to support a clinical conversation? Selecting a trial population? Each needs different evidence.

Evaluation framework separating discrimination, probability accuracy, calibration and clinical decision usefulness.

Discrimination: who experiences an event sooner?

The concordance index (C-index) measures how often predicted risk rankings agree with event-time ordering among comparable pairs. Harrell's C-index is familiar, but it can be optimistic with substantial censoring. Uno's IPCW-based concordance is an alternative that uses inverse-probability-of-censoring weighting under appropriate assumptions, with its own dependence on estimating censoring and choosing the time range.

C-index evaluates ordering. It does not say whether a predicted 20% one-year event risk is actually 20%.

Time-dependent AUC asks a horizon-specific ranking question. For instance, at 12 months, cumulative/dynamic AUC distinguishes patients who experienced the event by 12 months from those event-free beyond 12 months. Handling patients censored before that horizon requires a censoring-aware estimator. Different time-dependent ROC definitions exist, so a reported AUC should name the estimator and case/control definition.

A single C-index or AUC value can conceal how performance changes between early and late follow-up.

Probability accuracy: Brier score

At time \(t\), the Brier score compares predicted survival probabilities with observed event-free status, using censoring-aware weighting because that status may be unknown for patients censored before \(t\).

A lower score is better. The integrated Brier score (IBS) summarizes these errors over a prespecified time interval; its value depends on the integration range. For a fair comparison, models should be evaluated on the same patients, time horizons and censoring-handling approach.

Discrimination and Brier score measure different properties. A model can rank patients well while being systematically overconfident.

Calibration: do the probabilities correspond to outcomes?

Suppose a model assigns approximately 30% one-year mortality risk to a group of patients. After accounting appropriately for censoring, is the observed one-year event probability close to 30%?

Calibration can be evaluated at clinically useful horizons with calibration plots, calibration intercept/slope approaches adapted to survival data and prediction-error summaries. I would inspect calibration within relevant subgroups as well as overall, but would be cautious about small groups with few events.

For a model used at treatment initiation, calibration at 12 months may matter much more than a global ranking score. A model that is calibrated in one hospital or disease stage may not remain calibrated after treatment practices, follow-up or case mix change.

A compact evaluation checklist

QuestionMeasurement or design choice
What outcome and time origin?Explicit endpoint, baseline and time horizon
How much information is observed?Events, censoring, follow-up distribution and risk tables
Can the model rank patients?C-index, time-dependent AUC, uncertainty intervals
Are predicted probabilities accurate?Horizon-specific and integrated Brier scores
Are probabilities calibrated?Calibration at relevant horizons and subgroups
Does performance generalize?Patient-level holdout, temporal and external cohorts
Is the result actionable?Predefined use case, thresholds, harms, benefit and workflow

For uncertainty, I would bootstrap at the patient level where appropriate, preserving the dependence among records for patients with repeated samples. Confidence intervals around a metric should reflect the evaluation design rather than treating correlated samples as independent.

Preventing leakage in oncology survival studies

Survival datasets often combine molecular measurements, clinical visits, treatment histories and long follow-up. I would pay close attention to several sources of optimistic evaluation.

Split by patient, not specimen. Multiple RNA assays or pathology slides from one patient should not be divided across training and test sets.

Respect prediction time. Features must have been available at the time the prediction is supposed to be made. Treatment response, progression-related measurements and post-baseline interventions cannot silently appear as baseline predictors.

Fit transformations on training data. Standardization, gene filtering, PCA, feature selection, risk-score thresholds and hyperparameter tuning must not use the held-out patients. A PCA representation that explains 95% of variance in the full cohort has already seen the test data.

Check the amount of follow-up. A model evaluated at 36 months needs sufficient observations and defensible censoring estimates at that horizon. Late-time metrics can become unstable when few patients remain under observation.

Watch for cohort shift. Changing therapies, assay pipelines and referral patterns may alter the relation between features and outcomes. Temporal and external validation often reveal limitations that a random split misses.

Risk groups and Kaplan–Meier plots

Many papers split a continuous risk score into “high” and “low” risk groups and display separate KM curves. This is useful descriptively, but it is not a complete model evaluation.

If the split is defined using the median score of the test set, the threshold is selected using held-out information. If it is chosen to maximize the log-rank statistic on the test set, the significance estimate is additionally biased by selection.

A cleaner approach is to define the cutoff on training data, freeze it and then apply it unchanged to the holdout set. Better still, retain continuous metrics and calibrated horizon-specific risks alongside any plotted groups. Two groups with apparently separated KM curves do not establish accurate individual predictions or clinical utility.

Competing risks and the endpoint definition

For overall survival, death from any cause is usually the event. For outcomes such as death from cancer, another cause of death may prevent the event of interest. That is a competing risk, not ordinary independent right censoring.

When the question is absolute probability of a specific event in the presence of competing events, the cumulative incidence function (CIF) is generally the relevant target. Kaplan–Meier treatment of competing events as ordinary censoring can overestimate that event's cumulative incidence.

Cause-specific hazard models and Fine–Gray subdistribution hazard models answer different questions. I would decide whether the scientific task is understanding associations with cause-specific event rates or predicting absolute incidence before choosing the model and evaluation protocol.

References and useful implementations

All images in this article were generated using AI.