Skip to content
Probability, Statistics and Financial Data / Discrete Random Variables

Expectation, Mean, and Variance

A PMF is a complete description of a random variable, but a full distribution is unwieldy to quote in a single sentence — a trader wants "the expected P&L" and "how risky is it," not the whole payoff distribution table. Expectation (E[X]\mathbb{E}[X]) is the probability-weighted average value; variance (Var(X)\text{Var}(X)) is the average squared deviation from that average, the canonical measure of spread. This note defines both directly from the PMF, develops the mean's physical "centre of gravity" interpretation, and works a full example culminating in the observation — deliberately left as friction here — that variance computed straight from the definition requires the PMF of a transformed random variable, a tedium resolved in the next lesson's expected value rule.
Learning objectives. By the end of this note you should be able to:
  • compute E[X]\mathbb{E}[X] directly from a PMF and interpret it as a centre-of-gravity / long-run-average quantity;
  • state when an infinite-sum expectation is well-defined, and recognise a case where it is not;
  • compute Var(X)\text{Var}(X) directly from the definition E[(X−E[X])2]\mathbb{E}[(X-\mathbb{E}[X])^2];
  • relate variance and standard deviation, and explain why standard deviation carries the same units as XX.

In this lesson

  1. Expectation
  2. Variance and standard deviation

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or browse the Probability, Statistics and Financial Data syllabus.