Standard Deviation

EXPLORE THIS TOPIC IN the MathWorld Classroom

The standard deviation sigma of a probability distribution is defined as the square root of the variance sigma^2,

sigma=sqrt(<x^2>-<x>^2)
(1)
=sqrt(mu_2^'-mu^2),
(2)

where mu=x^_=<x> is the mean, mu_2^'=<x^2> is the second raw moment, and <x> denotes the expectation value of x. The variance sigma^2 is therefore equal to the second central moment (i.e., moment about the mean),

 sigma^2=mu_2.
(3)

The square root of the sample variance of a set of N values is the sample standard deviation

 s_N=sqrt(1/Nsum_(i=1)^N(x_i-x^_)^2).
(4)

The sample standard deviation distribution is a slightly complicated, though well-studied and well-understood, function.

However, consistent with widespread inconsistent and ambiguous terminology, the square root of the bias-corrected variance is sometimes also known as the standard deviation,

 s_(N-1)=sqrt(1/(N-1)sum_(i=1)^N(x_i-x^_)^2).
(5)

The standard deviation s_(N-1) of a list of data is implemented as StandardDeviation[list].

Physical scientists often use the term root-mean-square as a synonym for standard deviation when they refer to the square root of the mean squared deviation of a quantity from a given baseline.

The standard deviation arises naturally in mathematical statistics through its definition in terms of the second central moment. However, a more natural but much less frequently encountered measure of average deviation from the mean that is used in descriptive statistics is the so-called mean deviation.

Standard deviation can be defined for any distribution with finite first two moments, but it is most common to assume that the underlying distribution is normal. Under this assumption, the variate value producing a confidence interval CI is often denoted x_(CI), and

 x_(CI)=sqrt(2)erf^(-1)(CI).
(6)

The following table lists the confidence intervals corresponding to the first few multiples of the standard deviation (again assuming the data is normally distributed).

rangeCI
sigma0.6826895
2sigma0.9544997
3sigma0.9973002
4sigma0.9999366
5sigma0.9999994

To find the standard deviation range corresponding to a given confidence interval, solve (5) for n, giving

 n=sqrt(2)erf^(-1)(CI).
(7)
CIrange
0.800+/-1.28155sigma
0.900+/-1.64485sigma
0.950+/-1.95996sigma
0.990+/-2.57583sigma
0.995+/-2.80703sigma
0.999+/-3.29053sigma

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.