Historical Context & Motivation
Epidemiology has always been driven by a deceptively simple question: does a particular exposure increase the risk of disease? Long before the germ theory of disease was established, physicians and public health officials tried to compare outcomes between groups—those exposed to a suspected cause and those who were not. The intellectual scaffolding for modern measures of association grew out of centuries of observational inquiry, from John Snow's cholera investigations to large-scale cohort studies in the twentieth century. Two of the most fundamental quantities that emerged from this tradition are the relative risk (RR) and the risk difference (RD), each capturing a different facet of how exposure relates to outcome.
The central gap that these measures fill is the need for a precise, interpretable vocabulary to communicate how much more (or less) disease occurs in an exposed group compared with an unexposed group. Without RR and RD, epidemiologists would be forced to present raw counts—numbers that are virtually meaningless without knowledge of the underlying population sizes. The remainder of this lesson develops both measures from first principles, illustrates their computation, and explores the complementary insights each provides.
Core Principles & Definitions
Before computing any measure of association, it is essential to understand the data structure that underlies categorical data analysis in epidemiology. We begin with a cohort (or experimental) design in which individuals are classified by their exposure status and then followed to ascertain whether the outcome of interest occurs. The foundational data layout is a 2 × 2 contingency table (also called a fourfold table), which cross-tabulates exposure (yes/no) against outcome (yes/no). From this table, we derive two group-specific risks and then combine them into either a ratio or a difference.
Risk (Incidence Proportion)
Relative Risk (RR)
Risk Difference (RD)
The 2 × 2 Table
Visual Explanation — The 2 × 2 Table and Risk Computation
The diagram above illustrates the logical flow from raw cell counts to the two summary measures. Notice that both RR and RD depend on exactly the same two intermediate quantities—R₁ (risk in the exposed) and R₀ (risk in the unexposed). The only difference is the arithmetic operation applied: division for RR, subtraction for RD. This shared dependence on group-specific risks means that both measures require a cohort-type design (or a randomized trial) in which we can estimate incidence directly. In a case-control study, incidence proportions cannot be computed, so the odds ratio is used instead—a topic treated in a subsequent lesson.
Mathematical Framework
We now formalize the two measures. Consider a cohort of N individuals followed for a fixed period. Let the exposed group contain n₁ individuals and the unexposed group contain n₀ individuals, with N = n₁ + n₀. Among the exposed, a develop the outcome; among the unexposed, c develop the outcome.
An important derived quantity is the number needed to treat (NNT) or number needed to harm (NNH), obtained as the reciprocal of the absolute value of the risk difference: NNT = 1 / |RD|. This tells a clinician how many patients must be treated (or exposed) for one additional outcome event to occur (or be prevented). For instance, if RD = −0.05, then NNT = 1/0.05 = 20, meaning 20 patients must be treated to prevent one adverse event.
Interpreting RR and RD — A Comparative View
One of the most important lessons in epidemiology is that a large relative risk can coexist with a small risk difference, and vice versa. Understanding both is critical for sound clinical and policy decisions. The SVG diagram below places three hypothetical scenarios on a common visual scale, showing how baseline risk dramatically influences the relationship between RR and RD.
| Measure | Scale | Null Value | Range | Interpretation Emphasis |
|---|---|---|---|---|
| RR | Multiplicative (ratio) | 1.0 | 0 to ∞ | Etiologic strength; how many times more likely? |
| RD | Additive (difference) | 0 | −1 to +1 | Public health impact; how many extra cases per unit population? |
Worked Example — Smoking and Lung Cancer in a Cohort Study
A prospective cohort study follows 5,000 smokers and 5,000 non-smokers for 20 years. By the end of follow-up, 200 smokers and 20 non-smokers have been diagnosed with lung cancer. We wish to compute the relative risk and risk difference for the association between smoking and lung cancer.
Strengths, Limitations & When to Use Each Measure
No single measure of association tells the whole story. Both RR and RD are essential tools, but each has contexts in which it excels and situations in which it may mislead. The table below summarizes the key trade-offs, helping you decide which measure to emphasize depending on the research question and audience.
| Criterion | Relative Risk (RR) | Risk Difference (RD) |
|---|---|---|
| Primary question answered | How many times more likely is the outcome among exposed? | How many additional cases per population unit are due to exposure? |
| Best for | Etiologic research; understanding causal strength; comparing across studies with different baseline risks | Clinical decision-making; resource allocation; communicating absolute benefit/harm to patients |
| Key strength | Tends to be stable across populations with differing baseline risks (under certain model assumptions) | Directly translates to NNT/NNH; intuitive for absolute impact |
| Key limitation | Can exaggerate perceived importance when baseline risk is very low; not estimable from case-control data | Varies with baseline risk, so not generalizable across populations; also not estimable from case-control data |
| Study designs | Cohort studies, randomized trials, cross-sectional studies (for prevalence ratio) | Same as RR: requires direct estimation of incidence |
Connections to the Odds Ratio, Attributable Fraction & Regression Models
Relative risk and risk difference are the entry points into a larger family of measures of association and effect. Two natural extensions are the odds ratio (OR) and the attributable fraction (AF). Understanding how RR and RD relate to these quantities deepens your command of epidemiologic reasoning and prepares you for multivariate modeling.
| Concept | Relationship to RR / RD | When It Appears |
|---|---|---|
| Odds Ratio (OR) | OR = (a × d) / (b × c). When the outcome is rare (< 10%), OR ≈ RR (the rare-disease assumption). In case-control studies, OR is the only ratio measure estimable because incidence cannot be computed directly. | Case-control studies; logistic regression output |
| Attributable Fraction in Exposed (AFₑ) | AFₑ = (RR − 1) / RR = RD / R₁. Gives the proportion of disease among exposed that is attributable to the exposure. | Causal inference; etiologic fraction estimation |
| Population Attributable Fraction (PAF) | PAF = pₑ × (RR − 1) / [1 + pₑ × (RR − 1)], where pₑ is the prevalence of exposure. Estimates the proportion of total disease burden preventable by eliminating the exposure. | Public health planning; burden-of-disease studies |
| Log-binomial / Poisson Regression | These generalized linear models directly estimate ln(RR) while adjusting for confounders. The exponentiated regression coefficient gives an adjusted RR. | Multivariable analysis of cohort data with common outcomes |
As you advance through biostatistics, you will encounter situations where confounding and effect modification require multivariable adjustment. In such settings, log-binomial regression models the log of the risk directly, yielding adjusted RR estimates, while identity-link binomial regression models the risk on the additive scale to yield adjusted RD estimates. The Mantel-Haenszel method offers a stratified, non-parametric approach to pooling stratum-specific RRs when confounders are categorical. Each of these methods builds directly on the foundational definitions of R₁ and R₀ developed in this lesson.
Practice Problems
Lesson Summary
This lesson introduced two foundational measures for quantifying the association between a binary exposure and a binary outcome in cohort-type designs. The relative risk (RR) is the ratio of the risk in the exposed group (R₁) to the risk in the unexposed group (R₀), with a null value of 1.0 and a range from 0 to infinity. It captures the multiplicative strength of the association and is most useful for etiologic research and causal reasoning. The risk difference (RD) is the arithmetic difference R₁ − R₀, with a null value of 0. It provides the absolute excess risk attributable to exposure, and its reciprocal yields the number needed to treat or harm (NNT/NNH)—a metric of direct clinical utility.
Critically, the same RR can correspond to vastly different values of RD depending on the baseline risk, so responsible reporting always presents both measures. Neither RR nor RD is estimable from case-control data, where the odds ratio serves as the primary measure of association. Extensions such as the attributable fraction, population attributable fraction, and regression-based adjusted estimates all build upon the concepts of R₁, R₀, RR, and RD introduced here.