Skip to main content

TL;DR

A formula relating conditional probabilities: \( P(A|B) = \frac{P(B|A)P(A)}{P(B)} \). It provides a way to update prior beliefs given new evidence.

By Valenke Exam Prep Team·Last updated 2026-06-03

Bayes' Theorem

A formula relating conditional probabilities: \( P(A|B) = \frac{P(B|A)P(A)}{P(B)} \). It provides a way to update prior beliefs given new evidence.

Why it matters for interviews

Foundational in quant interviews for probability brainteasers, Bayesian inference in trading models, and updating beliefs about market regimes given new data.

Definition and Mathematical Foundation

A formula relating conditional probabilities: \( P(A|B) = \frac{P(B|A)P(A)}{P(B)} \). It provides a way to update prior beliefs given new evidence.

The theorem provides the mathematical foundation for updating beliefs in light of new evidence. It connects the prior probability \( P(A) \), the likelihood \( P(B|A) \), and the marginal \( P(B) \) to produce the posterior \( P(A|B) \). The denominator \( P(B) \) acts as a normalizing constant ensuring the posterior is a valid probability distribution.

Mathematical Details

For discrete hypotheses \( H_1, H_2, \ldots, H_n \) forming a partition:

\( P(H_i|D) = \frac{P(D|H_i)P(H_i)}{\sum_j P(D|H_j)P(H_j)} \)

For continuous parameters \( \theta \) with prior density \( \pi(\theta) \) and likelihood \( L(\theta|x) \):

\( \pi(\theta|x) = \frac{L(\theta|x)\pi(\theta)}{\int L(\theta|x)\pi(\theta)d\theta} \)

Example

A trading signal fires 70% of the time when the stock goes up, and 30% when it goes down. If stocks go up 55% of the time, what is the probability the stock goes up given the signal fired?

\( P(\text{Up}|\text{Signal}) = \frac{0.70 \times 0.55}{0.70 \times 0.55 + 0.30 \times 0.45} = \frac{0.385}{0.520} \approx 74\% \)

Application in Quantitative Finance

Foundational in quant interviews for probability brainteasers, Bayesian inference in trading models, and updating beliefs about market regimes given new data.

In quantitative trading, Bayesian methods are used for regime detection (updating the probability of bull vs. bear market as returns arrive), signal combination (combining multiple alpha signals with different reliabilities), and portfolio optimization (Black-Litterman model). The ability to formally update beliefs with data is what separates systematic from ad-hoc trading.

Interview Relevance

Bayes' theorem problems are among the most common in quant interviews. Expect variations of the classic disease testing problem, urn problems with updating, and multi-stage information revelation. The key skill is correctly identifying the prior, likelihood, and evidence, then computing the posterior without algebraic errors.

Related Concepts

Related Terms

Ready to practice for the Quant Trading Interview?

Adaptive practice powered by Item Response Theory targets your weak areas. Start with 3 free sessions.

Start free practice →

Frequently Asked Questions

How is Bayes' theorem used in quantitative trading?
Traders use Bayes' theorem to update probability estimates of market events (e.g., earnings surprise, regime change) as new information arrives. It underpins Bayesian portfolio optimization and signal filtering.
What is the difference between prior and posterior probability?
The prior is your belief before observing data; the posterior is your updated belief after incorporating the evidence via Bayes' theorem. The likelihood connects the two.
Can you give a classic interview example of Bayes' theorem?
A common problem: 1% of a population has a disease. A test is 99% sensitive and 95% specific. If someone tests positive, what is the probability they have the disease? Applying Bayes' theorem yields roughly 16.7%.