Standard deviation
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. It is defined this way in order to give us a measure of dispersion that is (1) a non-negative number, and (2) has the same units as the data.
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).
Interpretation and application
The standard deviation is a measure of the degree of dispersion of the data from the mean value. Stated another way, the standard deviation is simply the "average" or "expected" variation around an average (i.e., square all individual deviations around the average, add these up, divide by 'N', then take the square root. You then have the 'root' of the mean squared deviation [RMS]: in a very simple sense the "average" or expected variation around the average).
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, the three samples (0, 0, 14, 14), (0, 6, 8, 14), and (6, 6, 8, 8) each have an average 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.
Standard deviation may be thought of as a measure of uncertainty. In physical science for example, the standard deviation of a group of repeated measurements gives the precision of those measurements. When deciding whether measurements agree with a theoretical prediction, the standard deviation of those measurements is of crucial importance: if the mean of the measurements is too far away from the prediction (with the distance measured in standard deviations), then we consider the measurements as contradicting the prediction. This makes sense since they fall outside the range of values that could reasonably be expected to occur if the prediction were correct. See prediction interval.
Definition and shortcut calculation of standard deviation
Suppose we are given a population x1, ..., xN of values (which are real numbers). The arithmetic mean of this population is defined as
.
.
.
Given only a sample of values x1,...,xn from some larger population, many authors define the sample standard deviation by
Examples
Here is shown how to calculate the standard deviations of a set of data. The set of data is the ages of the members of a group of young children. { 5, 6, 8, 9 }
Step 1. Calculate the mean/average
.
.

Replacing N with 4

This is the mean.


Replacing N with 4
Replacing
with 7




This is the standard deviation.
Rules for normally distributed data
, this accounts for 68% of the set. For the normal distribution, two standard deviations from the mean (blue and brown) account for 95%. For the normal distribution, three standard deviations (blue, brown and green) account for 99.7%.
In practice, one often assumes that the data are from an approximately normally distributed population. If that assumption is justified, then about 68% of the values are at within 1 standard deviation away from the mean, about 95% of the values are within two standard deviations and about 99.7% lie within 3 standard deviations. This is known as the "68-95-99.7 rule".
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 the "natural" measure of statistical dispersion if the center of the data is measured by the mean. The precise statement is the following: suppose x1, ..., xn are real numbers and define the function
The coefficient of variation of a sample is the ratio of the standard devation to the mean. It is a dimensionless number that can be used to compare the amount of variance between populations with different means.
Geometric interpretation
To gain some geometric insights, we will start with a population of three values, x1, x2, x3. This defines a point P = (x1, x2, x3) 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
Related articles
- Variance
- Chebyshev's inequality
- Saturation (color theory)
- Root mean square
- Mean
- Skewness
- Kurtosis
- Raw score
- Standard score
- Algorithms for calculating variance
- An inequality on location and scale parameters
External links






