Expectation
Definition
The expected value (or expectation, mean) of a discrete random variable is:
where the sum is over all values in the support of .
Interpretation: The long-run average if we repeatedly sample from .
Intuition
The expectation is a weighted average of possible values, weighted by their probabilities. Values that occur more often contribute more to the average.
Example: Fair Die
Note: 3.5 is not a possible outcome. The expectation need not be a value can take.
Example: Biased Coin
Let = number of heads in one flip, with .
The expected number of heads equals the success probability.
Example: Lottery
A lottery ticket costs £2. With probability , it wins £1{,}000{,}000. Otherwise, it wins £0.
Expected winnings: £1. Expected profit: £1 - £2 = -£1 (a loss).
Does Expectation Always Exist?
Not always. The expectation requires:
If can take values with so large that the weighted sum diverges, expectation does not exist.
Example: The Cauchy distribution has no finite expectation: its tails are too heavy.
Properties
1. Constant
for any constant .
2. Monotonicity
If (with probability 1), then .
3. Non-negativity Preservation
If (with probability 1), then .
Interpretations
Physical: Centre of Mass
Place masses at positions on a line. The expectation is the centre of mass: the balance point.
Financial: Fair Price
If you pay to play a game with payout , you break even on average. This is the “fair price.”
Statistical: Sample Mean
By the Law of Large Numbers, the sample mean converges to as .
Expectation of Functions
For a function :
Note: In general, . The expectation of a function is not the function of the expectation.
Example: Squared Die
Compare: . Not equal.
Jensen’s Inequality
For a convex function :
For a concave function :
Example: is convex, so .
Summary
| Concept | Formula |
|---|---|
| Definition | |
| Constant | |
| Function | |
| Centre of mass | Physical interpretation |