Hazard Ratio
A hazard ratio is a time-to-event comparative measure in survival analysis defined as the ratio of the instantaneous event hazard rate in an exposed or treated group to that in a reference group over follow-up.
Hazard ratio (HR) is the primary comparative effect measure in survival analysis, clinical biostatistics, and longitudinal epidemiology, expressing the ratio of the instantaneous rate at which an event occurs in an exposed or treated group relative to an unexposed or control group at any time t during follow-up. Unlike binary outcome measures that reduce follow-up to a fixed endpoint proportion, the hazard ratio operates continuously across time-to-event data—such as overall survival, disease recurrence, or hospital readmission—while accommodating participants who leave observation without experiencing the event (right censoring). Formalized into regression modeling by David R. Cox in 1972 and refined through decades of counting-process theory (Prentice, 1992; O’Quigley, 2021), the hazard ratio anchors clinical randomized controlled trials, prospective cohort studies, and time-to-event meta-analysis across oncology, cardiology, and infectious disease epidemiology.
Mathematical Definition and Instantaneous Hazard
Let T denote a non-negative continuous random variable representing the elapsed time until a clinical event occurs, characterized by survival function S(t) = Pr(T > t) and probability density function f(t) = −dS(t)/dt. The instantaneous hazard function h(t) defines the conditional failure rate in an infinitesimal interval [t, t + Δt) given survival up to time t:
h(t) = limΔt→0 [ Pr(t ≤ T < t + Δt | T ≥ t) / Δt ] = f(t) / S(t) = − d[ ln S(t) ] / dt
Because h(t) divides conditional probability by time increment Δt, it represents a rate measured in reciprocal time units (such as events per person-year) rather than a dimensionless probability, and can take any non-negative value from 0 to ∞. Integrating h(u) from baseline 0 to time t yields the cumulative hazard function H(t) = ∫0t h(u) du = −ln S(t), which links non-parametric survival curve estimates from the Kaplan–Meier estimator and the Nelson–Aalen estimator directly to underlying event rates.
Comparing two exposure groups—indexed as exposed (E = 1, hazard h1(t)) and unexposed (E = 0, hazard h0(t))—defines the time-specific hazard ratio:
HR(t) = h1(t) / h0(t)
An HR equal to 1.0 indicates identical instantaneous event rates in both groups; an HR below 1.0 indicates a lower instantaneous hazard in the exposed or treated group (for example, HR = 0.70 corresponds to a 30% reduction in the instantaneous event rate among individuals still at risk); and an HR above 1.0 indicates an elevated hazard rate. Crucially, a 30% reduction in instantaneous hazard (HR = 0.70) does not translate arithmetically into a 30% reduction in cumulative incidence or a 30% extension of median survival time unless the underlying baseline hazard follows specific parametric distributions.
Cox Proportional Hazards Regression and Partial Likelihood
In 1972, Sir David Cox unified survival analysis and multivariable regression through the semi-parametric Cox proportional hazards model. Rather than imposing a rigid parametric distribution (such as Weibull, Gompertz, or log-normal) on the baseline event trajectory, Cox factored an individual's hazard given covariate vector X into an arbitrary non-negative baseline hazard h0(t) multiplied by a log-linear covariate factor exp(βTX):
h(t | X) = h0(t) exp(β1X1 + β2X2 + ··· + βpXp) = h0(t) exp(βTX)
Under this multiplicative specification, comparing two covariate profiles X1 and X0 causes the unspecified baseline hazard h0(t) to cancel cleanly:
HR = h(t | X1) / h(t | X0) = exp[ βT (X1 − X0) ]
Because h0(t) cancels from the ratio, HR remains constant over all follow-up times t—defining the proportional hazards assumption. For a single binary treatment indicator X ∈ {0, 1}, the model reduces to HR = exp(β), permitting direct multivariable confounding control across continuous and categorical covariates.
Partial Likelihood and Right-Censored Follow-Up
To estimate regression coefficients β without estimating the infinite-dimensional nuisance function h0(t), Cox (1972) and Prentice (1992) formulated the Cox partial likelihood, conditioning on the observed ordered failure times t1 < t2 < ··· < tD. At each failure time tm, let R(tm) denote the risk set comprising every participant still alive, uncensored, and under observation just prior to tm. Given that one failure occurs at tm, the conditional probability that it strikes individual (m) rather than another member of R(tm) equals Lm(β) = exp(βTX(m)) / ∑j∈R(tm) exp(βTXj). Multiplying across all D uncensored events produces Lp(β) = ∏m=1D Lm(β), which handles right-censored individuals naturally by retaining them inside R(tm) until censoring and yields variance estimates and score tests asymptotically equivalent to the log-rank test (and weighted extensions such as the Fleming–Harrington test), using Breslow or Efron approximations when event times tie.
Comparison of Epidemiological Ratio Measures
Although clinicians sometimes colloquially equate hazard ratios with relative risks or odds ratios, the four principal epidemiological ratio metrics differ in their mathematical targets, sensitivity to follow-up length, and behavior as disease events accumulate.
| Effect Measure | Mathematical Ratio | Dependence on Follow-Up Duration | Rare Versus Common Event Behavior | Primary Statistical Framework |
|---|---|---|---|---|
| Hazard Ratio (HR) | Instantaneous rate h1(t) / h0(t) among survivors at t. | Constant across t under proportional hazards; reflects event timing. | Diverges from cumulative RR as overall event risk exceeds ~10–15%. | Cox regression, parametric survival models. |
| Relative Risk (RR) | Cumulative incidence R1(t) / R0(t) by fixed horizon t. | Compresses toward 1.0 as follow-up lengthens toward 100% incidence. | Converges numerically toward HR when cumulative risk is low (<10%). | Fixed-horizon binomial or log-binomial cohort analyses. |
| Odds Ratio (OR) | Odds of event [R1 / (1 − R1)] / [R0 / (1 − R0)] by t. | Amplifies divergence from 1.0 as cumulative risk increases. | Approximates RR and HR under rare-outcome conditions (<10%). | Logistic regression, case-control studies. |
| Incidence Rate Ratio (IRR) | Total events / person-time in exposed vs. unexposed strata. | Assumes constant piecewise hazard rate within person-time intervals. | Coincides with constant HR when baseline hazard h0(t) is flat. | Poisson regression, person-year stratification. |
When cumulative event probability remains low over the study window and proportional hazards holds, HR, RR, and OR remain close numerically. Over long follow-up horizons where a large proportion of subjects eventually fail, however, RR compresses toward unity while a constant HR reflects persistent differences in event timing—given explicitly by S1(t) = [S0(t)]HR. Because clinicians and patients often find time-horizon differences easier to interpret than instantaneous rates, modern survival analyses increasingly complement hazard ratios with restricted mean survival time (RMST) differences or accelerated failure time models that express covariate effects directly as proportional shifts in survival time rather than hazard.
Proportional Hazards Diagnostics and Analytical Pitfalls
Reporting a single scalar hazard ratio is statistically coherent only when the ratio h1(t) / h0(t) remains reasonably stable across follow-up. Because clinical interventions frequently exhibit delayed biological onset (such as cancer immunotherapies), transient procedural risk (such as perioperative mortality followed by long-term protection), or treatment waning, analysts must diagnose non-proportionality and selection distortions systematically.
Schoenfeld Residuals and Log-Minus-Log Plots
Verifying proportionality relies on both graphical and formal residual diagnostics. Graphically, plotting ln[−ln Ŝ(t)] against ln(t) (the log-minus-log survival plot) yields vertically separated parallel curves when proportional hazards holds, because ln H1(t) − ln H0(t) = ln(HR) is constant; converging, diverging, or crossing curves signal time-varying hazard ratios. Formally, investigators compute Schoenfeld residuals—defined at each failure time tm as the difference between the failing individual's covariate value and the risk-set weighted expectation—and apply the Grambsch–Therneau test by regressing scaled Schoenfeld residuals against time g(t). A statistically significant slope indicates violation of constant proportionality, prompting remedies such as baseline stratification, time-dependent coefficients β(t), piecewise hazard intervals, or flexible spline modeling (Royston–Parmar models).
Non-Proportional Hazards, Crossing Curves, and Depletion of Susceptibles
Even when a treatment effect at the individual biological level remains constant, marginal population hazard ratios frequently drift over follow-up due to depletion of susceptibles (O’Quigley, 2021). When an unmeasured susceptibility factor (frailty) makes a subgroup vulnerable to early failure, an initial harmful exposure causes susceptible individuals in the exposed arm to fail rapidly during early follow-up. As follow-up advances, the surviving exposed risk set R1(t) becomes progressively enriched with resilient individuals compared with the control risk set R0(t), forcing the observed population HR(t) downward toward or even below 1.0 even though the exposure remains harmful to every individual; frailty models explicitly incorporate latent random effects to separate biological attenuation from selection within the risk set. Three additional pitfalls distort hazard ratio interpretation: non-collapsibility (marginal unadjusted HR differs from covariate-adjusted conditional HR even in balanced randomized trials without confounding), immortal time bias when post-baseline exposure initiation is misclassified to time zero, and competing risks, where cause-specific hazard ratios (censoring competing deaths) measure etiological rates whereas Fine–Gray subdistribution hazard ratios link directly to cumulative incidence functions.
Frequently Asked Questions
Can a hazard ratio be interpreted as a relative risk? Only approximately when cumulative event incidence over follow-up is low (typically under 10%) and the hazard ratio stays nearly constant over time. Fundamentally, a hazard ratio compares instantaneous event rates at each moment among those still at risk, whereas a relative risk compares total cumulative proportions of events by a single specified endpoint horizon.
What does a hazard ratio mean when survival curves cross during follow-up? Crossing survival or hazard curves indicate non-proportional hazards, meaning the direction or magnitude of the treatment comparison changes across follow-up—such as elevated early surgical risk offset by superior long-term survival. In this situation, a single time-averaged Cox hazard ratio blends opposing periods and misleads interpretation, so analysts report time-stratified hazard ratios or restricted mean survival time (RMST) differences.
How does censoring affect the validity of a hazard ratio estimate? Standard Cox partial likelihood estimation yields unbiased hazard ratio estimates under non-informative censoring, meaning participants who drop out or reach the end of the study share the same future event hazard as comparable uncensored subjects remaining in the risk set. If drop-out correlates with worsening prognosis differentially between groups (informative censoring), sensitivity bounds or inverse probability of censoring weights are required.
References
- Cox, D. R. (1972). Regression Models and Life-Tables. Journal of the Royal Statistical Society Series B: Statistical Methodology. https://doi.org/10.1111/j.2517-6161.1972.tb00899.x
- Prentice, R. L. (1992). Introduction to Cox (1972) Regression Models and Life-Tables. Springer Series in Statistics. https://doi.org/10.1007/978-1-4612-4380-9_36
- O’Quigley, J. (2021). Proportional hazards models in epidemiology. Survival Analysis. https://doi.org/10.1007/978-3-030-33439-0_5