Tutorials › Biostatistics › Landmark Analysis in Survival Studies

Survival Analysis

Landmark Analysis in Survival Studies

A practical guide to landmark analysis for survival studies when treatment, response, exposure, or another important covariate is determined after study entry, including immortal time bias, landmark selection, Kaplan–Meier analysis, Cox regression, interpretation, and a complete worked example.

Advanced 15 min read

What You'll Learn

  • Why ordinary baseline survival analysis can be biased when exposure status is determined after enrollment
  • How landmark time defines an analysis population with known exposure status
  • How landmark analysis addresses immortal time bias
  • How to construct landmark Kaplan–Meier curves and Cox models
  • How to choose and interpret the landmark time
  • Common limitations, sensitivity analyses, and reporting considerations

Introduction

Survival studies often begin with a clearly defined time zero, such as randomization, treatment initiation, diagnosis, or surgery. The difficulty arises when an important exposure is not known at that initial time.

Examples include whether a patient eventually achieves a tumor response, whether a patient receives a transplant, whether a biomarker becomes positive, whether a treatment modification occurs, or whether a patient remains progression-free long enough to satisfy a clinically defined condition.

A tempting approach is to classify patients according to what happens during follow-up and then compare survival between the resulting groups. This can create serious bias because membership in one group may require the patient to remain alive and event-free long enough to enter that group.

Key idea: Landmark analysis chooses a prespecified time point after study entry, called the landmark time, and includes only patients who are still under observation and eligible at that time. Exposure status is then determined using information available by the landmark, and survival is analyzed from the landmark forward.

The Problem: Exposure Is Determined After Baseline

Suppose investigators want to know whether achieving a clinical response is associated with longer overall survival.

Patients enter the study at time zero. Some eventually respond, while others do not. A response may occur weeks or months after treatment begins.

If investigators simply label a patient as a "responder" because that patient eventually responds, the responder group has a hidden requirement: the patient must survive long enough to respond.

This creates a period during which the patient cannot yet be classified as a responder but must remain alive and event-free in order eventually to enter the responder group.

Immortal time: A period of follow-up during which an outcome such as death cannot occur if a patient is eventually classified into a particular exposure group is commonly called immortal time. If that period is incorrectly attributed to the exposed group, the exposure can appear more beneficial than it really is.

A Simple Example of Immortal Time Bias

Consider a study in which patients are classified according to whether they eventually receive a treatment intensification.

Patient Time of intensification Death Eventual group
A Day 30 Day 400 Intensification
B Day 90 Day 300 Intensification
C Never Day 150 No intensification
D Day 60 Day 500 Intensification

Patient D, for example, had to survive at least 60 days to be classified in the intensification group.

If all 500 days of Patient D's survival are subsequently attributed to the "intensification" group, the first 60 days are being credited to an exposure that had not yet occurred.

The same issue occurs for every patient whose exposure is determined after baseline.

What Is Landmark Analysis?

Landmark analysis solves this problem by selecting a fixed time point \(L\), called the landmark time.

Only patients who are alive and otherwise eligible at \(L\) enter the landmark analysis.

Exposure status is then determined using information available at or before \(L\). Survival is subsequently analyzed from \(L\) forward.

1
Select the landmark time: Choose a clinically meaningful time \(L\) after baseline.
2
Define the landmark population: Include patients who are alive and eligible at \(L\).
3
Determine exposure: Classify each patient using information known by \(L\).
4
Reset survival time: Measure follow-up from \(L\), not from original study entry.
5
Analyze survival: Use Kaplan–Meier curves, Cox regression, or another appropriate survival method from the landmark forward.

The Landmark Time

The landmark time is central to the validity and interpretation of the analysis. Let:

$$ L=\text{prespecified landmark time} $$

For example, investigators might select 30 days, 90 days, 6 months, or 1 year after treatment initiation.

The landmark should ideally have a strong clinical rationale rather than being selected after inspecting the survival results.

Landmark Potential interpretation
30 days Early treatment response or early safety status
90 days Early disease-control or treatment-response assessment
6 months Intermediate clinical status
12 months Longer-term response or disease-control status
Important: There is no universally correct landmark time. A landmark that is too early may not provide enough information to classify exposure, while a landmark that is too late may exclude many patients and reduce generalizability.

Formal Definition of the Landmark Population

Let \(T\) denote the original event time and \(C\) the censoring time. At landmark \(L\), a patient is eligible if the patient has survived beyond the landmark and remains observable according to the analysis definition.

The landmark population can therefore be represented conceptually as:

$$ \mathcal{R}_L = \{i:T_i>L,\;C_i\ge L\} $$

The exact eligibility definition depends on the study and the endpoint. The essential principle is that the analysis begins with patients who have reached the landmark.

Resetting the Survival Clock

A critical feature of landmark analysis is that follow-up is measured from the landmark rather than from the original study entry.

For patient \(i\), define the landmark survival time as:

$$ T_i^{(L)}=T_i-L $$

when the patient experiences the event after the landmark.

If the patient is censored after the landmark, the corresponding landmark censoring time is:

$$ C_i^{(L)}=C_i-L $$

The analysis therefore asks a different question from the original survival analysis: among patients who have reached the landmark, how does subsequent survival differ according to their status at the landmark?

Landmark Analysis vs. Baseline Analysis

Feature Baseline analysis Landmark analysis
Time origin Study entry Landmark time
Exposure Known at baseline Defined using information available by landmark
Population Eligible patients at baseline Eligible patients who reach landmark
Post-baseline information Usually not used to define baseline exposure Explicitly used to classify landmark exposure
Immortal time concern Potentially severe if exposure is defined retrospectively Reduced by conditioning on landmark survival
Clinical question Outcome from study entry Outcome after reaching landmark

Kaplan–Meier Landmark Analysis

Suppose patients are classified at landmark \(L\) into two groups:

  • Landmark responders
  • Landmark nonresponders

The Kaplan–Meier estimator can then be calculated using survival times measured from \(L\).

For group \(g\), the landmark Kaplan–Meier estimator is:

$$ \widehat{S}_g(t) = \prod_{t_j\le t} \left( 1-\frac{d_{gj}}{n_{gj}} \right) $$

where \(n_{gj}\) is the number at risk immediately before landmark-follow-up time \(t_j\), and \(d_{gj}\) is the number of events at that time.

The resulting curves compare post-landmark survival, not survival from original treatment initiation.

Landmark Cox Regression

Landmark analysis can also be incorporated into a Cox proportional hazards model. Suppose \(Z_i(L)\) represents the exposure status measured at the landmark. The landmark Cox model is:

$$ h_i^{(L)}(t) = h_0^{(L)}(t) \exp\left\{ \beta Z_i(L) + \boldsymbol{\gamma}^{\mathsf T}\mathbf{X}_i(L) \right\} $$

Here:

  • \(h_i^{(L)}(t)\) is the hazard after the landmark;
  • \(h_0^{(L)}(t)\) is the landmark baseline hazard;
  • \(Z_i(L)\) is the landmark exposure;
  • \(\mathbf{X}_i(L)\) contains baseline or landmark covariates;
  • \(\beta\) is the log hazard ratio associated with landmark exposure.

The corresponding hazard ratio is:

$$ HR=\exp(\beta) $$

A Complete Worked Example

Consider a hypothetical oncology study evaluating whether achieving disease control by 12 weeks is associated with subsequent overall survival.

Patients enter the study at treatment initiation. Disease-control status is evaluated during the first 12 weeks. The investigators specify:

Parameter Planning value
Study entry Day 0
Landmark time Week 12
Exposure Disease control by Week 12
Primary post-landmark endpoint Overall survival
Analysis population Patients alive and eligible at Week 12

Suppose 120 patients enter the study. By Week 12:

Status at Week 12 Number of patients
Disease control 68
No disease control 39
Died before Week 12 10
Other landmark-ineligible patients 3
Total 120

The landmark analysis therefore contains:

$$ 68+39=107 $$

patients. The 13 patients who did not reach the landmark in an analyzable state are not included in the post-landmark comparison.

What has changed? The question is no longer "Do patients who eventually achieve disease control live longer?" Instead, it is "Among patients who are alive and eligible at Week 12, do those with disease control by Week 12 have different subsequent survival from those without disease control?"

Step 1: Define the Landmark

The landmark is:

$$ L=12\text{ weeks} $$

The landmark should be specified before examining the final survival comparison whenever possible.

Step 2: Exclude Patients Who Do Not Reach the Landmark

Patients who die before Week 12 cannot be assigned to a post-Week-12 disease control group. They therefore do not contribute to the landmark survival comparison.

This is an important limitation of the method: the analysis conditions on surviving to the landmark.

Step 3: Assign Landmark Exposure

Each patient who reaches the landmark is classified according to disease-control status known by Week 12.

Patient status at Week 12 Landmark exposure
Disease controlled Controlled
Disease not controlled Not controlled

The classification does not use information that occurs after the landmark.

Step 4: Reset Follow-Up Time

Suppose a patient dies at Week 40. The post-landmark survival time is:

$$ 40-12=28\text{ weeks} $$

If another patient is censored at Week 50, that patient's landmark follow-up is:

$$ 50-12=38\text{ weeks} $$

This time reset is essential. The Kaplan–Meier and Cox analyses should use follow-up measured from the landmark.

Step 5: Estimate Landmark Survival

Suppose the resulting 24-month post-landmark survival estimates are:

Landmark group Patients 24-month post-landmark survival
Disease controlled 68 62%
Not controlled 39 31%

A Kaplan–Meier plot would display survival beginning at the Week-12 landmark.

The curves should therefore be interpreted as conditional survival curves: survival among patients who reached Week 12.

Step 6: Fit a Landmark Cox Model

Suppose the Cox model produces:

$$ \widehat{\beta}=-0.72 $$

The corresponding hazard ratio is:

$$ HR=\exp(-0.72)\approx0.49 $$

Thus, in this hypothetical example, patients with disease control by Week 12 have an estimated post-landmark hazard of death approximately 51% lower than patients without disease control.

Interpretation: An estimated hazard ratio of 0.49 means that, conditional on being included in the Week-12 landmark population, the estimated instantaneous hazard of death is approximately 49% as large in the disease-control group as in the non-control group, under the assumptions of the fitted Cox model.

Adjusting for Prognostic Covariates

A landmark analysis can include covariates that are known by the landmark. For example:

  • age;
  • disease stage;
  • baseline performance status;
  • baseline biomarker status;
  • prior treatment;
  • tumor burden;
  • other clinically important prognostic factors.

A multivariable landmark Cox model could be written as:

$$ h_i^{(L)}(t) = h_0^{(L)}(t) \exp \left[ \beta_1 Z_i(L) + \beta_2 X_{i1} + \beta_3 X_{i2} +\cdots+ \beta_k X_{ik} \right] $$

This allows the association between landmark exposure and subsequent survival to be estimated after adjustment for selected covariates.

Caution: Covariates measured after baseline can themselves be affected by treatment or earlier disease evolution. Adjustment decisions should therefore be driven by the causal question and prespecified analysis plan rather than by automated variable selection.

Choosing the Landmark Time

The landmark time involves a trade-off.

1
Too early: The exposure may not yet be fully observable or clinically meaningful.
2
Reasonable landmark: Most relevant exposure information has been collected and the clinical question is clearly defined.
3
Too late: Many patients may have experienced the event before the landmark, reducing the analysis population and potentially limiting generalizability.

A clinically motivated landmark is generally preferable to selecting the landmark solely because it produces the most favorable statistical result.

Landmark Analysis and Immortal Time Bias

The principal attraction of landmark analysis is that it prevents future exposure classification from being used to assign earlier survival time.

Consider again a responder analysis. Without landmarking, a patient who responds at Week 12 might be classified as a responder from Day 0. With a Week-12 landmark, that patient becomes a responder only for the post-Week-12 analysis.

$$ \text{Baseline classification} \quad\Rightarrow\quad \text{response status incorrectly applied before Week 12} $$

versus:

$$ \text{Landmark classification} \quad\Rightarrow\quad \text{response status applied only after Week 12} $$

The latter avoids attributing pre-landmark survival to an exposure that had not yet been established.

Landmark Analysis Is Not the Same as a Time-Dependent Cox Model

Landmark analysis is one solution to a time-dependent exposure problem, but it is not the only one. A time-dependent Cox model can allow exposure status to change during follow-up.

Feature Landmark analysis Time-dependent Cox model
Exposure timing Fixed at landmark Can change over follow-up
Time origin Landmark Usually original study entry
Patients who fail before landmark Excluded from landmark population Can contribute information before failure
Interpretation Conditional on reaching landmark Association with current/time-varying exposure
Complexity Relatively simple Requires careful time-dependent data construction
Rule of thumb: Landmark analysis is particularly attractive when the scientific question is explicitly about prognosis after reaching a clinically meaningful milestone. If the objective is to model exposure changes throughout follow-up, a time-dependent survival model may be more appropriate.

Landmark Analysis in R

A basic landmark analysis can be implemented by first restricting the dataset to patients who reach the landmark, creating post-landmark survival time, and then fitting Kaplan–Meier and Cox models.

library(survival)

landmark_week <- 12

landmark_data <- subset(
  data,
  landmark_eligible == 1
)

landmark_data$time_from_landmark <-
  pmax(time_weeks - landmark_week, 0)

fit_km <- survfit(
  Surv(time_from_landmark, status) ~ disease_control,
  data = landmark_data
)

fit_cox <- coxph(
  Surv(time_from_landmark, status) ~
    disease_control +
    age +
    stage +
    performance_status,
  data = landmark_data
)

summary(fit_cox)

The exact implementation depends on how the source data define eligibility, events, censoring, and landmark exposure.

Landmark Analysis in SAS

The same conceptual workflow can be implemented in SAS.

data landmark;
    set analysis_data;

    if landmark_eligible = 1;

    time_from_landmark =
        max(time_weeks - 12, 0);
run;

proc lifetest data=landmark plots=survival;
    time time_from_landmark * status(0);
    strata disease_control;
run;

proc phreg data=landmark;
    class disease_control(ref='0')
          stage
          performance_status;

    model time_from_landmark * status(0) =
          disease_control
          age
          stage
          performance_status;

    hazardratio disease_control;
run;

The key programming requirement is not the software syntax. It is ensuring that the analysis dataset actually represents the landmark population and that survival time begins at the landmark.

Common Mistake: Keeping the Original Survival Time

A frequent programming error is to classify patients at the landmark but retain the original time from study entry. For example:

/* Incorrect conceptual approach */

proc phreg data=landmark;
    model original_time * status(0) =
          landmark_exposure;
run;

This mixes a post-landmark exposure definition with a baseline time origin.

For a standard landmark analysis, the time scale should be constructed so that the landmark becomes time zero for the analysis.

Common Mistake: Defining Exposure Using Future Information

Suppose the landmark is Week 12. It would be inappropriate to define "landmark responders" using a response that occurs at Week 20.

The exposure definition must respect the information available by the landmark.

$$ Z_i(L) = f\left( \text{information available by }L \right) $$

Using future information defeats the purpose of the landmark design and can reintroduce serious bias.

Common Mistake: Choosing the Landmark After Looking at Survival

Investigators may be tempted to evaluate many possible landmarks and select the one that produces the strongest treatment effect.

For example, they might examine 4, 8, 12, 16, and 24 weeks and report only the landmark with the smallest p-value.

This creates an implicit multiplicity and selection problem.

Better practice: Specify the primary landmark based on clinical and scientific considerations. If multiple landmark times are scientifically important, prespecify them and describe the resulting analyses as primary, secondary, or sensitivity analyses as appropriate.

Common Mistake: Ignoring Selection at the Landmark

Landmark analysis does not make selection bias disappear. Patients who die before the landmark are excluded. Consequently, the landmark population can differ systematically from the original study population.

The resulting hazard ratio should therefore not automatically be interpreted as the effect that would have been observed if every patient had survived to the landmark.

The analysis is conditional on reaching the landmark.

Advantages of Landmark Analysis

  • It provides a straightforward framework for post-baseline exposures.
  • It avoids attributing pre-landmark survival to an exposure determined later.
  • It is relatively easy to explain clinically.
  • Kaplan–Meier and Cox methods can be used with familiar software.
  • It is useful when the scientific question concerns prognosis after a defined clinical milestone.
  • The landmark population and exposure definition can be made explicit and reproducible.

Limitations of Landmark Analysis

  • Patients who experience the event before the landmark are excluded.
  • A late landmark can substantially reduce the sample size.
  • The result applies conditionally to patients who reach the landmark.
  • The choice of landmark can affect the estimated association.
  • Exposure information may be simplified into a single landmark status.
  • Changes occurring after the landmark may not be adequately represented.
  • Residual confounding remains possible in observational studies.

Landmark Analysis vs. As-Treated Analysis

It is important not to confuse landmark analysis with simply dividing patients according to treatment received during follow-up.

An as-treated analysis can incorrectly classify exposure and may introduce immortal time bias if the timing of treatment is ignored.

Landmark analysis instead establishes a common analysis time origin and defines exposure using information available at that time.

Landmark Analysis vs. Conditional Survival

Landmark analysis is closely related to the concept of conditional survival. If \(S(t)\) is the probability of surviving beyond time \(t\), then the probability of surviving an additional \(u\) units of time given survival to \(L\) is:

$$ P(T>L+u\mid T>L) = \frac{S(L+u)}{S(L)} $$

Landmark analysis similarly conditions the analysis on patients who have reached a specified time.

The distinction is that landmark analysis often additionally compares groups defined by exposure or clinical status observed by the landmark.

Recommended Reporting Structure

A publication or clinical study report using landmark analysis should make the following details explicit.

Item What to report
Landmark time Exact time and clinical rationale
Eligibility Criteria for entering the landmark population
Exposure definition Exactly how status was determined by the landmark
Time origin Landmark rather than original study entry
Excluded patients Number and reasons for exclusion before landmark
Analysis Kaplan–Meier, Cox model, or other method
Covariates Variables included in adjusted analyses
Effect estimate Hazard ratio, confidence interval, and p-value where appropriate
Sensitivity analyses Alternative landmarks or exposure definitions when justified

Sensitivity Analyses

Sensitivity analyses are especially useful because landmark results can depend on the selected landmark. Potential analyses include:

  • an alternative clinically reasonable landmark;
  • different definitions of exposure at the landmark;
  • adjustment for important prognostic factors;
  • alternative handling of patients with missing landmark assessments;
  • comparison with a time-dependent Cox analysis;
  • analyses restricted to prespecified clinical subgroups.

Sensitivity analyses should be motivated scientifically rather than chosen solely because they produce a preferred result.

A Practical Landmark Analysis Workflow

1
Define the scientific question. Determine exactly what post-landmark association or prognosis question is being asked.
2
Choose the landmark. Use a clinically meaningful and preferably prespecified time point.
3
Construct eligibility. Identify patients who are alive and otherwise eligible at the landmark.
4
Define exposure. Use only information available by the landmark.
5
Reset time. Create survival and censoring times measured from the landmark.
6
Fit the survival model. Use Kaplan–Meier estimation, Cox regression, or another appropriate method.
7
Check assumptions and sensitivity. Assess proportional hazards when using Cox regression and evaluate clinically reasonable alternative specifications.
8
Interpret conditionally. State clearly that conclusions apply to patients who reached the landmark.

Key Interpretation

Suppose a landmark Cox model produces:

$$ HR=0.60 $$

for patients who achieved disease control by the landmark versus those who did not.

The correct interpretation is not simply: "Patients with disease control have 40% lower mortality."

A more appropriate interpretation is: Among patients who were alive and eligible at the landmark, patients with disease control by the landmark had an estimated 40% lower subsequent hazard of death than patients without disease control, assuming the model is appropriately specified.

Remember the conditioning: The phrase "among patients who reached the landmark" is an essential part of the interpretation.

Key Takeaways

  • Landmark analysis is designed for situations in which an important exposure or clinical status is determined after baseline.
  • The landmark time \(L\) defines the beginning of the post-landmark analysis.
  • Only patients who reach the landmark and satisfy the eligibility criteria enter the landmark population.
  • Exposure is defined using information available by the landmark.
  • Survival time is reset so that the landmark becomes time zero.
  • This approach helps prevent immortal time from being incorrectly attributed to a future exposure group.
  • Kaplan–Meier curves and Cox regression can be used after the landmark.
  • The analysis is conditional on surviving and remaining eligible to the landmark.
  • Landmark selection should be clinically justified and preferably prespecified.
  • Time-dependent Cox models may be preferable when exposure changes repeatedly throughout follow-up.

Final Perspective

Landmark analysis is one of the most useful tools for handling a common problem in clinical survival research: the exposure of interest is not known when patients enter the study.

The central idea is simple. Pick a clinically meaningful landmark, restrict the analysis to patients who reach it, determine their status using information available by that time, and analyze subsequent survival from the landmark forward.

The method does not eliminate all forms of bias, and it changes the target population by conditioning on survival to the landmark. Nevertheless, when the scientific question is explicitly about prognosis after a clinical milestone, landmark analysis provides a transparent and practical framework.

Bottom line: Landmark analysis converts a potentially problematic retrospective exposure classification into a clearly defined conditional survival analysis. Its strength comes from aligning the exposure definition, risk set, and time origin so that patients are not credited with survival time before the exposure status could actually be known.

References

Anderson, J.R., Cain, K.C., & Gelber, R.D. (1983). Analysis of survival by tumor response. Journal of Clinical Oncology, 1(11), 710–719.
Anderson, J.R., Cain, K.C., & Gelber, R.D. (1983). Analysis of survival by tumor response and other time-dependent covariates. Journal of the American Statistical Association.
Simon, R. & Makuch, R.W. (1984). A non-parametric graphical representation of the relationship between survival and the occurrence of an event: application to responder versus non-responder bias. Biometrics, 40(1), 115–123.
Suissa, S. (2008). Immortal time bias in pharmaco-epidemiology. American Journal of Epidemiology, 167(4), 492–499.
Andersen, P.K., Geskus, R.B., de Witte, T., & Putter, H. (2012). Competing risks in epidemiology: possibilities and pitfalls. International Journal of Epidemiology, 41(3), 861–870.