Range vs IQR

Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.

Range

Describing data

The range is a measure of spread equal to the difference between the largest and smallest values in a data set.

The range measures spread as the distance between the two most extreme values. You compute it as range=maximumminimum\text{range} = \text{maximum} - \text{minimum}. For example, if test scores run from 62 to 98, the range is 9862=3698 - 62 = 36 points. Because it uses only the two extreme values, the range is highly sensitive to outliers and ignores everything in between.

Full entry for range

Interquartile range (IQR)

Describing data

The interquartile range (IQR) is the spread of the middle half of the data, equal to the third quartile minus the first quartile.

The interquartile range measures how spread out the middle 50 percent of the data is, so it ignores the extreme quarters. You compute it as IQR=Q3Q1\text{IQR} = Q_3 - Q_1, the third quartile minus the first quartile. For example, if Q1=3Q_1 = 3 and Q3=9Q_3 = 9, then the IQR is 93=69 - 3 = 6. Because it drops the top and bottom quarters, the IQR is resistant to outliers and drives the 1.5 times IQR rule for flagging them.

Full entry for IQR

Where each one fits in the course