How is the expected value of a discrete random variable calculated?
In probability theory, the expected value of a discrete random variable is the weighted average of all possible values that the variable can assume.1
It is calculated by summing the product of each possible value of the random variable and its corresponding probability. The formula is defined as:23
In this formula:
* represents the expected value, also known as the mean of the distribution.21
* represents each individual outcome or value of the random variable.3
* represents the probability mass function, which provides the probability of obtaining the value .21
For this calculation to be valid, the sum of all probabilities must equal 1. The expected value serves as a measure of the location of the bulk of the probability distribution and represents the average outcome expected over many repeated trials of an experiment.312