Quantij quantitative finance education and research
Probability and Statistics for Quant Interviews
Work through conditional probability, distributions, moments, covariance, limit theorems, and confidence intervals.
Published 27 November 2026 · Full chapter
Probability fundamentals
This section focuses on random variables and probability distributions. Combinatorics is covered in the practice workbook.
Conditional Probability and Bayes’ Theorem
Conditional probability describes the probability of event once event is known. The denominator restricts the sample space to . For instance, the probability of illness can change after observing a cough. For ,
Within the region for , the fraction also belonging to is the overlap divided by the size of .
The overlap can be calculated in either direction: Solving for the desired conditional probability gives Bayes’ rule:
The likelihood is .
The prior is , before observing . The evidence is .
Calculate the evidence by conditioning on and its complement :
Tversky and Kahneman (famous pioneers of behavioral economics) formulated some classic brainteasers for wrapping your head around Bayes’ theorem.
Imagine you are a member of a jury judging a hit-and-run driving case. A taxi hit a pedestrian one night and fled the scene. The entire case against the taxi company rests on the evidence of one witness, an elderly man who saw the accident from his window some distance away. He says that he saw the pedestrian struck by a blue taxi. In trying to establish her case, the lawyer for the injured pedestrian establishes the following facts. There are only two taxi companies in town, “Blue Cabs” and “Green Cabs.” On the night in question, 85 percent of all taxis on the road were green and 15 percent were blue. The witness has undergone an extensive vision test under conditions similar to those on the night in question, and has demonstrated that he can successfully distinguish a blue taxi from a green taxi 80 percent of the time. What is the probability that the taxi the old man saw was actually blue?
Let denote a blue taxi, a green taxi, and a blue report. An 80% accurate report does not imply an 80% posterior; green taxis are more prevalent.
Steve is very shy and withdrawn, invariably helpful but with very little interest in people or in the world of reality. A meek and tidy soul, he has a need for order and structure, and a passion for detail. Is Steve more likely to be a librarian or a farmer?
Most people immediately answer that Steve is more likely to be a librarian than a farmer, since the personality description seems to fit much more closely with a librarian than a farmer.
However, librarian is relatively a much rarer occupation, and a candidate can estimate that there are 20x more farmers than librarians in the U.S. Even if this personality description fits, say, 40% of all librarians vs. just 10% of all farmers, Bayes’ theorem gives a much greater likelihood that Steve is a farmer, as illustrated below. =
More conditional probability examples
Suppose 1% of people in the U.S. have Ebola. There is a test for Ebola that has a 1% false positive and 1% false negative rate, i.e. 99% of healthy people will test negative and 99% of sick people will test positive. What is the probability that a person who tested positive actually has Ebola?
Let mean the person has the disease, mean the person does not, and denote a positive test in this hypothetical example. For positive results with conditional independence given disease status, At the posterior is . A screening test’s predictive value depends on prevalence as well as sensitivity and specificity.
This question is asked a lot in trading interviews, especially as part of an earlier phone screen.
Suppose Suppose there are 1000 coins; 999 are fair coins and the 1000th has heads on both sides. The participants pick a random coin and flip it 10 times, and it lands heads all 10 times. What is the probability that the participants picked the unfair coin?
Let mean the selected coin is double-headed and mean ten heads. A fair coin produces ten heads with probability , while a double-headed coin does so with probability one.
Expected Value and Variance
For discrete variables, write for the probability mass function. For continuous variables with a density, write for the probability density function.
Expectation is a probability-weighted average. For support ,
a candidate can also think of the expected value of any function of a random variable in the same way.
Weight each function value by the corresponding probability or density. This is often the simplest way to price a payoff or compute an unusual expectation.
Linearity gives .
Linearity of expectation does not require independence:
This linearity of expectation property for dependent variables is very important for quant interviews; a lot of seemingly complicated questions about expected values for some probabilistic experiment/situation can be solved very easily by setting up possibly dependent random variables for the experiment in a clever way and applying linearity of expectation on them. The Five Rings tournament question is a good example of this. Another simpler example:
Suppose there are a classroom of 10 boys and 10 girls, and the participants arrange them randomly into a single-file line of 20 students. What is the expected number of pairs of adjacent students who are different genders?
Let indicate whether positions and hold students from different groups. The indicators are dependent, but linearity gives .
The variance of a random variable describes how much it deviates from its expected value on average.
Variance is the expected squared deviation from the mean:
Expanding the square gives
Shifting by a constant has no effect on variance. For a sum, the covariance term vanishes if the variables are independent. For independent identically distributed observations with variance , the sum has variance and the average has variance .
Random Variables
This subsection gives information on the most important classical types of random variables.
The cumulative distribution function gives the probability of an outcome at or below . For a continuous random variable with density ,
Bernoulli
A single trial succeeds with probability . The probabilities of 1 and 0 are and . The mean is and variance is .
Binomial
Count successes in independent Bernoulli trials with the same success probability . The mean is and variance is .
Poisson
Count events in an interval with expected count . The mean and variance both equal .
Geometric
Count independent Bernoulli trials through the first success. The mean is and variance is .
Uniform
Draw a point uniformly from . The density is on the interval and zero outside. The mean is and variance is .
Normal
A normal distribution with mean and variance has the density below. The central limit theorem applies to standardised sample means under suitable conditions.
Exponential
The waiting time to the first event in a homogeneous Poisson process of rate has mean and variance . with density zero for negative times.
A Poisson experiment comes from a binomial experiment where asymptotically n is very large and p is very small, so that np= λ.
a candidate can construct a Poisson point process N(t) = the number of events that occur during the first t units of time. N(t) is constructed by a sequence of exponential r.v.s with the same rate λ.
Both the geometric and exponential random variables are memoryless, i.e. the probability distribution of geometric or exponential X after some trials/time has already elapsed is the same as if starting over at the first trial/at time 0. In other words, the behavior of experiments following the geometric or exponential distribution is not affected by how many trials/time has already passed.
Distributions of Functions and Joint Distributions
If the participants know the pdf of a random variable X, a candidate can compute the pdf of any strictly increasing function of X. Integrate the pdf to obtain the cdf FX(a). Let g(x) be any strictly increasing function of x.
For strictly increasing , the event is equivalent to . Thus . Differentiate with respect to if a density exists.
A joint mass function records . The joint CDF is . When a joint density exists and the derivatives are defined, Marginalise over the other variable: Alternatively, .
For independent variables, the joint mass or density factors: or .
Covariance and Correlation
Covariance and correlation both describe the degree to which a pair of random variables can vary in similar and dependent ways.
Covariance is the expected product of centred variables.
Independence implies when the moments exist. Zero covariance alone does not imply independence.
.
Bilinearity gives .
Correlation standardises covariance and lies between and when both variances are positive.
If two random variables are independent then they are uncorrelated, but the converse of this is not true.
Statistics fundamentals
This section is an overview of the first third of introductory statistics.
Law of large numbers and central limit theorem
Statistics vs. probability:
Probability encompasses simpler problems where a candidate can start with the initial parameters and models, then analyze the proceeding outcomes and data.
Statistics encompasses complex problems about randomness where the underlying parameters/distribution are unknown; the participants collect data and deduce the parameters through quantitative techniques.
Main framework for statistical modeling:
Treat each data event as a random variable. The participants make assumptions for what kind of r.v. describes the data event, i.e. Bernoulli, uniform, exponential, Poisson, etc. Some additional common assumptions are independence of each data event as well as that each data event is described by the same random variable/underlying distribution; together, these assumptions are called “i.i.d” (“independent and identically distributed”)
Formulate a link between the underlying parameter you want to estimate vs. your data event random variables. Is your desired parameter equal to the average of your random variables, or some function of the average, or something else? This function of the data is the “estimator”.
Example. If the data events are Bernoulli, then the average Xn = avg(X1 +...+ Xn) tends to the expected value E(X) = p. So to estimate the unknown parameter p for a series of Bernoulli trials using an estimator ˆ p, a candidate can set ˆ p= Xn.
Estimate your level of confidence in how your estimator predicts the underlying parameter. If your estimator is p= 0.55, are you 95% confident that your actual parameter is between 0.5 to 0.6? 0.45 to 0.65? 0.54 to 0.56?
The law of large numbers creates this link between theoretical parameters and empirical data:
When the mean is a function of an unknown parameter of the random variable/underlying distribution then the LLN becomes very useful, and indeed this is the case for all common r.v. types: uniform, Bernoulli, Poisson, geometric, exponential, etc.
The central limit theorem helps the candidate quantify the level of confidence in the estimation (through a confidence interval):
Confidence Intervals
A confidence interval estimates an unknown parameter using a rule that produces a random interval from the data.
A 95% confidence interval procedure has 95% coverage in repeated sampling under its assumptions. The parameter is fixed in the frequentist interpretation.
The center of the interval often comes from the LLN and is equal to the estimator; the range of the interval comes from the CLT.
A level- interval procedure satisfies
For a sample mean with population standard deviation , a normal approximation gives where is the corresponding standard-normal quantile.
Clearly the next step is to have the confidence interval be independent from the true parameter; otherwise the participants don’t actually know anything meaningfully new about the true parameter from the confidence interval.
Unfortunately, σ depends on the true parameter, so the next step is to find techniques for getting rid of the variance.
Finishing the confidence interval
For Bernoulli observations, . Substituting the bound gives a conservative large-sample interval before clipping to the parameter space:
Generally the participants use Slutsky’s theorem which allows the candidate to add and multiply limits in the LLN; since the variance is a function of the true parameter, the participants just substitute this the estimator in place of the true parameter in the variance formula, then plug that into the confidence interval.