Expected values
A finite expectation is the sum of each value multiplied by its probability.
On this page 7 sections
01An expected value is a probability-weighted average#
An expected value is a probability-weighted average. Multiply each possible value by how likely it is, then add those contributions.
Let be with probability and with probability . Their weighted contributions are and , giving .
PMF: , . Find .
Show answer and explanation
Weighted sum: + = .
02Negative values keep their signs#
Negative values keep their signs. A negative reward contributes a negative term; its probability stays nonnegative.
Equal probabilities justify averaging the distinct values equally. Otherwise, use the supplied weights.
A model assigns numerical rewards , , with respective probabilities 0.7, 0.3. Find the expected reward .
Show answer and explanation
Weighted sum: + = .
03The mean describes the probability model, not a guaranteed observation#
The mean describes the probability model, not a guaranteed observation. In the example, only or can occur even though the mean is .
Keep the weighted result. Rounding it to a possible outcome changes the expected value.
PMF: , . A learner rounds the mean to a possible outcome. Find the unrounded .
Show answer and explanation
Weighted sum: + = . Keep this mean.
Multiply by probabilities, preserve signs, and keep the weighted mean even when it cannot occur.
- Compute a finite random variable's expectation.
Sources & further reading
- [1]Pishro-Nik, Introduction to Probability: Expectation ↗Pishro-Nik: Introduction to Probability · Article