01 / 21

Hazard &
Hazard Ratios

Understanding instantaneous risk and how to compare event rates between groups using the hazard ratio in survival analysis.

Biostatistics

What is a Hazard?

In survival analysis, the hazard is the instantaneous rate at which an event (like death, disease onset, or relapse) occurs at a specific time, given that the subject has survived up to that moment.

Think of it as the "risk speedometer" at any given instant: how fast is the event happening right now among those still at risk?

The Hazard Function \( h(t) \)

\( P(\cdots) \)
Probability of the event in a tiny interval \( [t,\, t + \Delta t) \)
\( T \geq t \)
Conditioned on the subject surviving up to time \( t \)
\( \Delta t \to 0 \)
We shrink the interval to get an instantaneous rate

Visualizing Hazard Over Time

Time (months)
\(h(t)\)
0 6 12 18 24 0 0.02 0.04 0.06 Increasing Constant Decreasing

Survival vs Hazard: Two Sides of One Coin

The survival function \( S(t) \) and the hazard function \( h(t) \) are mathematically linked. When hazard goes up, survival goes down, and vice versa.

\( S(t) \)
Probability of surviving beyond time \( t \). Starts at 1, decreases toward 0.
\( h(t) \)
Instantaneous event rate at time \( t \). Can be any non-negative value.

The Hazard Ratio

The hazard ratio (HR) compares the hazard in one group to the hazard in another. It tells us how many times faster (or slower) events occur in the treatment group versus the control group.

\(\text{HR} < 1\)
Treatment reduces the event rate: the treatment group has a lower hazard.
\(\text{HR} = 1\)
No difference between groups: both have the same hazard.
\(\text{HR} > 1\)
Treatment increases the event rate: worse outcome in the treatment group.

The Proportional Hazards Assumption

The hazard ratio is most meaningful when the proportional hazards (PH) assumption holds: the ratio of hazards between groups stays constant over time.

Time
\(h(t)\)
\(\text{HR} = 0.5\)
same ratio Control Treatment

HR vs RR vs OR

Hazard Ratio Risk Ratio Odds Ratio
Measures Instantaneous event rate Cumulative risk Odds of event
Time aspect Time-to-event Fixed time point Fixed time point
Censoring Handles it Cannot handle Cannot handle
Study type Survival studies Cohort / RCT Case-control
Null value 1 1 1

How to Calculate a Hazard Ratio

1
Collect time-to-event data for each subject: time until the event or censoring, and which group they belong to.
2
Fit a Cox proportional hazards model: \( h(t) = h_0(t) \cdot e^{\beta X} \), where \(X=1\) for treatment, \(X=0\) for control.
3
Estimate \( \beta \) using partial likelihood estimation (the computer does this).
4
Calculate HR: \( \text{HR} = e^{\beta} \). If \(\beta = -0.69\), then \( \text{HR} = e^{-0.69} \approx 0.50 \).
5
Check significance: look at the 95% confidence interval. If it doesn't include 1, the result is statistically significant.

Example 1: Drug Trial

A clinical trial compares a new drug to placebo for heart failure. The Cox model outputs \( \beta = -0.357 \). What is the hazard ratio and what does it mean?

Example 2: Confidence Intervals

A study reports: \( \text{HR} = 0.65 \), 95% CI: (0.48, 0.88), \( p = 0.005 \). How do we interpret this?

1
Point estimate: \(\text{HR} = 0.65\) means a 35% reduction in hazard for the treatment group.
2
Confidence interval: The true HR likely lies between 0.48 and 0.88. Since the entire interval is below 1, the effect is statistically significant.
3
P-value: \( p = 0.005 < 0.05 \), confirming significance. There is strong evidence the treatment reduces the hazard.
\(\text{HR} = 1\)
0.48 0.65 0.88 0.2 1.6

Example 3: Smoking & Lung Cancer

An epidemiological study finds \(\text{HR} = 2.4\), 95% CI: (1.8, 3.2) for smokers vs non-smokers developing lung cancer.

Reading a Forest Plot

Hazard ratios from multiple studies are often displayed on a forest plot. Each line represents a study's HR and confidence interval.

\(\text{HR} = 1\)
0.2 0.5 1.0 2.0 4.0 Study A 0.65 Study B 0.80 Study C 0.50 Overall 0.63 ← Favors Treatment Favors Control →

Why Censoring Matters

In real studies, not every subject experiences the event by the study's end. Censoring means we know the subject survived at least until a certain time, but we don't know when (or if) the event happened.

Time (months) 0 6 12 18 24 Pt 1 Pt 2 Pt 3 Pt 4 Event Censored Event Study end

Common Mistakes

✕ HR is a probability
The hazard ratio is a ratio of rates, not a probability. An HR of 0.5 does NOT mean a 50% chance of survival.
✕ Ignoring censoring
Dropping censored subjects biases results. The whole point of survival analysis is to handle incomplete data correctly.
✕ Assuming PH always holds
If hazard curves cross, the proportional hazards assumption is violated and the HR may be misleading.

Summary: Key Concepts

Concept Definition Key Point
\( h(t) \) Instantaneous event rate at time \( t \) Not a probability; can exceed 1
\( S(t) \) Probability of surviving beyond \( t \) \( S(t) = e^{-H(t)} \)
HR Ratio of hazards between two groups \( \text{HR} < 1 \) = benefit; \( \text{HR} > 1 \) = harm
95% CI Range of plausible HR values Excludes 1 → significant
PH assumption HR stays constant over time Check with Schoenfeld test
Censoring Incomplete observation of event time Cox model handles it properly

Question 1 of 5

A study reports \(\text{HR} = 0.75\) for a new chemotherapy versus standard treatment. Which interpretation is correct?

Question 2 of 5

A hazard ratio of \(\text{HR} = 1.0\) indicates:

Question 3 of 5

A study reports \(\text{HR} = 0.60\), 95% CI: (0.42, 1.05). Is this result statistically significant at the 0.05 level?

Question 4 of 5

Which of the following is a key advantage of the hazard ratio over the risk ratio?

Question 5 of 5

If a Cox model gives \( \beta = 0.693 \) for the treatment group variable, what is the hazard ratio, and what does it mean?