We previously denoted the ith deviation from the (sample) mean as . Since the sum of all the deviations from the mean is zero, it is evident that one way to circumvent the issue of the sign of the difference is to square it. Then all of these squared deviations from the mean are nonnegative.
Suppose we have a population of X values or X: X1, X2, . . . , XN. Then we can define the variance of X as follows:
that is, the populationvariance of X is the average of the squared deviations from the mean of X or from μ. Since the variance of any variable is expressed in terms of (units of X)2 (e.g., if X is measured in “inches,” then is expressed in terms of “inches2”), a more convenient way of assessing variability about μ is to work with the standard deviation of X, which is defined as the positive square root of the variance of X or
Here σ is expressed in the original units of X.
If we have a sample of observations on X or X: X1, X2, . . . , Xn, then ...