Conditional Probability
Conditional probability is the probability of an event occurring given that another event has already occurred, forming the basis for Bayesian reasoning and many quant interview questions.
Bayes' theorem is a formula in probability theory that describes how to update the probability of a hypothesis given new evidence. Expressed as P(A|B) = P(B|A)P(A)/P(B), it is one of the most important tools in statistics, machine learning, and quantitative finance. It appears frequently in quant trading interviews and underlies many signal-processing and prediction techniques used in systematic trading.
Bayes' theorem is a formula that tells you how to update your beliefs when you receive new evidence. Named after the Reverend Thomas Bayes (1701-1761), it is one of the most important results in all of probability and statistics.
The theorem answers a fundamental question: if you observe some evidence B, how should you update your belief about whether hypothesis A is true? The formula is:
P(A|B) = P(B|A) × P(A) / P(B)
Where:
The beauty of Bayes' theorem is that it lets you flip a conditional probability around. You often know P(B|A) β the probability of the data given the hypothesis β but you want P(A|B) β the probability of the hypothesis given the data. Bayes' theorem makes the conversion.
Example 1 β Medical Testing (The Standard Interview Problem):
A disease affects 1% of the population. A test for the disease is 99% accurate: it correctly identifies 99% of sick people (sensitivity) and correctly identifies 99% of healthy people (specificity). You test positive. What is the probability you actually have the disease?
Solution:
P(Positive) = P(Positive|Disease) × P(Disease) + P(Positive|No Disease) × P(No Disease)
P(Positive) = 0.99 × 0.01 + 0.01 × 0.99 = 0.0099 + 0.0099 = 0.0198
P(Disease | Positive) = (0.99 × 0.01) / 0.0198 = 0.0099 / 0.0198 = 50%
Despite the 99% accurate test, a positive result only means a 50% chance of having the disease! The key insight: when the condition is rare (1% prevalence), even a very accurate test produces many false positives relative to true positives.
Example 2 β Unfair Coins:
You have two coins. Coin A is fair (50% heads). Coin B is biased (75% heads). You pick a coin at random and flip it 3 times, getting HHT. What is the probability you picked Coin B?
P(HHT | A) = 0.53 = 0.125
P(HHT | B) = 0.752 × 0.25 = 0.140625
P(HHT) = 0.5 × 0.125 + 0.5 × 0.140625 = 0.1328
P(B | HHT) = (0.5 × 0.140625) / 0.1328 = 52.9%
Mock interviews, resume guides, and 500+ practice questions β straight to your inbox.
Bayesian thinking is woven into quantitative trading at every level:
Want personalized guidance from a quant?
Speak with a quant trader or researcher whoβs worked at a top firm.
Book a Free ConsultBayesian reasoning is counterintuitive for many people. The most common mistakes are:
A useful framework for interview problems: When solving Bayes' theorem problems in interviews, use a probability tree or a frequency table. For the medical test problem, imagine 10,000 people: 100 have the disease (99 test positive), 9,900 are healthy (99 test positive by false alarm). So 99 + 99 = 198 test positive, and 99/198 = 50% actually have the disease. This natural frequency approach is much more intuitive than plugging into the formula directly.
Bayes' theorem: updates the probability of hypothesis A given observed evidence B. Converts the likelihood P(B|A) into the posterior P(A|B).
Law of total probability: computes the denominator of Bayes' theorem by summing over all possible hypotheses. This is the normalization constant.
Bayes' theorem is one of the most heavily tested probability topics in quant interviews. Firms like Jane Street, SIG, Optiver, and Citadel frequently ask Bayesian probability problems to assess whether candidates can reason under uncertainty. You should be able to solve problems quickly and explain the intuition β especially the base rate effect.
Practice with our Jane Street interview questions and SIG interview questions. Book a free consultation to assess your probability readiness.
Conditional probability is the probability of an event occurring given that another event has already occurred, forming the basis for Bayesian reasoning and many quant interview questions.
Expected value is the probability-weighted average of all possible outcomes of a random variable, forming the mathematical foundation for every rational trading and betting decision.
Probability questions are the cornerstone of quant trading interviews. This guide covers common question types, worked examples with solutions, and a study strategy to prepare effectively.
Bayes' theorem provides the mathematical framework for updating beliefs with new evidence β exactly what traders do constantly. As new market data, news, or signals arrive, a quant's estimate of fair value should be updated using Bayesian logic. Additionally, Bayesian statistics, Bayesian machine learning, and Hidden Markov Models (all built on Bayes' theorem) are widely used in systematic trading research.
The prior P(A) is your belief about hypothesis A before seeing any evidence. The posterior P(A|B) is your updated belief after observing evidence B. For example, before a medical test, you believe there's a 1% chance of disease (prior). After a positive test result, you update to a 50% chance (posterior). The posterior incorporates both your prior belief and the new evidence.
Use the natural frequency approach: instead of abstract probabilities, imagine a concrete population (e.g., 10,000 people) and count how many fall into each category. This converts a Bayes' theorem problem into simple arithmetic. For example, with 1% disease prevalence and 99% test accuracy: 10,000 people β 100 sick (99 test positive) + 9,900 healthy (99 test positive) β 198 positives total β P(sick|positive) = 99/198 = 50%.
The base rate fallacy is the tendency to ignore prior probabilities (base rates) when evaluating evidence. In the medical test example, people often guess a 99% probability of disease after a positive test, ignoring the fact that only 1% of the population is actually sick. The base rate (1%) dramatically affects the answer. In trading, a similar mistake is overreacting to a signal without considering how rare the event it predicts actually is.
Our bootcamp covers probability, statistics, trading intuition, and 500+ real interview questions from top quant firms.
Book a Free Consult