Quant interview toolkit · heavy tails

The average that refuses to settle down

Usually, more data makes an average more stable. If you average ten thousand independent observations, you expect the wild ones to cancel out. There is a famous distribution where they do not: the average of any number of independent standard Cauchy draws has exactly the same distribution as one draw. The apparent paradox tells you what the law of large numbers actually requires.

A tail that defeats the mean

A standard Cauchy variable has density

f(x)=1π(1+x2),−∞<x<∞.f(x)=\frac{1}{\pi(1+x^2)},\qquad -\infty<x<\infty.

It is symmetric around zero, and its median is zero. It is tempting to say that its mean is zero too. But the positive and negative parts of ∫xf(x) dx\int x f(x)\,dx each diverge. Symmetric cancellation in a principal-value integral does not create an ordinary expected value: E[X]E[X] is undefined.

The Cauchy tail falls too slowly for occasional huge draws to become negligible in a sample average. The central limit theorem’s familiar 1/n1/\sqrt n tightening cannot be applied here because the variance is not finite either.

Averaging changes nothing in distribution

The characteristic function of a standard Cauchy variable is φX(t)=E[eitX]=e−∣t∣\varphi_X(t)=E[e^{itX}]=e^{-|t|}. For independent draws X1,…,XnX_1,\ldots,X_n, the characteristic function of their sample average is

φXˉn(t)=∏j=1nφX(t/n)=(e−∣t∣/n)n=e−∣t∣.\varphi_{\bar X_n}(t) =\prod_{j=1}^n\varphi_X(t/n) =\left(e^{-|t|/n}\right)^n =e^{-|t|}.

That is the same characteristic function as one draw. Therefore Xˉn\bar X_n has the same standard Cauchy distribution for every positive integer nn. In particular,

P(∣Xˉn∣>10)=1−2πarctan⁡(10)≈6.35%,P(|\bar X_n|>10) =1-\frac{2}{\pi}\arctan(10) \approx6.35\%,

whether n=1n=1, 100100, or 10,00010{,}000. A giant outlier is rare, but as the sample grows you get more chances to encounter one large enough to move the average by order one.

A different summary can still learn

The sample median is useful here. For one standard Cauchy draw, P(X>1)=1/4P(X>1)=1/4. With 101 independent draws, the median exceeds one only if at least 51 draws exceed one:

P(median⁡(X1,…,X101)>1)=P(Binomial⁡(101,1/4)≥51).P(\operatorname{median}(X_1,\ldots,X_{101})>1) =P(\operatorname{Binomial}(101,1/4)\ge51).

That is a small binomial tail, and the same holds below minus one by symmetry. The median concentrates around the distribution’s center even though the sample mean does not. It estimates a different quantity: the population median, which is well defined.

Real asset returns are not asserted to be Cauchy. The example is a stress test for reasoning about heavy tails: before trusting a sample mean, standard error or Sharpe ratio, check whether the model assumptions that make them stable are plausible at the relevant horizon. Outliers may also come from bad data; distinguish a genuine extreme observation from an error before choosing a robust estimator.

For tail-focused estimation when the risk itself is the target, see extreme-value tail risk.

Increase the sample size and compare mean with median

Independent standard Cauchy draws. The sample mean stays Cauchy; the sample median concentrates around zero.

Practice

Two drawsWhat is the distribution of $(X_1+X_2)/2$ for two independent standard Cauchy draws?
Show answer

It is standard Cauchy again. Its characteristic function is e−∣t∣/2e−∣t∣/2=e−∣t∣e^{-|t|/2}e^{-|t|/2}=e^{-|t|}. The averaging step does not reduce its spread.

Mean or medianWhy can the sample median become reliable here while the sample mean does not?
Show answer

The population median exists and is zero. Whether a draw exceeds any fixed threshold is a bounded Bernoulli event, so the fraction exceeding that threshold stabilizes as the sample grows. The ordinary Cauchy mean does not exist; its extreme magnitudes defeat the usual averaging argument.