mathleaks.com mathleaks.com Start chapters home Start History history History expand_more Community
Community expand_more
{{ filterOption.label }}
{{ item.displayTitle }}
{{ item.subject.displayTitle }}
arrow_forward
{{ searchError }}
search
{{ courseTrack.displayTitle }}
{{ printedBook.courseTrack.name }} {{ printedBook.name }}

Data values can be distributed in many different ways — they can, for instance, be centered around the mean, or be spread far from it. Using measures of spread, the spread of a data set can be quantified by a value, where a larger one implies a bigger spread. However, there is no one measure of spread that is best in all scenarios.

### Concept

A measure of spread is a way of quantifying how spread out, or different, the points in a data set are. A small spread means data points are similar, while a large spread means they are different. This is illustrated by the two data sets below. Both have a mean, median and mode of but, we can assume the second data set has a larger spread because of how different its data points are.

Some commonly used measures of spread are range, mean absolute deviation, standard deviation, and interquartile range. These are often used together with a measure of center, to give an idea both of what a typical value is and how much the data can be expected to deviate from it.

## Range

One way to measure the spread of a data set is to find its range. This is done by calculating the difference between the maximum and minimum value of the data set.

## Standard Deviation

Standard deviation is a commonly used measure of spread. It is a measure of how much a randomly selected value from a data set is expected to differ from the mean. To denote the standard deviation, the Greek letter is used, which is read as "sigma."

## Finding the Standard Deviation of a Data Set

The standard deviation, of a data set is calculated using the rule where is the number of values in the data set and is the mean of the set. Performing this calculation in one step makes for a convoluted expression. Therefore, it is best divided into a few, smaller steps. Consider the following data set as an example.

### 1

Find the mean,

First, the mean, should be calculated. The example data set has values, so the denominator is

### 2

Find the deviation of each data value,

For each data value, can now be calculated and added to a table. This shows how much each data point varies from the mean.

### 3

Square the deviations

Square the deviations, and add them to a new column in the table.

### 4

Find the mean of the squared deviations

The squared deviations should be added and divided by the number of data values. In other words, the mean of the squared deviations is found.

This value is called the variance of the data set.

### 5

Square-root the mean of the squared deviations

Finally, take the square root of the just found quotient to get the standard deviation. Here, the fraction is used instead of the quotient, to avoid rounding errors. Thus, a randomly chosen value from this data set is expected to deviate roughly units from the mean.

## Interquartile Range

One way to measure the spread of a data set is with the interquartile range, which is the difference between the third and the first quartile. The quartiles are found by dividing the data set into four equal-sized groups. A set of data values would be divided into groups with three data values in each.

The quartiles are the three values that divide the data set into four groups. They are denoted with and Notice that is the median.

The interquartile range, or IQR, is calculated by subtracting the first quartile, from the third,

## Finding the Interquartile Range

The interquartile range, IQR, is found by first identifying the three quartiles and then calculating the difference between the third and the first quartile. Consider the following data set.

### 1

Identify the median

First, identify the median of the data set. Since the number of values is even, the median is the mean of the two middle values.

### 2

Identify the lower and the upper half of the data set
The median divides the data into two sets, a lower set and an upper set. For this data, the lower set is the first six values and the upper set is the following six.
{\displaystyle \begin{aligned} &\quad \quad \text{lower set} \quad \quad \quad \text{upper set}\\ &\overbrace{1, \; 3,\; 4,\; 4,\; 5,\; 6} \Big{|} \overbrace{6, \; 8,\; 8,\; 10,\; 10,\; 11} \end{aligned}}
When there are an odd number of values in the data set, the middle value is excluded from both the lower and upper sets.

### 3

Find the first and the third quartile
Find the first and the third quartile. The first quartile, is the median of the lower set, while the third, is the median of the upper set. Here, both quartiles are found the same way the median was found.
{\displaystyle \begin{aligned} & \quad \; \; Q_1=4 \qquad \qquad Q_3=9 \\ & 1,\; 3,\; \overbrace{4,\; 4},\; 5,\; 6 \, \Big{|} \, 6,\; 8,\; \overbrace{8,\; 10},\; 10,\; 11 \end{aligned}}

### 4

Calculate the interquartile range

The interquartile range is calculated by subtracting the first quartile, from the third, For the example, this gives

## Benefits and Drawbacks of the Measures of Spread

Each of these three measures of spread, range, standard deviation, and interquartile range, have advantages and drawbacks.

### Range

Calculating the range is a relatively simple process. However, since it only takes into account two data points, the variability of the entire data set is not known.

### Standard Deviation

Because the standard deviation is found using all data points, it is representative of the entire data set. A drawback, though, is that for a large data set it is a very time-consuming calculation to do by hand.

### Interquartile Range

An advantage of the interquartile range is that, since it focuses on the middle of the data set, the minimum and maximum values, which can be outliers, do not have an impact. However, for the same reason, it does not take into account every data point.