Practice
Discrete random variables: mean and standard deviation
Fill in a missing probability, then find the expected value and the standard deviation.
The skill
The mean of a discrete random variable, its expected value, is a weighted average: multiply each value of by its probability and add the products. For the standard deviation, square each value's distance from the mean, weight it by its probability, add, and take the square root. Check first that the probabilities add to 1. The usual mistake is averaging the listed values as if they were equally likely, which ignores the probabilities entirely.
How to work these problems
- Check that the probabilities add to 1. If one probability is missing, subtract the others from 1 to find it; it must be between 0 and 1.
- For the mean, multiply each value of by its probability and add the products: .
- For the standard deviation, find first. Then compute for each value, add them to get the variance, and take the square root.
- Round as the problem asks and keep the units of the variable, such as pets, goals or cars.
Common mistakes
- Averaging the listed values as if they were equally likely, which ignores the probabilities.
- Stopping at the variance and forgetting the square root, so the answer is in squared units.
- Dividing by the number of values or by . A probability distribution already supplies the weights, so no division is needed.
- Squaring the probabilities instead of the distances from the mean.
Check your work
- The mean must lie between the smallest and largest values of , and it is pulled toward the values with larger probabilities.
- The standard deviation is positive and smaller than the range of the values. If it is larger than the range, something went wrong. The probabilities must still add to 1.
A worked example
Let X be the number of cars at a randomly chosen drive-through window at noon. Its probability distribution is:
| X | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| P(X) | 0.07 | 0.28 | 0.26 | 0.16 | 0.23 |
Find the mean (expected value) of X. Round to two decimal places.
Solution
- Multiply each value by its probability and add: 1(0.07) + 2(0.28) + 3(0.26) + 4(0.16) + 5(0.23).
- .
Answer: 3.2