Sum of squares
The sum of squares is the total of the squared deviations from the mean, and it is the numerator of the variance formula.
The sum of squares adds up how far every value falls from the mean after squaring each gap, so positive and negative deviations can no longer cancel. You compute , where (x-bar) is the mean. For the data 2, 4, 6, 8 the mean is 5, the squared deviations are 9, 1, 1, and 9, and the sum of squares is 20. Dividing that 20 by gives the sample variance , and its square root is the sample standard deviation.
Where this comes up
More describing data terms, or browse the full statistics glossary.