Range & Interquartile Range (SQA National 5 Applications of Mathematics): Revision Note

Exam code: X844 75

Dan Finlay

Written by: Dan Finlay

Reviewed by: Roger B

Updated on

Range & interquartile range

What is the range?

  • The range is the difference between the highest value and the lowest value

    • range = highest - lowest

      • For example, the range of 1, 2, 5, 8 is 8 - 1 = 7

  • It measures how spread out the data is

    • Ranges of different data sets can be compared to see which is more spread out

    • The range of a data set can be affected by very large or small values

  • Be careful with negatives

    • The range of -2, -1, 0, 4 is 4 - (-2) = 6

What are quartiles?

  • The median splits the data set into two parts

    • Half of the data is less than the median

    • Half of the data is greater than the median

  • Quartiles split the data set into four parts

    • The lower quartile (LQ) lies a quarter of the way along the data (when in order)

      • One quarter (25%) of the data is less than the LQ

      • Three quarters (75%) of the data is greater than the LQ

    • The upper quartile (UQ) lies three quarters of the way along the data (when in order)

      • Three quarters (75%) of the data is less than the UQ

      • One quarter (25%) of the data is greater than the UQ

How do I find the quartiles?

  • STEP 1
    Write the data in numerical order

  • STEP 2
    Use the median to divide the data set into lower and upper halves

    • If there are an even number of data values, then

      • the first half of those values are the lower half,

      • and the second half are the upper half

      • All of the data values are included in one or other of the two halves

    • If there are an odd number of data values, then

      • all the values below the median are the lower half

      • and all the values above the median are the upper half

      • The median itself is not included as a part of either half

  • STEP 3
    Find the medians of the two halves

    • The lower quartile is the median of the lower half of the data set

    • The upper quartile is the median of the upper half of the data set

What is the interquartile range (IQR)?

  • The interquartile range (IQR) is the difference between the upper quartile (UQ) and the lower quartile (LQ)

    • Interquartile range (IQR) = upper quartile (UQ) - lower quartile (LQ)

  • The IQR measures how spread out the middle 50% of the data is

    • The IQR is not affected by extreme values in the data

Examiner Tips and Tricks

If asked to find the interquartile range in an exam, make sure you show your subtraction clearly, don't just write down the answer.

Worked Example

A naturalist studying crocodiles has recorded the numbers of eggs found in a random selection of 20 crocodile nests

31      32      35      35      36      37      39      40      42      45

46      48      49      50      51      51      53      54      57      60

Find the interquartile range for this data set.

Answer:

The data is already ordered and split into two sets

Find the median of the lower half to find the lower quartile

31      32      35      35      36      37      39      40      42      45

The lower quartile is midway between 36 and 37

Lower quartile = 36.5

Find the median of the upper half to find the upper quartile

46      48      49      50      51      51      53      54      57      60

The upper quartile is midway between 51 and 51

Upper quartile = 51

Find the difference between the lower and upper quartiles

51 - 36.5 = 14.5

Interquartile range = 14.5

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Dan Finlay

Author: Dan Finlay

Expertise: Maths Subject Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.

Roger B

Reviewer: Roger B

Expertise: Maths Content Creator

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.