1. Home
  2. Explore
  3. Statistics
  4. Standard Deviation and Variability

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Standard Deviation and Variability

Standard Deviation as a Measure of Variability

What the standard deviation measures

The standard deviation describes how much scores vary around their mean. The mean acts as a baseline: each score’s deviation indicates how far it lies above or below that baseline. The standard deviation summarizes the spread of all the scores around the mean.

The standard deviation pairs naturally with the mean, just as the range is commonly paired with the mode and the interquartile range with the median. It uses every score in the dataset, providing a representative measure of variability.

A useful interpretation is:

The standard deviation indicates, in the original units of the data, how much scores typically differ from the mean.

A larger standard deviation indicates greater variability; a smaller standard deviation indicates that scores are more closely clustered around the mean. A standard deviation of zero means that every score equals the mean, so there is no variability.

Calculating the standard deviation involves more work than calculating the range or interquartile range, but it gives a richer summary of the data’s spread. Its calculation has three steps:

  1. Compute the sum of squares.

  2. Use the sum of squares to compute the variance.

  3. Take the square root of the variance to obtain the standard deviation.


Step 1: Compute the sum of squares

The sum of squares (abbreviated SSSSSS) is the sum of the squared deviations of scores from the mean. A deviation is the difference between a score and the mean.

For population data, the definitional formula is:

SS=∑(X−μ)2SS = \sum (X - \mu)^2SS=∑(X−μ)2

where:

  • XXX is an individual score.

  • μ\muμ is the population mean.

  • X−μX - \muX−μ is the score’s deviation from the population mean.

  • Squaring each deviation makes its contribution nonnegative.

  • The summation symbol means to add the squared deviations for all scores.

The formula is called definitional because it directly shows what is being calculated: add together the squared deviations from the mean.

Why deviations are squared

The deviations from a mean sum to zero. Scores above the mean have positive deviations, while scores below the mean have negative deviations. These positive and negative values cancel, so their sum cannot directly measure variability.

Squaring prevents the cancellation. It also ensures that each squared deviation is nonnegative. Therefore, the sum of squares can never be negative:

  • SS=0SS = 0SS=0 indicates no variability—all scores equal the mean.

  • A larger SSSSSS indicates more total squared deviation from the mean.

Definitional-formula example

Suppose the population consists of quiz scores 10,7,6,10,6,10, 7, 6, 10, 6,10,7,6,10,6, and 151515.

First, calculate the population mean:

μ=∑XN\mu = \frac{\sum X}{N}μ=N∑X​

The sum of the scores is:

∑X=10+7+6+10+6+15=54\sum X = 10 + 7 + 6 + 10 + 6 + 15 = 54∑X=10+7+6+10+6+15=54

There are N=6N = 6N=6 scores, so:

μ=546=9\mu = \frac{54}{6} = 9μ=654​=9

Next, subtract the mean from each score and square each deviation:

  • For 101010: 10−9=110 - 9 = 110−9=1, and 12=11^2 = 112=1.

  • For 777: 7−9=−27 - 9 = -27−9=−2, and (−2)2=4(-2)^2 = 4(−2)2=4.

  • For 666: 6−9=−36 - 9 = -36−9=−3, and (−3)2=9(-3)^2 = 9(−3)2=9.

  • For the second 101010: 10−9=110 - 9 = 110−9=1, and 12=11^2 = 112=1.

  • For the second 666: 6−9=−36 - 9 = -36−9=−3, and (−3)2=9(-3)^2 = 9(−3)2=9.

  • For 151515: 15−9=615 - 9 = 615−9=6, and 62=366^2 = 3662=36.

Before squaring, the deviations are 1,−2,−3,1,−3,1, -2, -3, 1, -3,1,−2,−3,1,−3, and 666. They sum to zero:

1+(−2)+(−3)+1+(−3)+6=01 + (-2) + (-3) + 1 + (-3) + 6 = 01+(−2)+(−3)+1+(−3)+6=0

This is a useful check: deviations from the mean should sum to zero, apart from possible rounding when the mean is not an exact value.

The squared deviations sum to:

SS=1+4+9+1+9+36=60SS = 1 + 4 + 9 + 1 + 9 + 36 = 60SS=1+4+9+1+9+36=60

Thus, the sum of squares for these scores is 606060.


An alternative: the computational formula

The sum of squares can also be found using the computational formula:

SS=∑X2−(∑X)2NSS = \sum X^2 - \frac{(\sum X)^2}{N}SS=∑X2−N(∑X)2​

This formula is mathematically equivalent to the definitional formula: both produce the same sum of squares. The computational formula is often convenient because it can reduce the amount of work required.

The formula requires two quantities:

  • ∑X2\sum X^2∑X2: square each score first, then add those squared scores.

  • (∑X)2(\sum X)^2(∑X)2: add the scores first, then square their total.

These operations are different, so the order matters. In particular, ∑X2\sum X^2∑X2 is not the same as (∑X)2(\sum X)^2(∑X)2.

Computational-formula example

Consider the population scores 5,3,2,4,5, 3, 2, 4,5,3,2,4, and 111. There are N=5N = 5N=5 scores.

First, find the sum of the scores:

∑X=5+3+2+4+1=15\sum X = 5 + 3 + 2 + 4 + 1 = 15∑X=5+3+2+4+1=15

Then square each score and add the squared values:

∑X2=52+32+22+42+12\sum X^2 = 5^2 + 3^2 + 2^2 + 4^2 + 1^2∑X2=52+32+22+42+12
∑X2=25+9+4+16+1=55\sum X^2 = 25 + 9 + 4 + 16 + 1 = 55∑X2=25+9+4+16+1=55

Square the total score:

(∑X)2=152=225(\sum X)^2 = 15^2 = 225(∑X)2=152=225

Substitute into the computational formula:

SS=55−2255SS = 55 - \frac{225}{5}SS=55−5225​
SS=55−45=10SS = 55 - 45 = 10SS=55−45=10

The sum of squares is 101010. The definitional and computational formulas are alternative ways to calculate this same quantity.


Step 2: Compute population variance

For population data, the population variance is the average of the squared deviations. Its symbol is σ2\sigma^2σ2:

σ2=SSN\sigma^2 = \frac{SS}{N}σ2=NSS​

where NNN is the number of scores in the population. Dividing by the number of scores turns the total of the squared deviations into their average.

Variance is an intermediate step in finding the standard deviation. It summarizes variability, but it is based on squared deviations rather than deviations in the original units.

Population variance for the first example

For the six scores 10,7,6,10,6,10, 7, 6, 10, 6,10,7,6,10,6, and 151515, the sum of squares is 606060, and N=6N = 6N=6:

σ2=606=10\sigma^2 = \frac{60}{6} = 10σ2=660​=10

The population variance is 101010.

Population variance for the second example

For the five scores 5,3,2,4,5, 3, 2, 4,5,3,2,4, and 111, the sum of squares is 101010, and N=5N = 5N=5:

σ2=105=2\sigma^2 = \frac{10}{5} = 2σ2=510​=2

The population variance is 222.


Step 3: Compute population standard deviation

The population standard deviation is denoted by σ\sigmaσ. It is the square root of the population variance:

σ=σ2\sigma = \sqrt{\sigma^2}σ=σ2​

Taking the square root reverses the squaring used in calculating the sum of squares. This returns the measure of variability to the original units of the data, making the standard deviation more directly interpretable than the variance.

Population standard deviation for the first example

The variance for the first example is 101010:

σ=10≈3.16\sigma = \sqrt{10} \approx 3.16σ=10​≈3.16

The population standard deviation is approximately 3.163.163.16. The scores differ from their mean of 999 by about 3.163.163.16 units, on average, in the standard-deviation sense.

Population standard deviation for the second example

The variance for the second example is 222:

σ=2≈1.41\sigma = \sqrt{2} \approx 1.41σ=2​≈1.41

The population standard deviation is approximately 1.411.411.41. The scores differ from their mean by about 1.411.411.41 units, on average, in the standard-deviation sense.


Population formulas and notation

When a dataset represents an entire population, the mean is denoted by μ\muμ, the population variance by σ2\sigma^2σ2, and the population standard deviation by σ\sigmaσ.

The full calculation can be summarized as:

  1. Find the population mean, μ\muμ.

  2. Calculate the sum of squares, using either formula:

    SS=∑(X−μ)2SS = \sum (X - \mu)^2SS=∑(X−μ)2

    or

    SS=∑X2−(∑X)2NSS = \sum X^2 - \frac{(\sum X)^2}{N}SS=∑X2−N(∑X)2​
  3. Calculate the population variance:

    σ2=SSN\sigma^2 = \frac{SS}{N}σ2=NSS​
  4. Calculate the population standard deviation:

    σ=σ2\sigma = \sqrt{\sigma^2}σ=σ2​

Most of the calculation is usually in finding SSSSSS. Once the sum of squares is known, the variance and standard deviation follow directly.


Using the standard deviation with the mean

Because standard deviation measures spread around the mean, the two statistics are typically reported together. The mean describes the center of the data, while the standard deviation describes how much the scores vary around that center.

The standard deviation is a common default measure of variability because it uses all scores in the dataset and is expressed in the same units as the scores. A standard deviation of 333 points, for example, is interpretable in terms of the original score scale, whereas a variance of 999 points squared is less direct to interpret.


Distinguishing population calculations from sample calculations

The formulas above calculate variability for population data—data treated as covering the entire population of interest. The distinction between a population and a sample matters because the notation and formulas used for later calculations differ.

For sample data:

  • The sample mean is denoted by Xˉ\bar{X}Xˉ rather than the population mean μ\muμ.

  • Sample variance is denoted by s2s^2s2 rather than population variance σ2\sigma^2σ2.

  • Sample standard deviation is denoted by sss rather than population standard deviation σ\sigmaσ.

The core idea remains the same: measure deviations from a mean, summarize their squared values, and take a square root to express spread in the original units. The population formulas and notation described here apply specifically when the data represent an entire population.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent