Main content

### Course: Statistics and probability > Unit 3

Lesson 3: Interquartile range (IQR)# Comparing range and interquartile range (IQR)

Range and interquartile range (IQR) both measure the "spread" in a data set. Looking at spread lets us see how much data varies. Range is a quick way to get an idea of spread. It takes longer to find the IQR, but it sometimes gives us more useful information about spread.

## Part 1: The range

Ron recorded the daily high temperatures for two different cities in a recent week in degree Celsius. The temperatures for each city are shown below.

Kansas City, MO: $23,{\textstyle \phantom{\rule{0.167em}{0ex}}}25,{\textstyle \phantom{\rule{0.167em}{0ex}}}28,{\textstyle \phantom{\rule{0.167em}{0ex}}}28,{\textstyle \phantom{\rule{0.167em}{0ex}}}32,{\textstyle \phantom{\rule{0.167em}{0ex}}}33,{\textstyle \phantom{\rule{0.167em}{0ex}}}35$

Paradise, MI: $16,{\textstyle \phantom{\rule{0.167em}{0ex}}}24,{\textstyle \phantom{\rule{0.167em}{0ex}}}26,{\textstyle \phantom{\rule{0.167em}{0ex}}}26,{\textstyle \phantom{\rule{0.167em}{0ex}}}26,{\textstyle \phantom{\rule{0.167em}{0ex}}}27,{\textstyle \phantom{\rule{0.167em}{0ex}}}28$

## Part 2: The interquartile range (IQR)

## Part 3: Comparing range and IQR

Ron made a dot plot for the temperatures in each city.

## Want to join the conversation?

- IQR is used to find the dispersion between the quartiles means of Q1 to Q3?(11 votes)
- Not quite. It's the difference between Q1 (the boundary between the first and second quartile groups) and Q3 (the boundary between the third and fourth quartile groups). They're not means; they're just points.

So, consider the following data points:

2 4 5 6 9 10 11

Q1 is the boundary between the the first and second quartile groups, which is 4. Q3 is the boundary between the third and fourth quartile groups, which is 10. That means that the IQR is their difference, Q3-Q1, which is 6.

IQR is an easy way to measure how spread out numbers are, without worrying about outliers. If I look at the page counts of the Harry Potter books, I see: 223, 251, 317, 636, 766, 607, 607. The IQR is 385. On the other hand, if I look at the page counts for the Mercy Thompson books, I see 298, 306, 321, 305, 351, 337, 343, 353, 350. The IQR is only 45. From this, I can see that Mercy Thompson books tend to be more or less the same size, while the lengths of Harry Potter books tend to vary a lot.(65 votes)

- How would we use IQR in real-life situations?(13 votes)
- I'll try an example. You work for the regional manager of some kind of chain business -- restaurant, hair salon, whatever. Your boss wants to know, roughly how many employees does the average location have? Is it, like, about 15? Or is it about 50? Or is it something like, between 15 and 30? So, you know that there are some locations with only a handful of employees; another location in a big city has over 100. But your boss doesn't want to worry about such details, and just wants a "ballpark estimate".

The mean or the median might be thrown off by the one or two big locations, or maybe by the handful of really small locations. (Maybe they balance each other out; or maybe not.) In that case, the IQR could usefully predict how much weekly dry cleaning of uniforms (or whatever) needs to be done at the "average" location.(25 votes)

- is there a Q4? if not why is it called IQR?(1 vote)
- There is no Q4. The Quartiles split the data up into 4 equal portions. To do so, we need just
*three*values - Q1, Q2, and Q3. For comparison, think of cutting a string (or anything) in half. You wind up with 2 pieces, but made only 1 cut. This is because you start with "one" piece, and each cut gives you one more. So 3 cuts gives you 4 pieces. The Quartiles are the "cuts".

The*range*is the distance from the highest value to the lowest value. The*Inter-Quartile Range*is quite literally just the*range*of the*quartiles*: the distance from the largest quartile to the smallest quartile, which is IQR=Q3-Q1.

Sometimes people will group the minimum and the maximum along with the Quartiles in what is called the "5 Number Summary". This is because the Min and Max are kind of like the 0th and 4th Quartiles, if those things existed. Going back to the string example, the Min and the Max would be the original ends of the string, and the Quartiles would be the places that you cut the string.(34 votes)

- What is the meaning of outlier and why it's used?(3 votes)
- If you were to make a graph, the outlier wouldn't be where most of the other numbers were. So, let's say the data is 10, 11, 9, 10, 12, and 20. The outlier would be 20 because it is farther away from the other numbers.

I hope this helps.(16 votes)

- I wonder whether my understandings of
**IQR**as follows is right:

**Q1**is equal to the digit which is located in 25% of all values in the sample from least to greatest( the number is at 1/4 of the sample);

**Q2**is also known as the "median";

**Q3**is equal to the digit located in 75% of all values in the sample from least to greatest(the number is at 3/4 of the sample);

IQR=Q3-Q1.

Thank you.(5 votes) - if you have a normally distributed bell curve and a known mean, but no known standard deviation, how do you find the interquartile range?(2 votes)
- It's not possible to do this without other information. If only the mean of a normal distribution is known, then clearly the larger the standard deviation, the larger the interquartile range.(5 votes)

- guys what is the variability(3 votes)
- It's a lack of consistency in the data. For example, if you look closely at the two data sets the a lack of consistency is more visible in kansas city than paradise.(3 votes)

- what do you mean by variability(2 votes)
- emm.. - Variability is the extent to which data points in a statistical distribution or data set diverge from the average, or mean, value as well as the extent to which these data points differ from each other. There are four commonly used measures of variability: range, mean, variance and standard deviation-from https://www.investopedia.com › Insights › Markets & Economy

.

Hope it is helpful. Thank you.(4 votes)

- i don't understand how to do IQR very well, no matter how much i try to understand. Can someone please help me?(4 votes)
- so first you have to find the iqr3 so count 3 times next find the iqr1 count once(0 votes)

- Where do I get some practice?(1 vote)