AP® Statistics · Unit 2 · Topic 2.9
Mean of a Random Variable
The mean of a random variable, also called its expected value, is the probability-weighted average of all its possible outcomes: multiply each value by its probability and add them up.
A fair die shows 1 through 6, each with probability 1/6. Multiply each value by its probability and add: 1(1/6)+2(1/6)+...+6(1/6) = 3.5. No roll ever lands on 3.5, but that's fine, because expected value isn't a prediction for one trial. It's the long-run average if you rolled the die thousands of times and kept a running tally.
Picture the probability histogram: each outcome is a bar, its height the probability. The expected value E(X) is the balance point of that histogram, the spot where it would balance on a fingertip if the bars were weights sitting on a seesaw. Values with more probability mass pull the balance point toward themselves, just like heavier weights pull a seesaw down on their side. That's why E(X) = sum of x times P(x): it's a weighted average, weighted by how likely each outcome is.
This idea is the foundation for everything that follows in the unit. The binomial distribution's mean, np, is just this formula applied to a specific counting situation. Later, when random variables get added or combined, rules for means build directly on this one: the mean of a sum is the sum of the means. Get comfortable with E(X) as a weighted average now, and those rules will feel like natural extensions instead of new things to memorize.
Key terms
- Random variable
- A variable whose value is a numerical outcome of a chance process.
- Expected value
- The probability-weighted average of all possible values of a random variable, written E(X).
- Probability histogram
- A bar graph showing each outcome of a random variable and the height of its probability.
- Weighted average
- An average where each value counts in proportion to its probability or importance, not equally.
Watch it explained
- How it worksWalk me through expected value as the balance point of a probability histogram.
- Worked exampleFind the expected value of a 2 dollar ticket that pays 500 dollars with probability 0.001.
- Common mistakeWhy isn't the expected value the outcome you should actually expect to see?
- Going furtherWhat happens to the expected value when every payout gets doubled?
Check yourself
End of topic.