All courses › Statistics and Risk Analysis › Mean, median and standard deviation
Mean, median and standard deviation
The mean is the sum divided by the count, while the median is the middle value in sorted order, and is less sensitive to extreme values. The sample variance uses in the denominator, and the standard deviation is the square root of the variance — it has the same unit as the data.
mean
sample variance
sample standard deviation
Symbols
| mean of the sample | ||
| number of observations | ||
| sample standard deviation |
Example
Data: 2, 4, 4, 4, 5, 5, 7, 9. Sum , .
The median of the same data (sorted, 8 values) is the average of the two middle values: .
Use (not ) in the sample variance — it gives an unbiased estimate of the population variance.
Practise distributions for free →
← Poisson and exponential distribution · Hypothesis testing and p-value →