3.6 The Standard Deviation
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:
(3.4)
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
(3.5)
Here σ is expressed in the original units of X.
If we have a sample of observations on X or X: X1, X2, . . . , Xn, then ...
Get Statistical Inference: A Short Course now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.