Odds and Hazard Ratios
As the name suggests, these are dimensionless ratios. They each compare two groups (e.g. treated vs. untreated, smokers vs. non-smokers) but they compare different things.
| Measure | Compares… | ”No effect” | Typical source |
|---|---|---|---|
| Risk Ratio (RR) | Probabilities of the outcome | 1 | Cohort studies, RCTs |
| Odds Ratio (OR) | Odds of the outcome | 1 | Case-control, logistic regression |
| Hazard Ratio (HR) | Instantaneous rates of the outcome over time | 1 | Survival analysis, Cox models |
Above 1: the outcome is more likely/faster in the exposed group. Below 1: less likely/slower.
Probability vs. Odds
Odds compares the probability of something happening to the probability of it not happening.
Example: 20 out of 100 people get the flu.
- Probability: (“20% of people get it”)
- Odds: (“for every 1 person who gets it, 4 don’t” or “1 to 4”)
Probability lives in . Odds live in . When is small they’re nearly the same number: gives odds . But when is large they diverge fast: gives odds . This is very useful.
| odds | |
|---|---|
| 0.01 | 0.01 |
| 0.10 | 0.11 |
| 0.25 | 0.33 |
| 0.50 | 1 |
| 0.75 | 3 |
| 0.90 | 9 |
| 0.99 | 99 |
A horse at “3 to 1 against” is expected to lose 3 times for every 1 win. Odds of winning , so .
Risk and Odds Ratios
Take a 2×2 table. Here’s a made-up study of smoking and some disease:
| Disease | No Disease | Total | |
|---|---|---|---|
| Smokers | 30 ⓐ | 70 ⓑ | 100 |
| Non-smokers | 10 ⓒ | 90 ⓓ | 100 |
Risk Ratio compares probabilities:
“Smokers are 3 times as likely to get the disease.”
Odds Ratio compares… well… odds:
“Smokers have 3.86 times the odds of getting the disease.” Note that it is not “3.86 times as likely”. That’s the most common mistake with ORs!
When OR and RR are friends
When the outcome is rare (rule of thumb: under ~10%), odds probability, so OR RR. Same study but a rare disease, 1000 people per group:
| Disease | No Disease | |
|---|---|---|
| Smokers | 3 | 997 |
| Non-smokers | 1 | 999 |
and . Basically the same.
When the outcome is common, the OR is always further from 1 than the RR. So reading an OR as an RR exaggerates the effect.
Why even bother With Odds?
Because sometimes you can’t get a risk.
- Case-control studies. You go find 100 people with lung cancer and 100 without, then ask who smoked. You picked the 50/50 split of disease, so “proportion of smokers with cancer” is meaningless. But the OR still works: it’s symmetric. The odds of smoking given cancer vs. no cancer gives the same OR as the odds of cancer given smoking vs. not.
- Logistic regression. The model is linear in the log-odds: So is the OR for a one-unit increase in , holding everything else constant. If , then , and each unit of doubles the odds.
Hazards
Risks and odds ask “did it happen by the end of the study?” Hazards ask “how fast is it happening right now, among the people it hasn’t happened to yet?”
The hazard is the instantaneous rate of the event at time , given you’ve survived (event-free) up to :
Plain English: of the people still standing at time , what fraction go down in the next tiny slice of time (per unit time)?
Example: a hazard of 0.02 per month means that among patients still alive at the start of a month, roughly 2% will die during that month.
Think of Hazard as the speedometer, how fast you’re going right now.
Cumulative risk (“40% died by year 5”) is like the odometer, how far you’ve gone in total.
The hazard can fluctuate over time but the cumulative risk only goes up☝️
Why Not Just Use Risk?
Because in survival data:
- People are followed for different lengths of time. Someone enrolled last month and someone enrolled 5 years ago can’t be compared with a simple ”% who died”.
- People get censored: they drop out, move away, or the study ends before anything happens to them. You know they survived at least until some point, but not after.
Hazards handle both because they only ever look at the people still at risk at each moment.
Hazard Ratio
Example: a trial reports HR = 0.5 for a new drug vs. placebo. That means at any given moment, a patient on the drug who’s still alive has half the rate of dying of a comparable patient on placebo.
What it does not mean:
- ❌ “Half as many people died.” Over a long enough time, everyone dies in both groups. HR is about the rate, not the final count.
- ❌ “Patients lived twice as long.” That’s only (approximately) true under extra assumptions like a constant hazard.
You almost always get an HR from a Cox proportional hazards model, where is the HR for a one-unit change in a covariate. Same deal as being an OR in logistic regression.
The Proportional Hazards Assumption
A single HR only makes sense if the ratio is roughly constant over time. The hazards themselves can rise and fall, but they have to move together.
- ✅ Drug group’s hazard is always about half of placebo’s, whether it’s month 1 or month 36. One HR summarizes it well.
- ❌ Surgery has a high hazard early (operating risk) but a low hazard later (it fixed the problem). The HR flips from >1 to < 1. A single “average” HR hides this. A hint you’re in this situation: the Kaplan-Meier survival curves cross.
Putting It Together
Same question, “Does smoking affect lung cancer?”, three ways:
| Radio | Value | Interpretation |
|---|---|---|
| RR | 3 | Smokers are 3x as likely to get lung cancer (by end of follow-up). |
| OR | 3.86 | Smokers have 3.86x the odds of lung cancer. |
| HR | 2.5 | At any moment, a cancer-free smoker develops cancer at 2.5x the rate of a cancer-free non-smoker. |
All three are “1 = no effect” and all three point the same direction here. They just measure different things. Just make sure you don’t swap their interpretations!