E(X) of DRVs
What does E(X) mean and how do I calculate E(X)?
- means the expected value or the mean of a random variable
- The expected value does not need to be an obtainable value of
- For example: the expected value number of times a coin will land on tails when flipped 5 times is 2.5
- For a discrete random variable, it is calculated by:
- Multiplying each value of with its corresponding probability
- Adding all these terms together
- Look out for symmetrical distributions (where the values of are symmetrical and their probabilities are symmetrical)
- The mean of these is the same as the median
- For example: if can take the values 1, 5, 9 with probabilities 0.3, 0.4, 0.3 respectively then by symmetry the mean is 5
Worked example
Daphne pays $15 to play a game where she wins a prize of $1, $5, $10 or $100. The random variable represents the amount she wins and has the probability distribution shown in the following table:
1 | 5 | 10 | 100 | |
0.35 | 0.5 | 0.05 | 0.1 |
Calculate the expected value of Daphne's prize.