Expected value
By Jude Wallis · Updated
The expected value of a random variable is its long-run average, found by multiplying each value by its probability and adding the products.
The expected value of a random variable is written (E of X) or (mu sub X), and it is the probability-weighted average of the possible values:
Each value is multiplied by its own probability rather than counted once, and that weighting is the whole difference between an expected value and an ordinary average.
Let be the number of cars a household owns, with , , and . Then cars.
That 1.3 carries two lessons. First, an expected value need not be a value the variable can actually take: no household owns 1.3 cars. It describes the average over many households, not a prediction about the next one. Second, it is not the most likely outcome either. Owning 1 car is the most probable single result here, and most likely and average are separate questions. The mode answers the first, the expected value answers the second.
The other frequent slip is dropping the weights entirely. The plain average of 0, 1, 2 and 3 is 1.5, and that would be correct only if all four outcomes were equally likely. They are not. Weight only moves the average through the value it sits on, so the 0.2 parked on 0 contributes nothing at all: . The pull comes from the top of the table, where 3 carries only 0.1 of the weight instead of the 0.25 a flat average assumes, and that is what brings the expected value down to 1.3.
Some distributions come with a shortcut. A binomial variable with trials and success probability has directly, so 10 free throws shot at give an expected 3 makes without summing eleven separate terms. The law of large numbers is what makes any of this useful in practice: as the number of repetitions grows, the observed sample mean converges on . That also fixes the relationship worth keeping straight. is a parameter of the probability distribution, a fixed number you calculate; a sample mean is a statistic that varies from one batch of data to the next and settles toward it.
The sum here is the discrete version. For a continuous variable the same weighted-balance idea becomes an integral of against the density instead of a sum, which is the calculus notion of the average value of a function.
The same weighted sum, with dollar payoffs, is how expected value is calculated in economics: how to calculate expected value.
Where this comes up
- Can expected value be impossible? Yes, and often isGuide
- Expected value vs sample mean: parameter vs dataComparison
- How to find expected value (step by step)Guide
- Is expected value the same as the mean?Guide
- Expected value and random variable practice problemsPractice
- AP Stats 2.9: Mean & SD of Random VariablesAP topic
- How to find binomial probability (formula, examples)Guide
- How to find the weighted mean (with GPA example)Guide
12 pages on the site use this term.
More random variables and distributions terms, or browse the full statistics glossary.