liveBook · Manning

Odds ratio

An odds ratio is the ratio of the odds of an outcome under one condition or in one group to the odds under another condition or in another group.

How 3 Manning books explain it

Build AI Drug Discovery Pipelines

An odds ratio is the ratio of two odds, often comparing the odds under a changed feature value with the odds under a reference value.

How it is used
Interprets logistic-regression weights as changes in predicted molecular outcome odds.
How deep it goes
Derives the one-unit feature relationship and works through a numerical example, while stopping short of broader causal interpretation.
Examples
Uses a molecular feature with weight 0.45 to demonstrate a 1.57 odds ratio and 57% predicted increase.
What you can do after
Evaluate model weights as one-unit changes in predicted outcome odds while holding other features fixed.

Read how Build AI Drug Discovery Pipelines explains odds ratio →

Statistics Slam Dunk

An odds ratio is the ratio of the odds of an event under one condition to the odds of the event under another condition.

How it is used
Interprets binary-outcome logistic regression by translating coefficients among probabilities, odds ratios, and log odds.
How deep it goes
Defines the three scales, works through conversions, and applies them to a regression coefficient without developing the underlying estimation mathematics.
Examples
Uses an on-time flight calculation and an NBA playoff logistic regression with R conversion commands.
What you can do after
Apply R functions such as exp() and plogis() to convert logistic-regression results into interpretable probabilities.

Read how Statistics Slam Dunk explains odds ratio →

Grokking Statistics

An odds ratio is the quotient of two odds, measuring how the relative likelihood of an event changes between conditions.

How it is used
Uses odds ratios to compare event risk across conditions and interpret logistic-regression changes per unit of x.
How deep it goes
Explains probability-to-odds conversion, log-odds, and Python comparison, stopping short of a formal derivation.
Examples
Uses toddler-meltdown risk at four versus six hours, with logistic probabilities, odds, and Python calculations.
What you can do after
Apply it via Python to convert predicted probabilities into odds and compare odds between two conditions.

Read how Grokking Statistics explains odds ratio →

Also covered in

What to know first

Related concepts

Questions about odds ratio

What is odds ratio?

An odds ratio is the ratio of the odds of an outcome under one condition or in one group to the odds under another condition or in another group.

Which Manning books explain odds ratio?

Build AI Drug Discovery Pipelines, Statistics Slam Dunk and Grokking Statistics.

What should I know before learning odds ratio?

Manning books that teach odds ratio usually introduce sigmoid and logistic regression first.

What is odds ratio a kind of?

Odds ratio is a kind of ratio. A ratio is a quantitative comparison of two quantities expressed through their relative sizes or quotient.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.