Clinical Knowledge › Epidemiology and biostatistics › Measures of association and effect
Hazard ratio and survival analysis
Survival (time-to-event) analysis studies how long it takes for an event such as death, relapse or hospital admission to occur. It handles censoring: people without the event by the end of follow-up, or lost, still contribute their observed time. The Kaplan–Meier method estimates the survival function as a step curve, multiplying the conditional probabilities of surviving each event time; it gives median survival and survival at fixed times, with a number-at-risk table beneath. The log-rank test compares whole curves between groups. The Cox proportional hazards model estimates the hazard ratio (HR), the ratio of instantaneous event rates in two groups, assumed constant over time, and adjusts for covariates. HR 0.75 means a 25% lower event rate at any moment, not 25% fewer events overall. HRs assume proportional hazards; crossing curves suggest violation, and restricted mean survival time is then a useful alternative. Censoring must be non-informative, competing risks need special methods, and HRs should be translated into absolute survival differences and NNT at a stated time.
Patient case, mechanism, investigations, management, differentials, exam pearls, flashcards and exam-style questions. Included free with every exam plan (IFOM, MCCQE, AMC, Qatar, MRCP, OET) or a Clinical Knowledge plan.Open the lesson → See plans

Key facts (preview)
- Censoring: event not observed by end of follow-up or loss to follow-up; censored participants contribute time at risk until censoring
- Kaplan–Meier S(t) = product over event times of (1 − deaths/number at risk); curve drops only at events
- Worked KM: 10 patients, deaths at 2, 5, 5 and 10 months, censoring at 3, 8 and 12: S = 0.90, then 0.675, then 0.54; median not reached
- Log-rank test compares observed and expected events across the whole curve; Cox regression gives the adjusted hazard ratio
Guideline
ICH E9(R1) estimands addendum (2019) and CONSORT 2025, with KMunicate recommendations (2019) for presenting Kaplan–Meier plots
References
- Spruance SL, Reid JE, Grace M, Samore M.. Hazard ratio in clinical trials. Antimicrob Agents Chemother 2004.
- Bland JM, Altman DG.. Survival probabilities (the Kaplan-Meier method). BMJ 1998.
- Bland JM, Altman DG.. The logrank test. BMJ 2004.
- Hernán MA.. The hazards of hazard ratios. Epidemiology 2010.
- Clark TG, Bradburn MJ, Love SB, Altman DG.. Survival analysis part I: basic concepts and first analyses. Br J Cancer 2003.
- Royston P, Parmar MKB.. Restricted mean survival time: an alternative to the hazard ratio for the design and analysis of randomized trials with a time-to-event outcome. BMC Med Res Methodol 2013.
Related topics
By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.