| Standard Deviation |
Article Index for Standard |
Website Links For Standard |
Information AboutStandard Deviation |
| CATEGORIES ABOUT STANDARD DEVIATION | |
| statistical deviation and dispersion | |
| summary statistics | |
| SHOPPER'S DELIGHT | |
|
The standard deviation is defined as the Square Root of the Variance . This means it is the Root Mean Square (RMS) deviation from the Average . The standard deviation is always a positive number (or zero) and is always measured in the same units as the original data. For example, if the data are distance measurements in meters, the standard deviation will also be measured in meters. A distinction is made between the standard deviation σ ( Sigma ) of a whole Population or of a Random Variable , and the standard deviation ''s'' of a subset-population Sample . The formulae are given below. The term standard deviation was introduced to statistics by Karl Pearson (''On the dissection of asymmetrical frequency curves'', 1894 ). DEFINITION AND CALCULATION Standard deviation of a random variable The standard deviation of a Random Variable ''X'' is defined as: : Not ''all'' random variables have a standard deviation, since these Expected Value s need not exist. For example, the standard deviation of a random variable which follows a Cauchy Distribution is undefined. If the random variable ''X'' takes on the values ''x''1,...,''x''''N'' (which are Real Number s) with equal probability, then its standard deviation can be computed as follows. First, the Mean of ''X'' is defined as: : (see Sigma Notation ). Next, the standard deviation simplifies to: : In other words, the standard deviation of a discrete uniform random variable ''X'' can be calculated as follows: # For each value calculate the difference between and the average value . # Calculate the squares of these differences. # Find the average of the squared differences. This quantity is the Variance . # Take the square root of the variance. Estimating standard deviation from a sample Given only a sample of values ''x''1,...,''x''''N'' from some larger population, many authors define the ''sample (or estimated) standard deviation'' by: : The reason for this definition is that ''s''2 is an Unbiased Estimator for the Variance σ2 of the underlying population. (The derivation of this equation assumes only that the samples are uncorrelated and makes no assumption as to their distribution.) However, ''s'' is ''not'' an unbiased estimator for the standard deviation σ; it tends to underestimate the population standard deviation. Although an unbiased estimator for "s" is known when the random variable is Normally Distributed , the formula is complicated and amounts to a minor correction. Moreover, unbiasedness, in this sense of the word, is not always desirable; see Bias (statistics) . Some have argued that even the difference between ''N'' and ''N'' − 1 in the denominator is overly complex and insignificant. Without that term, what is left is the simpler expression: : This form has the desirable property of being the Maximum-likelihood Estimate when the population (or the random variable ''X'') is normally distributed. EXAMPLE We will show how to calculate the standard deviation of a population. Our example will use the ages of four young children: { 5, 6, 8, 9 }. Step 1. Calculate the mean/average : : We have ''N'' = 4 because there are four data points: : : : : : Replacing ''N'' with 4 : : : This is the mean. Step 2. Calculate the standard deviation : : : Replacing ''N'' with 4 : Replacing with 7 : : : : : : This is the standard deviation. Were this set a sample drawn from a larger population of children, and the question at hand was the standard deviation of the population, convention would replace the ''N'' (or 4) here with ''N''−1 (or 3). INTERPRETATION AND APPLICATION A large standard deviation indicates that the data points are far from the mean and a small standard deviation indicates that they are clustered closely around the mean. For example, each of the three data sets (0, 0, 14, 14), (0, 6, 8, 14), and (6, 6, 8, 8) has a mean of 7. Their standard deviations are 7, 5 and 1, respectively. The third set has a much smaller standard deviation than the other two because its values are all close to 7. In a loose sense, the standard deviation tells us how far from the mean the data points tend to be. It will have the same units as the data points themselves. If, for instance, the data set (0, 6, 8, 14) represents the ages of four siblings, can you count a "sibling" who isn't born yet? the standard deviation is 5 ''years''. The data set (1000, 1006, 1008, 1014) may represent the distances travelled by four athletes in 2 minutes, measured in meters. It has a mean of 1007 metres, and a standard deviation of 5 ''metres''. In the age example, a standard deviation of 5 may be considered large; in the distance example, 5 may be considered small. Standard deviation may serve as a measure of uncertainty. In physical science for example, the reported standard deviation of a group of repeated . Geometric interpretation To gain some geometric insights, we will start with a population of three values, ''x''1, ''x''2, ''x''3. This defines a point ''P'' = (''x''1, ''x''2, ''x''3) in R3. Consider the line ''L'' = {(''r'', ''r'', ''r'') : ''r'' in R}. This is the "main diagonal" going through the origin. If our three given values were all equal, then the standard deviation would be zero and ''P'' would lie on ''L''. So it is not unreasonable to assume that the standard deviation is related to the ''distance'' of ''P'' to ''L''. And that is indeed the case. Moving orthogonally from ''P'' to the line ''L'', one hits the point: : whose coordinates are the mean of the values we started out with. A little algebra shows that the distance between ''P'' and ''R'' (which is the same as the distance between ''P'' and the line ''L'') is given by σ√''3''. An analogous formula (with 3 replaced by ''N'') is also valid for a population of ''N'' values; we then have to work in R''N''. Rules for normally distributed data , this accounts for 68.26% of the set. For the normal distribution, two standard deviations from the mean (blue and brown) account for 95.46%. For the normal distribution, three standard deviations (blue, brown and green) account for 99.73%.]] In practice, one often assumes that the data are from an approximately Normally Distributed population. If that assumption is justified, then about 68.26% of the values are at within 1 standard deviation away from the mean, about 95.46% of the values are within two standard deviations and about 99.73% lie within 3 standard deviations. This is known as the "68-95-99.7 rule". As a word of caution, typically this assumption becomes less accurate in the tails. For normal distributions, the two points of the curve which are one standard deviation from the mean are also the Inflection Points . If the distribution is unknown, one can use Chebyshev's Inequality to approximate the probability to be away from the mean. RELATIONSHIP BETWEEN STANDARD DEVIATION AND MEAN The mean and the standard deviation of a set of data are usually reported together. In a certain sense, the standard deviation is a "natural" measure of Statistical Dispersion if the center of the data is measured about the mean. This is because the standard deviation from the mean is smaller than from any other point. The precise statement is the following: suppose ''x''1, ..., ''x''''n'' are real numbers and define the function: : Using Calculus , it is possible to show that σ(''r'') has a unique minimum at the mean: : (this can also be done with fairly simple algebra alone, since, as a function of ''r'', it is a quadratic polynomial). The Coefficient Of Variation of a sample is the ratio of the standard deviation to the mean. It is a Dimensionless Number that can be used to compare the amount of variance between populations with different means. Chebyshev's Inequality proves that in any data set, nearly all of the values will be nearer to the mean value, where the meaning of "close to" is specified by the standard deviation. RAPID CALCULATION METHODS A slightly faster (significantly for running standard deviation) way to compute the population standard deviation is given by the following formula (though this can exacerbate Round-off Error ): : |