Skip to content
  • Overview
  • Curriculum
    • FLUMental maths and numerical fluency
    • COMBCounting and combinatorics
    • PROBProbability
    • GAMEGames, decision theory and puzzles
    • MMMarket making
    • MKTMarkets and products

Practise

  • Question bank
  • Mental arithmetic
  • Market simulator
  • Arbitrage trees
  • Horse racing
  • Bid book
  • Screening tests
  • Mock papers

Reference

  • Formula reference
  • Search

Your record

  • Review queue
  • Progress
  • Leaderboard
  • Profile
  • Invite friends
AccountSend feedback
  1. Formula reference

Statistics and inference

8 lessons · 12 equations. Each lesson below gives its formulas and key rules; open the lesson for the full explanation.

The law of large numbers and the central limit theorem

The central limit theorem

n Xˉn−μσ →d N(0,1)\sqrt{n}\,\frac{\bar{X}_n - \mu}{\sigma} \ \xrightarrow{d}\ \mathcal{N}(0, 1)n​σXˉn​−μ​ d​ N(0,1)

The standardised sample mean converges in distribution to a standard normal, whatever the shape of the underlying distribution — provided the variance is finite.

Chebyshev’s inequality

Pr⁡(∣X−μ∣≥kσ)≤1k2\Pr\big(|X - \mu| \ge k\sigma\big) \le \frac{1}{k^2}Pr(∣X−μ∣≥kσ)≤k21​

Holds for any distribution with a finite variance — no normality required. It is loose, but it is the guarantee you fall back on when you cannot trust the tails, and it is what proves the weak law of large numbers in one line.

The standard error of a Sharpe ratio

SE⁡(SR^)≈1+12SR2n\operatorname{SE}(\widehat{SR}) \approx \sqrt{\frac{1 + \tfrac{1}{2} SR^2}{n}}SE(SR)≈n1+21​SR2​​

For independent, normal returns, measured per period (Lo, 2002). Annualise both the ratio and its error by periods per year\sqrt{\text{periods per year}}periods per year​. Fat tails and autocorrelation both make the true error larger.

Remember

  • LLN: the sample mean converges to the true mean, given a finite mean.

Estimation: bias, variance and maximum likelihood

The decomposition

MSE(θ^)=E[(θ^−θ)2]=Bias(θ^)2+Var(θ^)\mathrm{MSE}(\hat\theta) = \mathbb{E}\big[(\hat\theta - \theta)^2\big] = \mathrm{Bias}(\hat\theta)^2 + \mathrm{Var}(\hat\theta)MSE(θ^)=E[(θ^−θ)2]=Bias(θ^)2+Var(θ^)

Squared error splits cleanly into a systematic part and a noisy part. Minimising the total is what you actually want; unbiasedness constrains only the first term.

The Cramér–Rao bound

Var⁡(θ^)≥1n I(θ),I(θ)=E ⁣[(∂∂θln⁡f(X;θ))2]\operatorname{Var}(\hat\theta) \ge \frac{1}{n\,I(\theta)}, \qquad I(\theta) = \mathbb{E}\!\left[\left(\frac{\partial}{\partial\theta}\ln f(X;\theta)\right)^2\right]Var(θ^)≥nI(θ)1​,I(θ)=E[(∂θ∂​lnf(X;θ))2]

No unbiased estimator can beat this variance. The MLE achieves it asymptotically, which is why its standard error is read off the curvature of the log-likelihood — flat likelihoods mean little information and wide errors.

Remember

  • MSE=Bias2+Var\mathrm{MSE} = \mathrm{Bias}^2 + \mathrm{Var}MSE=Bias2+Var; you want the total, not zero bias.

Confidence intervals, and the interval you would trade

An interval for a mean

xˉ±zα/2 sn\bar{x} \pm z_{\alpha/2}\,\frac{s}{\sqrt{n}}xˉ±zα/2​n​s​

Point estimate, plus or minus a multiple of the standard error. Use ttt rather than zzz when nnn is small and the variance is estimated.

An interval for a variance

[(n−1)s2χ0.975, n−12, (n−1)s2χ0.025, n−12]\left[\frac{(n-1)s^2}{\chi^2_{0.975,\,n-1}},\ \frac{(n-1)s^2}{\chi^2_{0.025,\,n-1}}\right][χ0.975,n−12​(n−1)s2​, χ0.025,n−12​(n−1)s2​]

For normal data, (n−1)s2/σ2(n-1)s^2/\sigma^2(n−1)s2/σ2 has a chi-square distribution with n−1n - 1n−1 degrees of freedom. The interval is asymmetric and wide for small samples — and it depends heavily on normality, so for returns a bootstrap interval is usually safer.

Remember

  • Estimate ±z×\pm z \times±z× standard error; z=1.96z = 1.96z=1.96 for 95%.

Hypothesis testing: errors, power and which test to use

Sample size from power

n≈2(zα/2+zβ)2σ2δ2n \approx \frac{2\left(z_{\alpha/2} + z_{\beta}\right)^2\sigma^2}{\delta^2}n≈δ22(zα/2​+zβ​)2σ2​

The two-sample size needed to detect a difference δ\deltaδ with power 1−β1-\beta1−β at level α\alphaα.

Remember

  • Type I is a false alarm at rate α\alphaα; type II is a miss at rate β\betaβ.

p-values, p-hacking and the multiple-testing problem

The family-wise error rate

FWER=1−(1−α)m\mathrm{FWER} = 1 - (1 - \alpha)^mFWER=1−(1−α)m

The probability of at least one false positive across mmm independent tests at level α\alphaα.

Holm’s step-down procedure

reject H(1),…,H(k) while p(i)≤αm−i+1\text{reject } H_{(1)}, \ldots, H_{(k)} \text{ while } p_{(i)} \le \frac{\alpha}{m - i + 1}reject H(1)​,…,H(k)​ while p(i)​≤m−i+1α​

Sort the p-values and compare the smallest with α/m\alpha/mα/m, the next with α/(m−1)\alpha/(m-1)α/(m−1), and so on, stopping at the first failure. It controls the family-wise error rate exactly as Bonferroni does, and it is never less powerful — so there is no reason to use plain Bonferroni.

Remember

  • Write the hypothesis down before running the test.

Resampling: the bootstrap, permutation tests and where they break

Key rules

  • The bootstrap estimates the variability of an estimate, not the estimate itself.
  • It works for statistics with no closed form — medians, Sharpe ratios, quantiles.
  • A permutation test assumes only exchangeability under the null.

Bayesian statistics: conjugacy, shrinkage and credible intervals

The update

p(θ∣x)∝p(x∣θ) p(θ)p(\theta \mid x) \propto p(x \mid \theta)\,p(\theta)p(θ∣x)∝p(x∣θ)p(θ)

Posterior is proportional to likelihood times prior. The constant of proportionality is whatever makes it integrate to one, and for conjugate pairs you never need to compute it.

Remember

  • Posterior ∝\propto∝ likelihood ×\times× prior.

Experiment design: randomisation, peeking and minimum detectable effect

Minimum detectable effect

MDE=(zα/2+zβ)2σ2n\mathrm{MDE} = (z_{\alpha/2} + z_\beta)\sqrt{\frac{2\sigma^2}{n}}MDE=(zα/2​+zβ​)n2σ2​​

Run the power calculation the other way: given the sample you can actually get, what is the smallest effect you could reliably detect?

Remember

  • Randomisation makes confounders irrelevant in expectation; stratify on the ones you know.

Detailed formula cards

  • Standard error of a mean
  • Family-wise error rate

QuantMax · 141 lessons · 1342 questions · c5c0caa

  • Premium
  • Arbitrage trees
  • Horse racing
  • Invite friends
  • Account
  • About QuantMax
  • Terms
  • Privacy

Firm names identify publicly reported question patterns and nothing more. QuantMax is not affiliated with, endorsed by, or recruiting for any firm named in the curriculum. Everything you do in lessons and the question bank is kept to your account.