Measures of Association & Public Health Impact: Risk Ratios, Odds Ratios & Attributable Fractions
Risk Ratio (Relative Risk) and Rate Ratio: mathematical definitions, geometric interpretation, and asymptotic log-scale sampling distributions; Odds Ratio (cross-product ratio): mathematical properties, invariance under retrospective sampling, and the rare disease assumption approximation; Attributable Risk (Risk Difference) and Attributable Fraction among the Exposed (etiologic fraction): biological and policy interpretations; Population Attributable Risk (PAR) and Population Attributable Fraction (PAF, Levin's and Miettinen's formulas) for public health resource prioritization; Asymptotic confidence intervals via the multivariate Delta method: Woolf's logit method for odds ratios and score-based intervals; Number Needed to Treat (NNT) and Number Needed to Harm (NNH): mathematical definitions, reciprocal properties, and clinical utility.
§2.1 The 2x2 Contingency Table and Relative Measures: Risk Ratio and Rate Ratio
| Exposure Classification | Diseased ($D^+$) | Non-Diseased ($D^-$) | Total Cohort at Risk | Cumulative Risk ($R$) |
|---|---|---|---|---|
| Exposed ($E^+$) | $a$ | $b$ | $n_1 = a + b$ | $R_1 = a / n_1$ |
| Unexposed ($E^-$) | $c$ | $d$ | $n_0 = c + d$ | $R_0 = c / n_0$ |
| Total Population | $m_1 = a + c$ | $m_0 = b + d$ | $N = a + b + c + d$ | $R_{\text{total}} = m_1 / N$ |
§2.2 The Odds Ratio: Retrospective Sampling Invariance and Rare Disease Approximation
The odds of an event is defined as the probability that the event occurs divided by the probability that it does not occur: $\text{Odds} = p / (1 - p)$. In the $2 \times 2$ table, the odds of disease among exposed individuals is:
Similarly, the odds of disease among unexposed individuals is:
The Disease Odds Ratio ($OR$) is defined as the ratio of these two odds:
Because this algebraic formula multiplies the diagonal cells and divides by the off-diagonal cells, the odds ratio is universally termed the cross-product ratio.
Mathematical Invariance Under Retrospective Case-Control Sampling
The odds ratio possesses a profound mathematical property that makes it the cornerstone of case-control studies: directional symmetry. Suppose that instead of sampling prospectively forward from exposure to disease, we sample retrospectively based on disease status, recruiting a fixed sample of $m_1 = a + c$ cases and $m_0 = b + d$ controls.
In this retrospective case-control design, the Exposure Odds among diseased individuals is:
The exposure odds among healthy controls is:
Evaluating the ratio of exposure odds:
Thus, the odds ratio calculated from a retrospective case-control study is mathematically identical to the odds ratio that would have been obtained had the entire underlying population been followed prospectively in a cohort study! Neither cumulative risk nor the risk ratio can be computed directly from a case-control study because the investigator artificially fixes the ratio of cases to controls ($m_1 / m_0$), completely distorting the marginal disease probability $R$. The odds ratio circumvent this limitation entirely.
The Rare Disease Assumption
How does the Odds Ratio relate to the Risk Ratio? Expanding the ratio:
When the disease is rare in both the exposed and unexposed populations—specifically, when $R_1 < 0.05$ and $R_0 < 0.05$—the proportions of non-cases approach unity: $1 - R_1 \approx 1$ and $1 - R_0 \approx 1$. Consequently:
Under the rare disease assumption, the odds ratio calculated from a case-control study serves as an extraordinarily accurate numerical proxy for the true population relative risk. However, if the outcome is common (e.g., childhood obesity with $R_1 = 0.40$ and $R_0 = 0.20$), the odds ratio severely exaggerates the relative risk:
Woolf's Logit Method for Odds Ratio Confidence Intervals
By the multivariate delta method applied to the natural logarithm of the cross-product ratio $\ln(\widehat{OR}) = \ln(a) - \ln(b) - \ln(c) + \ln(d)$, the asymptotic variance under a multinomial or product-binomial model is:
This elegant formulation, derived by Barnet Woolf (1955), yields the standard error:
A $95\%$ asymptotic confidence interval for the odds ratio is:
If any cell count is small, Haldane and Gart's correction adds $0.5$ to each cell to reduce finite-sample bias.
§2.3 Measures of Absolute Impact: Risk Difference, Attributable Risk, and Attributable Fractions
While relative measures ($RR, OR$) evaluate the strength of an etiologic association and are essential for biological causal inference, public health policymakers require measures on the additive scale to assess the actual human burden of disease that could be eliminated by eradicating an exposure.
Risk Difference (Attributable Risk)
The Risk Difference ($RD$), historically termed the Attributable Risk ($AR$) or Excess Risk, is the arithmetic difference between the cumulative incidence in the exposed group and the cumulative incidence in the unexposed group:
The risk difference represents the absolute excess probability of disease attributable specifically to the exposure among exposed individuals. Its units are the same as risk (a proportion per time interval), and it spans the interval $[-1.0, +1.0]$:
- $RD = 0$: Null hypothesis of no excess risk.
- $RD > 0$: The exposure inflicts an absolute excess disease burden.
- $RD < 0$: The exposure is protective, representing an absolute risk reduction ($ARR = R_0 - R_1$).
Because $\widehat{R}_1$ and $\widehat{R}_0$ are independent binomial proportions, the variance of the risk difference is simply the sum of their independent sampling variances:
The standard Wald 95% confidence interval is $\widehat{RD} \pm 1.96 \sqrt{\text{Var}(\widehat{RD})}$.
Attributable Fraction Among the Exposed (Etiologic Fraction)
The Attributable Fraction in the Exposed ($AF_e$), also termed the Attributable Proportion in the Exposed or Etiologic Fraction, measures the proportion of disease occurrences among exposed individuals that would be prevented if the exposure were entirely removed:
For example, if cigarette smoking produces a lung cancer relative risk of $RR = 10.0$ among heavy smokers, then $AF_e = (10 - 1) / 10 = 0.90$ ($90\%$). This means that ninety percent of lung cancer cases diagnosed in heavy smokers are directly attributable to their tobacco exposure, and would not have occurred had they remained lifelong non-smokers (assuming causal exchangeability).
Population Attributable Risk (PAR) and Population Attributable Fraction (PAF)
From the standpoint of municipal or national healthcare planning, exposed individuals represent only a subset of the total population. The Population Attributable Risk ($PAR$) measures the excess disease incidence observed in the total combined population ($R_{\text{total}}$) compared to the unexposed baseline:
Let $p_e = n_1 / N$ denote the prevalence of the exposure in the total population. By the Law of Total Probability, the total population incidence is a weighted average:
Subtracting $R_0$ yields:
The Population Attributable Fraction ($PAF$), originally derived by Morton L. Levin (1953), expresses this excess as a percentage of the total population disease burden:
Substituting $R_{\text{total}} = p_e R_1 + (1 - p_e) R_0$ and dividing numerator and denominator by $R_0$ yields Levin’s Classical Formula:
Alternatively, when working from case-control studies where exposure prevalence among diseased cases ($p_{e \mid D} = a / m_1$) is readily available, Miettinen’s Formula (1974) provides an identical calculation:
The PAF is arguably the most vital metric for setting public health priorities: an exposure with a modest relative risk ($RR = 1.3$) that is pervasive throughout the population ($p_e = 0.60$, such as physical inactivity) may produce a vastly larger PAF than an exposure with a gigantic relative risk ($RR = 20.0$) that is extraordinarily rare ($p_e = 0.001$, such as an industrial chemical).
§2.4 Geometric Interpretations, Logarithmic Scales, and Score Intervals
The mathematical geometry of epidemiological effect measures reveals deep structural dualities between additive risk differences and multiplicative risk ratios. When risks are plotted in a Cartesian unit square with coordinates $(R_0, R_1) \in [0, 1]^2$, iso-relative risk contours represent straight rays emanating from the origin $(0, 0)$ with slope $RR$:
By contrast, iso-risk difference contours represent parallel lines with slope $+1$ and intercept $RD$:
Because human survival probabilities are bounded within $[0, 1]$, an exposure that produces a large relative risk (say, $RR = 5.0$) cannot mathematically maintain that constant multiplier across high baseline risks; if $R_0 = 0.30$, $RR = 5.0$ would imply an impossible risk $R_1 = 1.50$. Consequently, biological mechanisms frequently conform to additive limits, emphasizing why epidemiologists evaluate both additive and multiplicative scales when assessing public health interventions.
Score-Based Confidence Intervals
While Woolf's Wald-type interval for the odds ratio and the delta-method interval for the risk ratio are computationally simple, they rely on first-order Taylor series approximations that can exhibit poor coverage in small samples or when proportions approach $0$ or $1$. The Score Test Confidence Interval, originated by E. B. Wilson (1927) for a single proportion and extended by Miettinen and Nurminen (1985) for risk differences and risk ratios, test-inverts the efficient profile score statistic without relying on estimated standard errors in the denominator. For the Risk Difference, the score statistic enforces the null constraint $R_1 - R_0 = \Delta_0$ in the variance calculation:
where $\tilde{R}_1(\Delta_0)$ and $\tilde{R}_0(\Delta_0)$ are constrained maximum likelihood estimates under $H_0$. Inverting this quadratic score equation yields confidence intervals that never overshoot $[0, 1]$ and maintain exact nominal coverage across skewed contingency tables.
§2.5 Clinical Metrics: Number Needed to Treat (NNT) and Number Needed to Harm (NNH)
In clinical epidemiology, evidence-based medicine, and randomized controlled trial reporting, abstract proportions and logarithmic ratios can obscure direct clinical utility. To bridge this communication gap, Laupacis, Sackett, and Roberts (1988) introduced the Number Needed to Treat ($NNT$).
Number Needed to Treat (NNT)
When an experimental intervention reduces disease risk relative to a control or placebo ($R_1 < R_0$), the Absolute Risk Reduction is $ARR = R_0 - R_1 > 0$. The $NNT$ is defined as the mathematical reciprocal of the absolute risk reduction:
The $NNT$ represents the expected number of patients who must receive the medical therapy over a designated treatment duration in order to prevent exactly one additional adverse clinical outcome. For example, if a novel antihypertensive agent reduces 5-year stroke risk from $R_0 = 0.10$ ($10\%$) in the standard control group to $R_1 = 0.06$ ($6\%$) in the treatment group:
A clinician must treat 25 hypertensive patients for five years to prevent exactly one stroke.
Number Needed to Harm (NNH)
Conversely, when an exposure or pharmaceutical side effect increases the risk of an adverse event ($R_1 > R_0$), the absolute risk increase is $ARI = R_1 - R_0 > 0$. The Number Needed to Harm ($NNH$) is:
The $NNH$ represents the number of individuals exposed to the agent required for exactly one additional person to experience the harmful adverse outcome. Comparing $NNT$ for therapeutic benefit against $NNH$ for severe adverse drug reactions provides the fundamental quantitative basis for risk-benefit clinical decision analysis. When communicating with patients, presenting $NNT$ alongside baseline risks prevents framing biases that frequently arise when pharmaceuticals are marketed using relative risk reductions alone.
§2.6 The E-Value and Quantification of Unmeasured Confounding
In observational studies, investigators frequently encounter the skepticism that an observed relative risk ($RR$) could be entirely explained away by an unmeasured confounder $U$ (such as genetic susceptibility or subtle lifestyle differences). To address this challenge quantitatively without requiring complex parametric simulations, Tyler VanderWeele and Peng Ding (2017) formulated the E-Value.
Mathematical Definition of the E-Value
The E-value is defined as the minimum strength of association, on the risk ratio scale, that an unmeasured confounder $U$ would need to have with both the exposure and the outcome, conditional on the measured covariates, to fully explain away an observed exposure-outcome association:
for an observed $RR > 1.0$. (If $RR < 1.0$, one first takes the reciprocal $1 / RR$).
For example, if an observational study reports an observed risk ratio of $RR = 3.0$ between an occupational solvent and pancreatic cancer:
To explain away this observed association, an unmeasured confounder would have to be associated with both solvent exposure and pancreatic cancer by a risk ratio of at least $5.45$-fold, above and beyond all measured covariates. If no known plausible risk factor exhibits an association of that magnitude, the causal finding is remarkably robust.
To evaluate whether the association could be explained away by chance plus unmeasured confounding, the E-value is also evaluated for the confidence interval limit closest to the null ($RR_{\text{lower}}$):
If $RR_{\text{lower}} = 2.0$, the E-value for the lower limit is $2.0 + \sqrt{2(1)} \approx 3.41$. Reporting the E-value alongside relative risks transforms vague qualitative discussions of "residual confounding" into transparent, quantitative sensitivity assessments.
§2.8 The Counterfactual Framework and Potential Outcomes in Causal Inference
A central objective of modern epidemiological research is determining whether an observed statistical association between an exposure $A$ and a health outcome $Y$ represents a true causal relationship. Classical observational epidemiology relied on associative risk ratios and odds ratios, which are vulnerable to confounding and selection biases. Contemporary causal inference formalizes causality using the Counterfactual (Potential Outcomes) Framework, formulated by Donald Rubin and extended to epidemiology by James Robins and Miguel Hernán.
1. Potential Outcomes Definition
Let $A \in \{0, 1\}$ denote a binary exposure (e.g., $A = 1$ if treated with an antihypertensive medication, $A = 0$ if untreated). For each individual $i$ in the study population, we define two Potential Outcomes:
- $Y_i(1)$: The health outcome that would be observed if individual $i$ were exposed to $A = 1$.
- $Y_i(0)$: The health outcome that would be observed if individual $i$ were exposed to $A = 0$.
The Individual Causal Effect of exposure $A$ for person $i$ is defined as the difference between their potential outcomes:
The Fundamental Problem of Causal Inference: For any given individual, we can observe $Y_i(1)$ (if they received exposure) or $Y_i(0)$ (if they remained unexposed), but never both simultaneously. The unobserved potential outcome is the counterfactual.
2. Population Causal Contrasts
Because individual causal effects are unobservable, epidemiology focuses on Average Causal Effects across populations:
1. Average Treatment Effect (ATE): The expected difference in potential outcomes across the entire target population:
2. Average Treatment Effect on the Treated (ATT): The causal effect among those who actually received the exposure:
3. Causal Risk Ratio ($RR_{\text{causal}}$):
3. The Three Core Identifiability Conditions
To estimate causal effects from observational data (where treatment assignment is non-random), three rigorous mathematical identifiability conditions must hold:
1. Exchangeability (Conditional Unconfoundedness): Conditional on a vector of measured pre-exposure baseline confounders $L$, the potential outcomes are conditionally independent of actual exposure assignment:
Under exchangeability, the counterfactual outcome among the exposed had they been unexposed equals the observed outcome among the unexposed within strata of $L$: $\mathbb{E}[Y(0) \mid A = 1, L] = \mathbb{E}[Y \mid A = 0, L]$.
2. Positivity: Every individual in the population within covariate strata $L$ must have a non-zero probability of receiving either exposure level:
If positivity is violated (structural or random zeros), causal contrast is mathematically undefined because counterfactual trajectories cannot be observed.
3. Consistency: The observed outcome $Y$ for an individual receiving treatment $A = a$ equals their potential outcome under that specific treatment:
Consistency requires well-defined interventions with no hidden versions of treatment and no interference between individuals (Stable Unit Treatment Value Assumption - SUTVA).
When these three conditions are satisfied, the causal effect is non-parametrically identifiable from observational data via G-computation or propensity score weighting:
Step-by-Step Epidemiological Statistics Solutions
Three original questions connect calculations, definitions and interpretation. Open each solution to follow the reasoning.
A large prospective cohort study in cardiovascular epidemiology tracks $N = 10,000$ middle-aged civil servants over a 10-year follow-up period to assess the etiologic role of severe physical inactivity on incident coronary heart disease (CHD). At baseline, $n_1 = 3,000$ individuals are classified as physically inactive (exposed), while $n_0 = 7,000$ are classified as physically active (unexposed). Over the 10-year period, 240 incident CHD events occur among the inactive cohort, and 210 incident CHD events occur among the active cohort. No participants were lost to follow-up.
- Construct the complete $2 \times 2$ contingency table. Calculate the 10-year cumulative risk of CHD in the exposed ($R_1$) and unexposed ($R_0$) groups, the Risk Ratio ($RR$), and the Odds Ratio ($OR$).
- Using the Delta method and Woolf's method, compute the standard errors on the logarithmic scale and construct the 95% confidence intervals for both the Risk Ratio and the Odds Ratio.
- Calculate the Risk Difference ($RD$), the Attributable Fraction in the Exposed ($AF_e$), the Population Attributable Risk ($PAR$), and the Population Attributable Fraction ($PAF$) using both Levin’s and Miettinen’s formulas.
From the study data:
- Exposed diseased: $a = 240$, exposed non-diseased: $b = 3000 - 240 = 2760$. Total exposed: $n_1 = 3000$.
- Unexposed diseased: $c = 210$, unexposed non-diseased: $d = 7000 - 210 = 6790$. Total unexposed: $n_0 = 7000$.
- Total diseased: $m_1 = 240 + 210 = 450$. Total non-diseased: $m_0 = 2760 + 6790 = 9550$. Total cohort: $N = 10000$.
Now evaluate the 10-year cumulative incidence risks:
The Risk Ratio is:
Physically inactive individuals experience $2.67$ times the risk of developing coronary heart disease compared to physically active individuals.
The Odds Ratio is:
Notice that because the baseline risk is low ($3\%$ to $8\%$), the Odds Ratio ($2.81$) is moderately close to the Risk Ratio ($2.67$), though slightly higher due to the mathematical properties of odds.
1. Confidence Interval for the Risk Ratio:
Evaluate the 95% log-limits:
Exponentiating:
2. Confidence Interval for the Odds Ratio via Woolf's Method:
Evaluate log-limits:
Exponentiating:
Both intervals completely exclude the null value $1.0$, confirming a statistically significant elevated risk at the $\alpha = 0.05$ level.
1. Risk Difference (Attributable Risk):
Every 100 physically inactive individuals experience an excess of $5$ heart disease cases over 10 years directly attributable to inactivity.
2. Attributable Fraction in the Exposed:
Alternatively, using the Risk Ratio:
Among inactive people, $62.5\%$ of all coronary heart disease cases are attributable to physical inactivity.
3. Population Attributable Risk (PAR):
The total population risk is $R_{\text{total}} = 450 / 10000 = 0.0450$ ($4.50\%$).
In the general population, $15$ cases per 1,000 individuals over 10 years are attributable to inactivity.
4. Population Attributable Fraction (PAF):
Direct definition:
Levin's Formula ($p_e = 3000 / 10000 = 0.30$):
Miettinen's Formula ($p_{e \mid D} = a / m_1 = 240 / 450 \approx 0.53333$):
Completely eradicating physical inactivity from this population would prevent exactly one-third ($33.33\%$) of all coronary heart disease cases occurring over the decade!
To study the etiologic link between exposure to occupational benzene solvents and acute myeloid leukemia (AML), an environmental health team executes a retrospective matched hospital-based case-control study:
- $m_1 = 150$ newly diagnosed, histologically confirmed AML cases are recruited.
- $m_0 = 450$ age- and sex-matched hospital controls admitted for acute orthopedic trauma are recruited.
- Systematic occupational exposure history reveals that $a = 45$ of the AML cases had substantial benzene exposure, whereas $b = 45$ of the controls had substantial benzene exposure.
- Display the $2 \times 2$ table, determine the exposure odds among cases and controls, and calculate the sample Odds Ratio ($\widehat{OR}$).
- Demonstrate why the Risk Ratio cannot be legitimately calculated directly from these sample proportions. If external cancer registry data indicates that the true cumulative incidence of AML over working lifetimes in unexposed workers is $R_0 = 0.002$ ($0.2\%$), compute the true Risk Ratio implied by the estimated Odds Ratio.
- Compute the 95% confidence interval for the Odds Ratio using Woolf’s logit method and test the null hypothesis $H_0: OR = 1$ via the Pearson chi-square test with continuity correction.
The $2 \times 2$ retrospective table is:
- Cases ($D^+$): Exposed $a = 45$, Unexposed $c = 150 - 45 = 105$. Total cases $m_1 = 150$.
- Controls ($D^-$): Exposed $b = 45$, Unexposed $d = 450 - 45 = 405$. Total controls $m_0 = 450$.
Evaluate exposure odds:
The sample Odds Ratio is:
Workers diagnosed with acute myeloid leukemia have $3.86$ times the odds of having been exposed to benzene compared to control patients.
If an untrained analyst naively computed a "cohort risk ratio" from this table:
This calculation is completely invalid because the denominator $a + b = 90$ is an artifact of the investigator recruiting $3$ controls per case ($450 / 150 = 3$). If the investigator had instead chosen $1$ control per case, or $10$ controls per case, the "naive RR" would shift arbitrarily.
However, using the external registry baseline risk $R_0 = 0.002$ ($0.2\%$), we can reconstruct the true implied risk $R_1$:
The true Risk Ratio in the population is:
Notice how exceptionally close the sample Odds Ratio ($3.86$) is to the true Risk Ratio ($3.84$)! Because acute myeloid leukemia is biologically rare ($0.2\%$), the rare disease assumption holds with remarkable precision.
1. Woolf's 95% Confidence Interval:
2. Yates-Corrected Pearson Chi-Square Test:
Here $N = 600$, $a d = 45 \times 405 = 18,225$, $b c = 45 \times 105 = 4,725$, $a d - b c = 13,500$.
With $1$ degree of freedom, the critical value at $\alpha = 0.001$ is $\chi^2_{0.001, 1} = 10.83$. Since $\chi^2_{\text{Yates}} = 33.74 \gg 10.83$ ($p < 10^{-8}$), we overwhelmingly reject the null hypothesis of no association.
A multi-center randomized controlled trial evaluates a potent antiplatelet drug (Ticagrelor) versus standard Aspirin monotherapy in $N = 10,000$ acute coronary syndrome patients followed for 1 year. The study is powered to evaluate both ischemic efficacy and bleeding toxicity:
- Efficacy Endpoint (Major Adverse Cardiac Events, MACE):
- Ticagrelor group ($n_1 = 5,000$): 400 patients experience MACE.
- Aspirin group ($n_0 = 5,000$): 550 patients experience MACE.
- Safety Endpoint (Major Gastrointestinal Hemorrhage):
- Ticagrelor group ($n_1 = 5,000$): 150 patients suffer major hemorrhage.
- Aspirin group ($n_0 = 5,000$): 100 patients suffer major hemorrhage.
- For the efficacy endpoint, calculate the cumulative event risks ($R_1, R_0$), the Relative Risk ($RR$), the Relative Risk Reduction ($RRR$), the Absolute Risk Reduction ($ARR$), and the Number Needed to Treat ($NNT$).
- For the safety endpoint, calculate the event risks, Absolute Risk Increase ($ARI$), Relative Risk of harm, and the Number Needed to Harm ($NNH$).
- In a clinical population of $50,000$ acute coronary syndrome patients treated for 1 year with Ticagrelor instead of Aspirin, estimate the net balance of clinical events: how many cardiac events are prevented, how many major bleeding events are induced, and what is the benefit-harm ratio?
1. Risks of MACE:
2. Relative Risk and Relative Risk Reduction:
Ticagrelor reduces the relative risk of MACE by $27.27\%$.
3. Absolute Risk Reduction and NNT:
Treating approximately 34 patients for 1 year with Ticagrelor prevents exactly 1 major adverse cardiac event.
1. Risks of Major Hemorrhage:
2. Relative Risk of Harm:
Ticagrelor increases the relative risk of major bleeding by $50\%$.
3. Absolute Risk Increase and NNH:
For every 100 patients treated with Ticagrelor, exactly 1 additional patient suffers a major bleeding event.
For a treated cohort of $N_{\text{pop}} = 50,000$ patients over 1 year:
1. Cardiac Events Prevented:
(Equivalently: $50,000 / NNT = 50,000 / 33.33 = 1,500$).
2. Excess Bleeding Events Induced:
(Equivalently: $50,000 / NNH = 50,000 / 100 = 500$).
3. Net Clinical Balance and Benefit-Harm Ratio:
For every major bleeding event caused by Ticagrelor, exactly 3 major cardiovascular ischemic events (fatal myocardial infarctions or strokes) are prevented. Because the mortality hazard of MACE typically exceeds that of non-fatal gastrointestinal hemorrhage, the clinical evidence demonstrates a favorable net benefit profile.