Effect size · Statistics Library

Risk ratio

A risk ratio (relative risk) compares the plain probability of an event in one group directly to the probability of that event in another group.

Topic indexA reference reading outside the guided chapter sequence

Understand the idea

If 20% of a treated group has a side effect and 10% of an untreated group has it, the risk ratio is 20%/10% = 2: the treated group's probability of the side effect is twice as high as the untreated group's. Unlike an odds ratio, this compares probabilities directly, which is usually the more natural quantity for a reader to picture.

A risk ratio of 1 means no difference in probability between groups; above 1 means higher risk in the group of interest; below 1 means lower risk (a protective effect).

It requires knowing the actual event probabilities in each group, which is only possible when the study design samples groups according to their real population proportions (a prospective or cross-sectional design), not in a case-control study, where the proportions of cases and controls are fixed by the researcher rather than reflecting the true population rates, and only the odds ratio remains valid there.

The risk ratio is often shortened to RR. The risk difference subtracts instead of dividing: a risk of 10% against 5% is a risk ratio of 2 but a risk difference of 5 percentage points. The number needed to treat is 1 divided by the risk difference: with a 5-point difference, about 20 people must be treated for one extra person to benefit.

Practitioner explanation

RR = p1/p2, where p1 and p2 are the group-specific event probabilities; unlike the odds ratio, RR is NOT symmetric under outcome recoding (the RR for the event and the RR for its complement are not simple reciprocals of each other), and RR is undefined in a case-control design where p1 and p2 are artifacts of the sampling scheme rather than population probabilities.

RR and OR converge as the baseline event probability approaches 0 (the 'rare disease assumption' long used to justify approximating one with the other) and diverge as the event becomes common; reporting an OR from a common-event logistic regression as though it were an RR is a well-documented source of effect-size overstatement in applied literature.

KernelStats' two-proportion test reports the risk ratio, the risk difference (a third, additive-scale summary: p1 - p2), and the odds ratio together on one card, precisely because each answers a slightly different practical question and the risk difference in particular is what is needed to compute a number like 'number needed to treat'.

When to use it

Consider it when

In prospective or cross-sectional designs where the actual event probability in each group is observed directly, and whenever the audience needs a probability-scale comparison rather than an odds-scale one.

Use caution when

In a case-control (retrospective) design, where the sampling fractions of cases and controls are fixed by the researcher and do not reflect true population probabilities; the risk ratio is not estimable there, and the odds ratio should be used instead.

Formulas and symbols

Risk ratio

RR=p1p2RR = \frac{p_1}{p_2}

p1, p2 are the observed event probabilities in the two groups being compared.

Common misconceptions

Misconception

Risk ratio and odds ratio are interchangeable names for the same quantity.

Correction

They are numerically different measures that happen to be close only when the event is rare. For a common event, the risk ratio is closer to 1 than the corresponding odds ratio, and conflating the two overstates the effect on the probability scale.

References

  1. NIST/SEMATECH e-Handbook of Statistical Methods, §7.3.4 Comparing two proportions, NIST/SEMATECH (2012), §7.3.4.