大象传媒

Interquartile range

We know that for a set of ordered numbers, the median \({Q_2}\), is the middle number which divides the data into two halves.

Similarly, the lower quartile \({Q_2}\) divides the bottom half of the data into two halves, and the upper quartile \({Q_3}\) also divides the upper half of the data into two halves.

Diagram of interquartile range

The is the difference between the upper quartile and lower quartile.

To calculate the interquartile range (IQR):

\(IQR = {Q_3} - {Q_1}\)

Example

Find the median, lower quartile and upper quartile for the following data:

\(11,\,4,\,6,\,8,\,3,\,10,\,8,\,10,\,4,\,12\,and\,31\)

In order to find the median, we need to put the numbers in order first.

\(3,\,4,\,4,\,6,\,8,\,8,\,10,\,10,\,11,\,12,\,31\)

\(Median({Q_2}) = 8\)

\(Lower\,Quartile({Q_1}) = 4\)

\(Upper\,Quartile({Q_3}) = 11\)

Therefore the IQR = \({Q_3} - {Q_1} = 11 - 4 = 7\)

Look at this set of data:

\(1,\,5,\,7,\,8,\,9,\,12,\,13,\,15,\,17,\,18,\,35\)

The interquartile range is \(17 - 7 = 10\).

(Sometimes we are asked for the semi-interquartile range . This is half of the interquartile range and in this case would be 5)

Now try the example questions below.

Question

Find the median and interquartile range for the following data:

\(13,\,18,\,15,\,11,\,6,\,9,\,23,\,8,\,17,\,21,\,6\)

Question

A survey was carried out to find the number of pets owned by each child in a class.

The results are shown in the table:

Number of petsFrequency
03
15
22
37
410
53
61
Number of pets0
Frequency3
Number of pets1
Frequency5
Number of pets2
Frequency2
Number of pets3
Frequency7
Number of pets4
Frequency10
Number of pets5
Frequency3
Number of pets6
Frequency1

Find the interquartile range.

Question

In a different class, their interquartile range was 9. What does this tell you about the results from this class?