Mean
xˉ=631=5.1667 Population variance
σ2=630.8333=5.1389 Sample variance
s2=530.8333=6.1667 Standard deviations
σ=2.2669,s=2.4833 Count and sum of squares
n=6,∑(x−xˉ)2=30.8333 How it was found
Mean. Add the 6 numbers and divide by 6: xˉ=631=5.1667.
Deviations. Subtract the mean from each number and square the result: (2−5.1667)2=10.0278, (4−5.1667)2=1.3611, (4−5.1667)2=1.3611, (5−5.1667)2=0.0278, (7−5.1667)2=3.3611, (9−5.1667)2=14.6944.
Sum of squares. Add them: 30.8333.
Population variance. If the numbers are the whole population, divide by n=6: σ2=5.1389.
Sample variance. If they are a sample from a larger population, divide by n−1=5: s2=6.1667. Dividing by one less corrects for measuring the spread around the sample's own mean.
Standard deviation is the square root of the variance, back in the units of the data: σ=2.2669, s=2.4833.