DoAssignment.ca
1.9 · Use standard deviation to describe and compare data
Learn to use standard deviation to describe and compare data through clear examples and targeted practice.
Athabasca University MATH 215: Introduction to Statistics
Descriptive Statistics
A practical guide to understanding how much numerical data vary
A data set’s average gives a sense of its centre, but it does not tell us whether the values lie close together or are widely spread out. Standard deviation is a measure of spread: it describes the typical distance of data values from their mean. In this lesson, you will learn how to calculate standard deviation for a sample and use it to describe and compare data in context.
What you will learn
- Explain what standard deviation tells us about a set of numerical data.
- Distinguish a population standard deviation from a sample standard deviation.
- Calculate a sample standard deviation by hand.
- Compare the spread of two data sets using standard deviation and context.
1. What standard deviation describes
A numerical variable is a characteristic recorded as a number, such as a person’s commute time in minutes or the number of items sold in a day. A data set is the collection of recorded values. The mean, often called the average, is found by adding the values and dividing by how many values there are. It gives a measure of the data’s centre.
The standard deviation describes how spread out the values are around the mean. A small standard deviation means values tend to be close to the mean. A large standard deviation means values tend to be farther from the mean. Standard deviation is measured in the same units as the original data, which helps make its meaning understandable in context.
The population is the full group we want to describe. A population parameter is a numerical summary of that full group. A sample is a smaller group of observations collected from a population, and a statistic is a numerical summary calculated from that sample. We use different standard-deviation formulas depending on whether we have the entire population or a sample.
- Standard deviation describes spread around the mean.
- A standard deviation is zero only when every value is the same.
- The standard deviation uses the original data’s units.
2. Conditions and the sample formula
Before calculating a standard deviation, check that the observations are numerical measurements or counts for which differences make sense. Each observation should refer to the same variable and use the same units. For example, it makes sense to find a standard deviation for commute times all measured in minutes. It would not make sense to mix minutes and kilometres as though they were measurements of the same variable.
The sample standard deviation is used when the data are a sample and we want to describe their spread or use them to learn about a larger group. In its formula, means the value of observation number , is the sample mean, and is the number of observations. The symbol means to add the indicated quantities for all observations. The denominator is , not , for the sample standard deviation.
Here is the algebra behind the calculation. First find each value’s difference from the mean. Square each difference so that negative and positive differences do not cancel. Add the squared differences, divide by one less than the sample size, and take the square root. The square root reverses the squaring and returns the result to the data’s original units. You can use a calculator for arithmetic, but the steps show what the result summarizes.
If the data include every member of the population of interest, use the population formula instead. Its denominator is the population size, often written as . These two formulas answer different questions: one summarizes a sample, and the other summarizes a complete population.
- Use the sample formula for a sample and the population formula for a complete population.
- Squared deviations prevent positive and negative differences from cancelling.
- The square root restores the original measurement units.
3. Interpreting and comparing standard deviations
A calculated standard deviation is most useful when stated in context. For example, a standard deviation of about minutes indicates that observations typically differ from their mean by a few minutes. This is a description of spread, not a claim that every observation is exactly that distance from the mean.
To compare two standard deviations, first confirm that both describe the same kind of variable in the same units. Then compare their sizes alongside the data’s centres and the setting. If the standard deviations are different, the larger one indicates more spread around its own data set’s mean. A comparison is particularly clear when the means are similar, but the standard deviations still describe spread even when the means differ.
Standard deviation can be affected by unusually high or low values because it uses squared distances from the mean. A single value far from the rest can increase the standard deviation. Therefore, do not interpret the number without considering the values and their context. Also, a larger standard deviation does not mean a larger average; centre and spread are different features of data.
- Compare standard deviations only when the variables and units are meaningfully comparable.
- A larger standard deviation indicates greater spread around the mean.
- Consider unusual values and the data’s context when interpreting spread.
Worked example
Comparing the spread of two sets of times
Two small samples record how many minutes students spend travelling to campus. Sample A has values 4, 6, 8, 10, and 12 minutes. Sample B has values 6, 7, 8, 9, and 10 minutes. Calculate each sample standard deviation and compare the spreads.
- Check the data and identify the summariesBoth samples measure the same numerical variable, travel time, in minutes. There are five observations in each sample. The samples are not described as the full population of students, so use the sample standard deviation formula. We will calculate a separate mean and standard deviation for each sample.
- Find each sample meanAdd the five observations in each sample and divide by five. Both samples have the same mean, which makes their spreads especially easy to compare.
- Calculate Sample A’s squared deviationsSubtract the mean of from each Sample A value, square each difference, and add the results. For instance, the first deviation is , and its square is . The squared deviations add to .
- Calculate Sample A’s standard deviationDivide the sum of squared deviations by , then take the square root. Keep the unrounded value for the next interpretation; round the final reported standard deviation to two decimal places.
- Calculate Sample B’s standard deviationFor Sample B, the deviations from are . Their squares add to . Divide by and take the square root, following the same sample formula.
- Compare in contextRounded to two decimal places, Sample A’s standard deviation is minutes and Sample B’s is minutes. Both means are minutes, but Sample A has the larger standard deviation. Its travel times are more spread out around the mean than Sample B’s. The results describe these samples; they do not say that every student’s travel time differs from the mean by exactly the standard deviation.
Answer: Sample A’s standard deviation is 3.16 minutes; Sample B’s is 1.58 minutes. Sample A has greater spread around the shared mean of 8 minutes.
Check: Each mean is 8 minutes, and Sample A includes values farther from 8 than Sample B does. The larger standard deviation for Sample A is consistent with that pattern.
Common mistakes and how to avoid them
Dividing by the sample size when calculating a sample standard deviation.
Correction: For a sample standard deviation, divide the sum of squared deviations by . Use in the population formula only when the data include the entire population of interest.
Treating standard deviation as the distance of every observation from the mean.
Correction: Standard deviation summarizes the overall spread. Individual observations can be closer to or farther from the mean.
Saying that the group with the larger standard deviation has the larger average.
Correction: The mean describes centre, while standard deviation describes spread. Compare each measure for the feature it represents.
Comparing standard deviations for variables with different units as if their sizes had a direct meaning.
Correction: Check that the variables and units are comparable before using the numerical sizes to compare spread.
Lesson summary
- Standard deviation describes how spread out numerical values are around their mean.
- For a sample, calculate deviations from the sample mean, square and add them, divide by , and take the square root.
- Interpret a standard deviation in the original data units and in the context of the observations.
- When comparing data sets, keep spread distinct from centre and check that the variables and units are comparable.
Check your understanding
Question 1
Two samples measure the same variable in the same units. Sample X has standard deviation 2.4, and Sample Y has standard deviation 5.1. Which statement is best?
- Sample Y has greater spread around its mean.
- Sample Y must have a greater mean.
- Every value in Sample Y is 5.1 units from its mean.
- Sample X has greater spread because its standard deviation is smaller.
Show answer and explanation
Sample Y has greater spread around its mean.
A larger standard deviation indicates more spread around the data set’s mean. It does not determine which mean is larger, nor does it give the distance of every observation from the mean.
Question 2
A sample has four observations. What number belongs in the denominator when calculating its sample standard deviation?
- 2
- 3
- 4
- 5
Show answer and explanation
3
The sample formula divides by . With four observations, the denominator is .
Key terms
- Data set
- A collection of recorded observations.
- Mean
- The sum of the data values divided by the number of values.
- Spread
- How much the values in a data set vary or differ from one another and from their centre.
- Standard deviation
- A measure of the spread of numerical data around the mean, expressed in the original data units.
- Population
- The full group of people or items that a study aims to describe.
- Sample
- A subset of a population from which observations are collected.
- Parameter
- A numerical summary describing a population.
- Statistic
- A numerical summary calculated from a sample.
Continue through MATH 215
View the complete Athabasca University MATH 215: Introduction to Statistics learning path
- 1.1 · Use basic statistical terms and notation
- 1.2 · Classify variables and types of data
- 1.3 · Distinguish populations, samples, experiments, and summation notation
- 1.4 · Organize and graph qualitative data
- 1.5 · Organize and graph quantitative data
- 1.6 · Calculate and interpret measures of centre for ungrouped data
About this lesson
Published by DoAssignment. This AI-assisted lesson follows Athabasca University MATH 215: Introduction to Statistics, study topic 1.9. It is a study resource, not an official curriculum publication.