You are here: Project Scarlet » Sample Statistics » Sample Variance
Sample Statistics
The variance is a measure of the variability in the data. The standard deviation is also a measure of how spread out the data are. The main advantage of the variance over the standard deviation is that variances do not involve a square root, which means variances can be easily added — standard deviations cannot.
Because the variance uses the mean in its calculations, it would only make sense to use it if the mean should also have been used. Thus, data that are highly skewed should not use the variance to represent variability. To illustrate calculating the variance, assume that you collected the following 7 data values:
10, 35, 19, 19, 81, 51, 25
Calculate the variance of this sample, s².
In the box below, please enter the sample variance of the data given above, then click on the “Check your answer!” button. Please round your answer to the ten-thousandths place.
Show Formula
Show Solution
Show the R Code
Show the Excel Code
© Ole J. Forsberg, Ph.D. 2024. All rights reserved. | . | |