expected value, mean value
Let be a discrete rv with a set of possible values and pmf . The expected value or mean value of , denoted is:
If you've used a weighted average, then this is what that is.
For example, given the following Probability Distribution, PMF:

Then the mean value of , is:
Often is NOT a value of , so we don't round it. It's just the center-of-mass for certain distribution of probabilities.
Expected Value of a Function
Often we are interested in the expected value of some function rather than itself. We can compute this by just:
- Getting our pmf in terms of
- Calculate each for all
- Say for each corresponds to the old used to calculate .

For instance for (see the table above)
- implies
- Thus
Law of the Unconscious Statistician
If the rv has a set of possible values and pmf , then the expected value of any function denoted or is computed by:
For any linear function
Proof
Since is a linear function and is as well, then because they are linear maps gives the result above.
☐