In statistics, in a population of samples, the mean of the squares of the differences between the respective samples and their mean, expressed mathematically as:

where n is the number of samples, x_{i} is the value of sample i, is the mean of the samples, and ^{2} is the variance. Note: The square root of the variance, , is the standard deviation.