Medical AtlasPROJECT IMG
✎ Sketch Notes🏛️ 3D LibraryMy Desk

Survival analysis, Kaplan-Meier curves & hazard ratios

Survival analysis studies the time until an event occurs while handling patients who are censored. Kaplan-Meier curves show the proportion event-free over time, the log-rank test compares curves, and Cox regression gives a hazard ratio, interpreted like a relative risk.

Overview

Many outcomes are about when, not just whether: time to death, relapse or hospitalization. Simple proportions waste information and cannot handle patients followed for different lengths of time. Survival (time-to-event) analysis solves this.

Censoring: a patient is censored when follow-up ends without the event (the study ends, the patient withdraws, moves away, or dies of an unrelated cause). Censored patients contribute data up to their last contact and are marked as tick marks on the curve.

Kaplan-Meier curve

  • Y-axis: proportion still event-free (starts at 1.0 or 100%).
  • X-axis: time since start.
  • The curve drops in steps each time an event occurs; it never rises.
  • A curve that stays higher means better survival (for a bad outcome).
  • A wider separation between curves means a larger difference between groups.
  • Median survival: time at which the curve crosses 0.5 (50%).
  • The numbers at risk shown below the graph shrink over time; the right end of the curve is less reliable.

Comparing curves

ToolPurpose
Log-rank testTests whether two or more Kaplan-Meier curves differ significantly (gives a p value)
Cox proportional hazards regressionEstimates the hazard ratio, adjusting for covariates

The hazard ratio

The hazard is the instantaneous event rate at any moment among those still at risk. The hazard ratio (HR) = hazard in treatment group / hazard in control group.

HRMeaning
1No difference
Below 1Lower event rate in treatment group (benefit if event is bad)
Above 1Higher event rate

HR 0.75 (95% CI 0.62-0.90): the treated group has a 25% lower rate of the event at any time point, and the result is significant because the CI excludes 1. HR 0.90 (95% CI 0.75-1.08): not significant.

The Cox model assumes the HR is constant over time (proportional hazards). If the curves cross, this assumption fails.

Other survival terms

  • Five-year survival rate: percentage alive 5 years after diagnosis; vulnerable to lead-time bias in screening.
  • Overall survival vs progression-free survival (a surrogate endpoint in oncology).
  • Disease-free survival: time without recurrence after curative treatment.

Worked example

A trial of a new chemotherapy shows Kaplan-Meier curves separating early. At 24 months, 60% of treated and 45% of control patients are alive. Median survival is 30 months vs 20 months. Log-rank p = 0.01; HR 0.70 (95% CI 0.55-0.89). Interpretation: treatment reduces the hazard of death by 30% at any given time, the difference is significant, and median survival is prolonged by about 10 months. Check for censoring imbalance and numbers at risk at the tail before trusting late differences.

Reading the graph quickly

On a Kaplan-Meier figure, first identify which line is which group and what the event is. Then find the median survival by drawing a horizontal line at 50%. Check the numbers at risk below the x-axis: if only a few patients remain at the end, late differences are unreliable. Finally, check the HR and its CI for significance. If the curves cross, the proportional hazards assumption is violated, and a single HR may be misleading because the treatment helps at one time and harms at another.

🔥 Exam pearls

  • Kaplan-Meier curves plot proportion event-free over time; tick marks = censored patients.
  • Compare curves with the log-rank test; adjust with Cox regression.
  • HR is interpreted like RR; 1 = no difference; CI including 1 = not significant.
  • Median survival = time at 50% on the curve.
  • Censoring = lost to follow-up or study ended without event.
  • Survival time from diagnosis is inflated by lead-time bias in screening studies.
© 2026 Project IMG · Content from Project IMG labs and atlases · For education only, not medical advice.