S3-SA3-0049
What is Interquartile Range?
Grade Level:
Class 8
AI/ML, Data Science, Physics, Economics, Cryptography, Computer Science, Engineering
Definition
What is it?
The Interquartile Range (IQR) is a measure of how spread out the middle 50% of your data is. It tells you the range between the first quartile (Q1) and the third quartile (Q3) of a dataset. Simply put, it helps understand the 'middle spread' of numbers.
Simple Example
Quick Example
Imagine your class got these marks in a science test: 10, 15, 20, 25, 30, 35, 40. The IQR would tell us the range of marks for the middle students, ignoring the very lowest and very highest scores. It gives a clearer picture of how most students performed.
Worked Example
Step-by-Step
Let's find the IQR for the daily auto-rickshaw fares collected by a driver: 50, 60, 70, 80, 90, 100, 110, 120, 130.
1. First, arrange the data in ascending order. (It's already sorted here): 50, 60, 70, 80, 90, 100, 110, 120, 130.
2. Find the Median (Q2) of the entire dataset. There are 9 data points, so the middle value is the 5th one. Median (Q2) = 90.
3. Find the First Quartile (Q1). This is the median of the lower half of the data (excluding Q2 if the count is odd). Lower half: 50, 60, 70, 80. Q1 = (60 + 70) / 2 = 65.
4. Find the Third Quartile (Q3). This is the median of the upper half of the data (excluding Q2 if the count is odd). Upper half: 100, 110, 120, 130. Q3 = (110 + 120) / 2 = 115.
5. Calculate the Interquartile Range (IQR) using the formula: IQR = Q3 - Q1.
6. IQR = 115 - 65 = 50.
Answer: The Interquartile Range (IQR) is 50.
Why It Matters
Understanding IQR is crucial in fields like Data Science and Economics, where you need to analyze large datasets and spot trends. Data analysts use it to understand the typical range of values, while scientists use it to filter out extreme results. It helps make better decisions by focusing on the most relevant data.
Common Mistakes
MISTAKE: Not arranging the data in ascending order before finding quartiles. | CORRECTION: Always sort your data from smallest to largest first. This is the most important first step.
MISTAKE: Including the median (Q2) when calculating Q1 and Q3 for an odd number of data points. | CORRECTION: If the total number of data points is odd, exclude the median (Q2) itself when dividing the data into lower and upper halves to find Q1 and Q3.
MISTAKE: Confusing IQR with the overall range of the data (maximum value - minimum value). | CORRECTION: IQR only measures the spread of the middle 50% of the data, making it less affected by extreme values (outliers) compared to the full range.
Practice Questions
Try It Yourself
QUESTION: Find the IQR for the following mobile data usage (in GB) for a week: 2, 5, 1, 7, 3, 4, 6. | ANSWER: Q1 = 2, Q3 = 6, IQR = 4
QUESTION: A farmer recorded the number of mangoes harvested from 10 trees: 15, 20, 18, 22, 25, 16, 19, 21, 23, 17. Calculate the Interquartile Range. | ANSWER: Sorted data: 15, 16, 17, 18, 19, 20, 21, 22, 23, 25. Q1 = 17, Q3 = 22, IQR = 5
QUESTION: The prices of different types of chai in a cafe are: Rs 15, Rs 20, Rs 25, Rs 30, Rs 35, Rs 40. If a new 'Special Chai' is added for Rs 60, how does the IQR change? | ANSWER: Original data: 15, 20, 25, 30, 35, 40. Q1 = 20, Q3 = 35, IQR = 15. New data: 15, 20, 25, 30, 35, 40, 60. Q1 = 20, Q3 = 40, IQR = 20. The IQR increases from 15 to 20.
MCQ
Quick Quiz
What does the Interquartile Range (IQR) represent?
The average of all data points
The difference between the maximum and minimum values
The spread of the middle 50% of the data
The most frequently occurring value
The Correct Answer Is:
C
The IQR specifically measures the range between the first quartile (Q1) and the third quartile (Q3), which covers the middle 50% of the data. Options A, B, and D describe mean, range, and mode respectively, not IQR.
Real World Connection
In the Real World
In cricket analytics, statisticians use IQR to analyze player performance. For example, they might look at the IQR of runs scored by a batsman in T20 matches to understand their consistent scoring range, ignoring their highest and lowest outlier scores. This helps coaches pick players who perform consistently in the middle range.
Key Vocabulary
Key Terms
Quartile: A value that divides a dataset into four equal parts | Median (Q2): The middle value of a sorted dataset; also the second quartile | First Quartile (Q1): The median of the lower half of a dataset | Third Quartile (Q3): The median of the upper half of a dataset | Data Set: A collection of numbers or information
What's Next
What to Learn Next
Great job understanding IQR! Next, you should explore 'Outliers' and 'Box Plots'. IQR is very important for identifying outliers, and box plots are visual tools that use IQR to show data distribution clearly. Keep practicing and learning!


