Odds Form of Bayes
Updates odds using a likelihood ratio.
Formula
Variables
Example
Evidence multiplies prior odds
How it works
This formula rewrites Bayes’ theorem in odds form: instead of updating a probability directly, you update the prior odds of a hypothesis by multiplying by a likelihood ratio. The factor P(B|A) / P(B|¬A) tells you how much more likely the observed evidence B is if A is true than if A is false; that is why it acts as an evidence multiplier. It works because Bayes’ theorem can be algebraically rearranged so the prior-to-posterior change separates cleanly into a prior term and an evidence term.
When to use it
Use this when you want to update a yes/no hypothesis from evidence, especially in diagnostic testing, classification, or decision analysis. It is especially helpful when you already know or can estimate odds and likelihoods more naturally than raw probabilities.
Worked example, step by step
Suppose a machine part is suspected to be defective. Prior probability the part is defective: P(A) = 0.20 Prior odds: O(A) = P(A) / P(¬A) = 0.20 / 0.80 = 0.25 Evidence B: a stress test comes back positive Test sensitivity: P(B|A) = 0.90 False positive rate: P(B|¬A) = 0.15 Likelihood ratio: P(B|A) / P(B|¬A) = 0.90 / 0.15 = 6 Posterior odds: O(A|B) = 0.25 × 6 = 1.5 Convert odds back to probability: P(A|B) = O(A|B) / (1 + O(A|B)) = 1.5 / 2.5 = 0.60 Final answer: after a positive test, the probability the part is defective is 60%.
Common mistakes to avoid
- Using P(A|B) in place of O(A|B) and forgetting to convert between probability and odds
- Swapping P(B|A) and P(B|¬A), which reverses the evidence update
- Forgetting that the denominator is the probability of the evidence under the alternative hypothesis, not 1 - P(B|A) unless that is explicitly the false positive rate
Did You Know?
The Bayes factor weighs how much the evidence favours one hypothesis over another, updating belief with data.
Share this formula
More in Statistics & Probability
View allArithmetic Mean
BasicThe average of a data set.
Median
BasicThe middle value separating the higher and lower halves.
Variance
IntermediateAverage squared deviation from the mean.
Standard Deviation
IntermediateSquare root of the variance; typical spread.
Z-Score
IntermediateNumber of standard deviations a value is from the mean.
Bayes' Theorem
IntermediateUpdates a probability given new evidence.