odds ratio
How many times the odds change per unit of a predictor; exp of a logistic regression coefficient.
Odds describe how much more likely an event is than its absence: . A 20% churn probability means odds of , or "1 to 4". An odds ratio compares the odds in two groups:
The second form is for a 2×2 table, where are the event / no-event counts in group 1 and are the same counts in group 0. OR = 1 means no association, OR > 1 means higher odds in group 1, and OR < 1 means lower odds.
The link to logistic regression. Logistic regression models the log-odds as a straight line in the predictors. A coefficient is the change in log-odds per one-unit increase in its predictor, so is the odds ratio for that unit, holding the other predictors fixed. That's why logistic models are usually reported as odds ratios.
Odds ratio vs relative risk. Relative risk (the risk ratio) compares probabilities directly: . When the outcome is rare (under roughly 10%), OR and RR are close. As the outcome becomes common, which churn and conversion within a segment often are, the OR drifts much further from 1 than the RR. So "OR = 3.5, customers are 3.5 times as likely to churn" overstates the effect. And because odds and probability aren't on a straight-line scale, the same OR shifts probability by very different amounts depending on the starting point.
Example
From a 2×2 table. CatChow compares 100 customers who haven't ordered for 3+ months with 100 recently active ones:
- Relative risk: . Silent customers churn twice as often.
- Odds: vs .
- Odds ratio: .
Both numbers are correct; they answer different questions. Reporting "3.5 times as likely" would overstate the effect by 75%.
From logistic regression. CatChow's churn model is . The odds ratio per month is .
- 3 months: log-odds , odds , .
- 4 months: log-odds , odds (that's ), .
The odds multiplied by 2.23, but the probability only rose from 60% to 77%, which is 1.28 times.
Common mistakes
- Saying "times as likely" about an odds ratio. That phrase describes relative risk. With common outcomes such as churn or conversion within a segment, the two differ a lot.
- Forgetting the unit. An OR from logistic regression is per one unit of the predictor. The churn model's 2.23 per month becomes about per day, so the same model can look weak or strong depending on how you scale it.
- Reading it causally. "Each silent month multiplies churn odds by 2.23" describes an association in the data, adjusted only for the predictors in the model, not what happens if you intervene.
- Comparing ORs below and above 1 on a straight-line scale. OR = 0.5 and OR = 2 are equally strong, just in opposite directions (0.5 = 1/2).
- Reporting an OR without its confidence interval. An interval that includes 1 means the data are consistent with no association.
Learn it in the course
- Logistic regression and classification · Predicting yes/no outcomes such as churn or conversion, and measuring how good the predictions are.