Expected value & dispersion
Expected value of a random variable
In other words, is the arithmetic mean (average) of the values of weighted by their respective probabilities, providing a sense of the “typical” value of .
Properties of the expected value function for random variables and are arbitrary fixed constants and include:
- (if and are independent)
Note that in statistics, mathematicians distinguish between the population mean (, the mean of the entire target population) and the sample mean (, the mean of just a sample of the target population).
Median
Another measure of the “typical” value of random variables is the median, which is the middle value when data are ordered:
- For discrete random variable :
- For odd : median = value at position
- For even : median = average of values at positions and
- For continuous random variable with, the median is the value such that
The main advantages of considering the median rather than the expected value (mean) of a distribution is that the median is resistant to outliers and is better representative of typical values for skewed distributions. For example, demographers and economists frequently report the median household income in a society, rather than the mean household income, which may be skewed by a small number of very wealthy families.
Mode
The mode is the most frequently occurring value. A distribution may be unimodal (a single mode), bimodal (two modal values), or multimodal (several modal values).
Dispersion, range, variance & standard deviation
Measures of dispersion describe the spread or variability of data. The three most common are:
- Range
- Variance
- Standard deviation
The range of a data set or a probability distribution is the distance between the lowest value and the highest value:
The range is a simple measure of dispersion, but it is highly sensitive to outliers.
In contrast, the variance and standard deviation of a random variable provide more nuanced measures of how spread out the various values of $X are:
In other words, the variance is the expected value of the square difference between the random variable and the expected value of .
Properties of variance function for random variables and are arbitrary fixed constants and include:
- (if and are independent)
Note that in statistics, mathematicians distinguish between the population variance (), the variance of the entire target population,
and the sample variance (), the variance of just a sample of the target population,
Note: We divide by (not ) to get an unbiased estimator.
Standard deviation
The standard deviation thus represents the “typical” (root mean square) distance of random variable from its mean. The standard deviation has the same units as the original data, making it more interpretable than variance.