Effect size · Statistics Library

Odds ratio

An odds ratio compares the odds of an event in one group to the odds of the same event in another group, with 1 meaning no difference in odds between the groups.

Topic indexA reference reading outside the guided chapter sequence

Understand the idea

Odds are a different way of expressing a chance than a plain probability: if an event happens 3 times out of 4, its PROBABILITY is 3/4 = 0.75, but its ODDS are 3-to-1 (3 divided by the 1 time it does not happen). An odds ratio compares these odds between two groups.

An odds ratio of 2 means the odds of the event are twice as high in one group as in the other. An odds ratio of 1 means the groups have identical odds, no association. Odds ratios below 1 mean lower odds in the group being compared (a protective effect, in a medical context).

The most common trap: an odds ratio is NOT the same as a risk ratio (which compares plain probabilities directly), and the two diverge more and more as the event becomes common. For a rare event (well under 10%) the odds ratio and risk ratio are close enough that people often use the terms loosely; for a common event they can differ substantially, and reporting one as if it were the other overstates the effect.

The odds ratio is often shortened to OR. A logistic regression coefficient becomes an odds ratio when you raise e to its power; a coefficient of 0.69 means the odds roughly double. In a case-control study, which starts from people with and without a disease, the odds ratio is the natural measure because the risk itself cannot be estimated.

Practitioner explanation

OR = [p1/(1-p1)] / [p2/(1-p2)], and in logistic regression exp(beta) for a predictor is exactly the odds ratio for a one-unit increase in that predictor, holding the others fixed, which is why logistic regression coefficients are reported as odds ratios rather than as raw log-odds coefficients.

The odds ratio's key property for retrospective (case-control) designs is that it is the SAME whichever margin was sampled: the odds ratio of exposure comparing cases with controls equals the odds ratio of disease comparing exposed with unexposed. That makes it estimable in case-control designs, where the risk ratio cannot be estimated directly because the sampling fractions of cases and controls are fixed by the study design, not by the population's true prevalence; the odds ratio remains valid in that setting while the risk ratio does not.

KernelStats reports the odds ratio with its confidence interval on both the two-proportion test card and the logistic regression card, and the risk ratio alongside it on the two-proportion card specifically so the two are never confused for each other when the event is common.

When to use it

Consider it when

For case-control (retrospective) study designs, where it is the only valid measure of association, and as the natural effect size for logistic regression coefficients.

Use caution when

As a stand-in for the risk ratio when the event is common (above roughly 10%) and the audience will read it as a probability ratio; state clearly which one is being reported, since they diverge substantially for common events.

Formulas and symbols

Odds ratio (logistic regression coefficient)

OR=eβOR = e^{\beta}

beta is the logistic regression coefficient for a one-unit increase in the predictor, holding other predictors fixed.

Common misconceptions

Misconception

An odds ratio of 3 means the event is three times as likely (three times the probability).

Correction

An odds ratio of 3 means the ODDS are three times as high, not the probability. For a common event the corresponding risk ratio (probability ratio) is noticeably smaller than 3; only for a rare event are the two numerically close.

References

  1. NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.18 Binomial distribution (odds and probability), NIST/SEMATECH (2012), §1.3.6.6.18.