Sub topic 4
Expected Value as a Weighted Average
Assume you know basic probability, fractions, percentages, and ordinary averages. You should also know that a probability describes how likely an outcome is. This chapter uses those ideas to summarize a random variable.
What expected value means
A random variable is a numerical result produced by a random process. For example, let X be the number shown when a weighted six-sided die is rolled. The possible values of X are 1, 2, 3, 4, 5, and 6.
The expected value, written E(X), is the long-run average value of the random variable. It does not have to be one of the possible outcomes. For example, the expected value of a fair die is 3.5, even though no roll produces 3.5.
For a discrete random variable, use:
E(X) = x₁P(x₁) + x₂P(x₂) + ... + xₙP(xₙ)
Here, each outcome is multiplied by its probability. The results are then added. This is a weighted average because more likely outcomes have more influence on the result.
The probabilities in a complete distribution must add to 1.
| Outcome x | Probability P(X = x) | Contribution xP(X = x) |
|---|---|---|
| 1 | 0.10 | 0.10 |
| 2 | 0.20 | 0.40 |
| 3 | 0.30 | 0.90 |
| 4 | 0.40 | 1.60 |
The expected value is:
E(X) = 0.10 + 0.40 + 0.90 + 1.60 = 3
Although the outcomes range from 1 to 4, the long-run average is 3.
A worked calculation
Suppose X has the following distribution:
- P(X = 1) = 1/10
- P(X = 2) = 2/10
- P(X = 3) = 3/10
- P(X = 4) = 4/10
Then:
E(X) = 1(1/10) + 2(2/10) + 3(3/10) + 4(4/10)
E(X) = 1/10 + 4/10 + 9/10 + 16/10 = 30/10 = 3
You can verify the calculation with Python:
from fractions import Fraction
values = [1, 2, 3, 4]
probs = [Fraction(1, 10), Fraction(2, 10), Fraction(3, 10), Fraction(4, 10)]
mean = sum(v * p for v, p in zip(values, probs))
variance = sum((v - mean) ** 2 * p for v, p in zip(values, probs))
print(mean, variance) # 3 1The variance measures spread around the expected value. It is calculated by weighting each squared distance from the mean. Standard deviation is the square root of variance. For GRE normal-distribution questions, the expected value usually becomes the mean, while the standard deviation describes the spread around it.
GRE interpretation and common errors
Expected value describes repeated behavior, not a guaranteed result from one trial. If a game has an expected payoff of $4, one play does not necessarily produce $4. Over many plays, the average payoff may approach $4.
Common errors include:
- Forgetting to multiply an outcome by its probability.
- Treating percentages as whole numbers instead of decimals or fractions.
- Using the largest or most likely outcome as the expected value.
- Assuming the expected value must be a possible outcome.
- Failing to check that all probabilities add to 1.
Exercise
A random variable takes values 0, 10, and 20 with probabilities 0.2, 0.5, and 0.3. What is its expected value?
Show answer
E(X) = 0(0.2) + 10(0.5) + 20(0.3) = 0 + 5 + 6 = 11.