Tutorials › Joint Modeling of Longitudinal and Time-to-Event Data › Deriving Conditional Survival from a Landmark Cox Model

Landmarking as an Alternative · Tutorial 638 of 697

Deriving Conditional Survival from a Landmark Cox Model

Learn to convert a landmark Cox fit into a conditional survival probability over a specified post-landmark interval.

Intermediate 11 min read

What You'll Learn

  • Define conditional survival for people event-free at a landmark.
  • Derive the baseline-survival ratio form of the Cox prediction.
  • Calculate conditional survival from baseline survival estimates and covariate risk multipliers.
  • Distinguish residual-time and absolute-time baseline survival representations.
  • Check the assumptions and diagnostics that matter for landmark Cox predictions.
  • Recognize why the risk multiplier scales cumulative hazard, not survival probability.

From a Landmark Cox Fit to Conditional Survival

A landmark prediction asks about future event-free survival among people who have reached a specified time without the event. A Cox model supplies a relative hazard through its covariates, but a survival probability also requires the baseline hazard over the prediction interval. The key calculation combines the covariate risk multiplier with the baseline survival accumulated after the landmark.

Let \(s\) denote the landmark time, \(u>0\) the prediction interval after that landmark, \(T\) the event time, and \(Z(s)\) the covariate vector available at the landmark. The event-free cohort at \(s\) consists of people with \(T>s\). We seek the probability of remaining event-free through \(s+u\), conditional on being event-free at \(s\) and on the landmark covariates.

Definition: The conditional survival probability at landmark \(s\), over a further interval of length \(u\), is \(P(T>s+u\mid T>s,Z(s))\). It describes survival from \(s\) to \(s+u\) among people event-free at \(s\), conditional on their covariates measured or constructed at \(s\).

The conditioning matters: this is not the probability of surviving from the study origin to \(s+u\). It starts with the selected group still event-free at \(s\). Earlier material on landmark Cox models establishes the residual-time setup and the eligible risk set; here the focus is how to obtain a survival probability from the fitted Cox model.

The Cox Model and the Survival Formula

Suppose a Cox proportional hazards model is fitted using absolute event time \(t\), with a fixed covariate vector \(Z(s)\) for prediction after the landmark. Its hazard is

$$ \lambda(t\mid Z(s))=\lambda_0(t)\exp\{\beta^\top Z(s)\}, $$

where \(\lambda_0(t)\) is the baseline hazard, \(\beta\) is the coefficient vector, and \(\exp\{\beta^\top Z(s)\}\) is the covariate risk multiplier. The proportional hazards assumption means this multiplier does not vary with \(t\) over the modeled interval. The covariates used in this prediction are held at their landmark values.

Write \(\Lambda_0(t)=\int_0^t\lambda_0(v)\,dv\) for the cumulative baseline hazard and \(S_0(t)=\exp\{-\Lambda_0(t)\}\) for the baseline survival. Conditional on a fixed covariate vector, the model implies \(S(t\mid Z(s))=\exp\{-\Lambda_0(t)\exp(\beta^\top Z(s))\}\). To condition on being event-free at \(s\), take the survival probability through \(s+u\) divided by the survival probability through \(s\). This yields the landmark formula.

$$ \begin{aligned} P(T>s+u\mid T>s,Z(s)) &=\frac{S(s+u\mid Z(s))}{S(s\mid Z(s))}\\ &=\exp\left\{-\left[\Lambda_0(s+u)-\Lambda_0(s)\right] \exp\{\beta^\top Z(s)\}\right\}\\ &=\left[\frac{S_0(s+u)}{S_0(s)}\right]^{\exp\{\beta^\top Z(s)\}}. \end{aligned} $$

This is a ratio of baseline survival values over the post-landmark interval, raised to the covariate risk multiplier. Equivalently, the baseline cumulative hazard increment \(\Lambda_0(s+u)-\Lambda_0(s)\) is multiplied by \(\exp\{\beta^\top Z(s)\}\) before converting it to survival. The multiplier does not multiply the baseline survival probability itself.

Some landmark Cox models are fit directly on residual time \(v=T-s\), with baseline hazard \(\lambda_{0,s}(v)\). For that representation, define \(S_{0,s}(u)=\exp\{-\int_0^u\lambda_{0,s}(v)\,dv\}\). The corresponding prediction is

$$ P(T>s+u\mid T>s,Z(s)) =S_{0,s}(u)^{\exp\{\beta^\top Z(s)\}}. $$

This is the same structure: \(S_{0,s}(u)\) is the baseline survival over the post-landmark interval, and can also be written as \(S_{0,s}(u)/S_{0,s}(0)\), since \(S_{0,s}(0)=1\). Do not substitute an absolute-time baseline survival into a residual-time formula, or vice versa, without matching the time scale and risk set used to fit the model.

Worked Predictions

Worked Example: An Absolute-Time Baseline-Survival Ratio

Suppose a fitted landmark Cox model gives a reference-covariate baseline survival of \(S_0(s)=0.92\) at the landmark and \(S_0(s+u)=0.80\) at a horizon 6 months later. For a hypothetical person, let \(\exp\{\beta^\top Z(s)\}=1.5\). Calculate conditional survival over these 6 months.

The baseline survival ratio for the interval is \(0.80/0.92=0.869565\). Apply the Cox risk multiplier as an exponent:

$$ \begin{aligned} P(T>s+u\mid T>s,Z(s)) &=\left(\frac{0.80}{0.92}\right)^{1.5}\\ &=\exp\{1.5\log(0.869565)\}\\ &\approx 0.8109. \end{aligned} $$

The predicted conditional probability of remaining event-free for 6 months is about \(81.09\%\), and the corresponding conditional event probability by that horizon is \(1-0.8109=0.1891\), or \(18.91\%\). These are model-based predictions for the hypothetical covariate profile, not unconditional probabilities from the study origin.

Worked Example: A Twofold Covariate Risk Multiplier

Suppose another hypothetical fitted model gives \(S_0(s)=0.90\) and \(S_0(s+u)=0.75\), with \(u=1\) year. A one-unit covariate value has coefficient \(\beta=\log(2)\), so this person’s risk multiplier is \(\exp\{\beta\cdot 1\}=2\).

The baseline interval survival is \(0.75/0.90=5/6\). Therefore,

$$ \begin{aligned} P(T>s+u\mid T>s,Z(s)=1) &=\left(\frac{5}{6}\right)^2\\ &=\frac{25}{36}\\ &\approx 0.6944. \end{aligned} $$

Conditional survival through the year is approximately \(69.44\%\); the model-based conditional event probability is \(1-0.6944=0.3056\), or \(30.56\%\). A twofold hazard multiplier does not mean survival is halved. The Cox model multiplies the cumulative hazard increment by two, and survival is the exponential of the negative resulting cumulative hazard.

Worked Example: Using a Residual-Time Baseline Estimate

A Cox model is fit directly to residual survival time after a landmark. For a hypothetical profile, suppose the estimated residual-time baseline survival at \(u=9\) months is \(S_{0,s}(u)=0.85\), and the fitted covariate risk multiplier is \(0.70\). Calculate the conditional survival probability.

Because this is a residual-time fit, its baseline survival already refers to the interval starting at the landmark. The prediction is

$$ \begin{aligned} P(T>s+u\mid T>s,Z(s)) &=0.85^{0.70}\\ &=\exp\{0.70\log(0.85)\}\\ &\approx 0.8925. \end{aligned} $$

The predicted conditional survival through 9 months is about \(89.25\%\), and the predicted conditional event probability is \(1-0.8925=0.1075\), or \(10.75\%\). A multiplier below one corresponds to a lower hazard than the reference profile, so survival is higher than the baseline interval survival of \(85\%\).

Why the Formula Holds—and What Must Hold

The derivation relies on the fitted Cox model describing hazards appropriately for the people in the landmark risk set and across the prediction interval. Under a Cox model, conditional survival at a time is the exponential of negative cumulative hazard. Dividing survival at \(s+u\) by survival at \(s\) removes the hazard accumulated before the landmark:

$$ \begin{aligned} \frac{\exp\{-\Lambda_0(s+u)\exp(\eta)\}} {\exp\{-\Lambda_0(s)\exp(\eta)\}} &=\exp\{-[\Lambda_0(s+u)-\Lambda_0(s)]\exp(\eta)\}, \quad \eta=\beta^\top Z(s). \end{aligned} $$

Since \(S_0(t)=\exp\{-\Lambda_0(t)\}\), the ratio of baseline survivals is \(\exp\{-[\Lambda_0(s+u)-\Lambda_0(s)]\}\). Raising that ratio to \(\exp(\eta)\) gives the conditional survival expression. This derivation also shows why conditioning cancels pre-landmark cumulative hazard, while retaining the post-landmark increment.

The formula is meaningful when the following modeling conditions are reasonably supported:

  • Proportional hazards: the covariate hazard ratio is constant over the prediction interval under the fitted model.
  • Appropriate landmark cohort and covariates: the model is applied to people eligible at \(s\), and the prediction uses covariate information defined at \(s\).
  • Non-informative censoring conditional on modeled information: censoring does not convey additional information about future event time once the modeled covariates and risk-set structure are accounted for.
  • Estimable baseline survival: there is enough follow-up and risk-set support to estimate the baseline cumulative hazard through \(s+u\).

Censoring before the horizon is not itself an event. Cox estimation accommodates right-censored observations under its censoring assumptions; it does not turn a censored follow-up into evidence that the person survived event-free through the full horizon. Likewise, a fitted model cannot reliably provide a horizon-specific prediction beyond the time range with adequate follow-up support.

Diagnostics, Alternatives, and Limitations

Check that the time origin used in the baseline estimate matches the model fit. For an absolute-time fit, use \(S_0(s+u)/S_0(s)\); for a residual-time fit, use \(S_{0,s}(u)\). Confirm that \(S_0(s)>0\), that the ratio lies between zero and one, and that the resulting conditional survival is also between zero and one. A ratio greater than one often signals a reversed time order, inconsistent baseline estimates, or a mismatch in time scale.

Assess proportional hazards with suitable residual-based or time-interaction diagnostics, and examine whether covariate profiles at prediction time are represented in the landmark data. Also inspect the number at risk and censoring near the horizon. Sparse risk sets can make estimated baseline survival unstable even when the formula is algebraically correct. If the covariate effect changes over time, a single constant risk multiplier may produce misleading horizon predictions.

A fixed-horizon landmark logistic model directly models event status by a chosen horizon and can be convenient when that horizon is the only target, but it does not provide the same full residual survival curve. A landmark Cox model estimates survival across horizons subject to its hazard assumptions. Parametric survival models are another option when a defensible distributional form is available; they can extrapolate more readily, but their predictions depend on that additional distributional assumption. These approaches answer related but not identical modeling questions.

The displayed formula treats the fitted coefficients and baseline survival estimates as given. In practice, they are estimated from data, so prediction uncertainty includes uncertainty in both. The calculation does not by itself establish that predictions are calibrated or transportable to another population. Nor does it remove the selection inherent in conditioning on having survived event-free to the landmark. These are important qualifications when interpreting predictions, not reasons to alter the algebra.

Common Pitfall

Common mistake: “The covariate risk multiplier is 1.5, so multiply baseline interval survival by 1.5.” This can yield a value above one and misstates the Cox model. The correction is to multiply the baseline cumulative hazard increment by 1.5, or equivalently raise the baseline interval survival to the power 1.5. In general, \(S_{\mathrm{conditional}}=[S_0(s+u)/S_0(s)]^{\exp\{\beta^\top Z(s)\}}\), not the baseline ratio times \(\exp\{\beta^\top Z(s)\}\).

Check Your Understanding

Use the formulas above to answer each question. Solutions follow the questions.

  1. If \(S_0(s)=0.95\), \(S_0(s+u)=0.85\), and the risk multiplier is 1, what is conditional survival?
  2. If the baseline interval survival is \(0.80\) and the covariate risk multiplier is 2, calculate conditional survival and conditional event probability.
  3. A residual-time Cox fit gives \(S_{0,s}(u)=0.90\) and risk multiplier \(0.5\). Is predicted survival above or below \(0.90\), and what is its value to four significant figures?
  4. State why the ratio \(S_0(s+u)/S_0(s)\), rather than \(S_0(s+u)\) alone, appears when using an absolute-time Cox baseline.

Solutions. (1) The multiplier is one, so conditional survival is \(0.85/0.95=0.8947\). (2) Survival is \(0.80^2=0.6400\), and the event probability is \(1-0.6400=0.3600\). (3) Since \(0.5<1\), survival is above baseline: \(0.90^{0.5}=\sqrt{0.90}\approx0.9487\). (4) \(S_0(s+u)\) includes survival accumulated before the landmark; dividing by \(S_0(s)\) conditions on having reached \(s\), leaving only survival over the post-landmark interval.

Clinical Biostats