The expected value is the long-run average of a random variable. You get it by weighting each possible value by its probability and adding the results; for a continuous variable the sum becomes an integral.
| Step | On with probabilities | |
|---|---|---|
| 1 | List every value with its probability. Use a table, the pmf formula, or the density and its support. | : ; : |
| 2 | Check that the probabilities add to 1. A missing value or a typo shows up here (normalization). For a density, check that it integrates to . | ✓ |
| 3 | Multiply each value by its probability and add. For a density, integrate over the support instead. | |
| 4 | Check that the answer is plausible. The mean lies between the smallest and largest value, closer to the values with more weight. It need not be a possible value. | , between and ✓ |