Expectation, Variance & Moments
Expectation as the Lebesgue integral against a distribution, LOTUS, the algebra of variance and covariance, and the higher moments (skewness, kurtosis) that decide whether a Gaussian risk model is safe or lethal.
Prerequisites: Random Variables & Distributions
Expectation is the single most reused operation in quantitative finance, every price is a discounted expected payoff, every risk number is a moment. It is worth internalising it not as "average" but as the integral of a random variable against its law, because that definition is what makes it linear, monotone, and immune to the paradoxes of averaging. Variance and the higher moments are then just expectations of specific functions, and their algebra is the grammar of portfolio risk.
Expectation as an integral
For a random variable on (see Probability Spaces), the expectation is the Lebesgue integral which specialises to the familiar sums and integrals: It exists (is finite) precisely when ; otherwise the mean is undefined, not merely large. The two defining properties are linearity, for any , independent or not, and monotonicity, . Linearity without an independence requirement is the workhorse; it is why the expected value of a sum of correlated asset returns is just the sum of the means.
LOTUS: expectation of a function
You almost never integrate against the law of directly. The Law of the Unconscious Statistician lets you use the law of : This is "unconscious" because practitioners apply it without deriving the distribution of first, and it is exactly what justifies computing option values by integrating the payoff against the price density.
Variance, covariance, and their algebra
The variance is the second central moment, the expected squared deviation: The second form (from expanding and using linearity) is the computational one; the first is the meaning. Covariance generalises it to pairs: The master identity for portfolios follows from bilinearity of covariance. For a weighted sum , where is the covariance matrix. This quadratic form is the entire basis of mean–variance optimisation and portfolio risk. For two assets it reads , the cross term is where diversification lives. Correlation normalises covariance to : .
Crucially, independence implies zero covariance, but not conversely. Covariance sees only the linear part of dependence; and (with symmetric) are uncorrelated yet dependent. This gap is why covariance-only (Gaussian) risk models miss nonlinear and tail co-movement.
Higher moments: skewness and kurtosis
The -th central moment is . Standardising by gives shape numbers that don't depend on units:
Skewness measures asymmetry. Negative skew, the equity-index norm, means the left tail is longer: many small gains, occasional large crashes. A strategy that "picks up pennies" (short vol, carry) has negative skew; a trend follower has positive skew.
Kurtosis measures tail heaviness. The Gaussian has kurtosis exactly ; excess kurtosis is reported so the normal sits at zero. Financial return series routinely show excess kurtosis of 5–30+ at daily frequency, fat tails. Under fat tails, "3-sigma" days arrive far more often than a normal predicts, and this is not a rounding error: it is the difference between a risk model that survives and one that blows up.
Worked example, variance of a fair die. With uniform on , and , so . The computational identity did all the work; you never touched the definition's squared deviations.
Failure modes and subtleties
- The mean may not exist. For a Cauchy (Student- with 1 d.o.f.) the integral diverges, the sample mean of Cauchy draws does not converge, wrecking the The Law of Large Numbers. Heavy-tailed financial data can have undefined higher moments; a "sample kurtosis" that keeps growing with sample size is the tell that the population moment is infinite.
- Sample vs. population. is a property of the law; estimates it with error . The unbiased variance estimator divides by (Bessel's correction) because using in place of removes one degree of freedom.
- Variance is not risk. It penalises upside and downside symmetrically and ignores skew and kurtosis entirely, hence semivariance, VaR, and expected shortfall. Two portfolios with identical variance can have utterly different crash risk.
- Correlation breakdown in stress. Estimated covariances are regime-dependent; correlations tend toward 1 in crashes exactly when diversification (the cross term) is supposed to help. The moment exists but is non-stationary.
- Jensen's inequality. For convex , : the expected value of a nonlinear function is not the function of the expected value. This gap (the "convexity" or "gamma" of a position) is where a great deal of derivatives P&L comes from.
In interviews
Expectation and variance questions are the bread and butter of quant screens. Be fluent with and derive it on demand. Know the two-asset variance formula cold, including the sign of the cross term for a hedge. Expect LOTUS in disguise: " uniform on , find " is . A favourite conceptual trap is asserting "uncorrelated implies independent", give the counterexample. And when a desk asks why they don't just model returns as Gaussian, the one-word answer is kurtosis, expanded into the fat-tail argument above. These moments feed directly into Moment Generating Functions (which package all of them at once) and The Central Limit Theorem.
Related concepts
Practice in interviews
Further reading
- Casella & Berger, Statistical Inference (Ch. 2)
- Durrett, Probability: Theory and Examples
- Cont & Tankov, Financial Modelling with Jump Processes