Interquartile range
The interquartile range of a set of numbers is the difference between the third quartile (sometimes called the upper quartile) and the first quartile (sometimes called the lower quartile).
But what is a quartile?
Quartiles
Section titled “Quartiles”A quartile is, as it sounds, (a multiple of) a quarter of the way through a set of data. It’s the value that you get when you go to the number 1/4 of the way into your dataset (as well as 2/4 and 3/4 of the way in).
Usually, we just focus on:
- The first quartile (Q1), which is the value that is 1/4 of the way through the dataset. We can call this the lower quartile.
- The third quartile (Q3), which is the value that is 3/4 of the way through the dataset. We can call this the upper quartile.
Finding the first quartile
Section titled “Finding the first quartile”The first quartile is half way through the lower half of the dataset.
That means that we can find it like this:
- Arrange the numbers in order from smallest to largest.
- Find the median of the dataset.
- Get rid of the median, and everything above it.
- Doing that leaves us with the lower half of the dataset.
- Find the median of the lower half of the dataset.
- That median is the first quartile.
Finding the third quartile
Section titled “Finding the third quartile”The third quartile is half way through the upper half of the dataset.
So, similarly to finding the first quartile, we can find it like this:
- Arrange the numbers in order from smallest to largest.
- Find the median of the dataset.
- Get rid of the median, and everything below it.
- Doing that leaves us with the upper half of the dataset.
- Find the median of the upper half of the dataset.
- That median is the third quartile.
Interquartile range
Section titled “Interquartile range”The interquartile range is the difference between the third quartile and the first quartile.
Examples
Section titled “Examples”Find the lower quartile of
Section titled “Find the lower quartile of ”- The numbers are already in order:
- The median is
. - The lower half of the dataset is
. - The median of the lower half is the value in-between
and , which is . - Answer:
Find the upper quartile of
Section titled “Find the upper quartile of ”- The numbers are already in order:
- The median is
. - The upper half of the dataset is
. - The median of the upper half is the value in-between
and , which is . - Answer:
Find the interquartile range of
Section titled “Find the interquartile range of ”- The first quartile is
. - The third quartile is
. - The interquartile range is the difference between the third quartile and the
first quartile, which is
. - Answer:
Find the interquartile range of
Section titled “Find the interquartile range of ”- Arrange the numbers in order:
- The median is
. - The lower half of the dataset is
. - The median of the lower half is
, so the first quartile is . - The upper half of the dataset is
. - The median of the upper half is
, so the third quartile is . - Answer: