Introduction to Quartiles
Quartiles split a data set into four equal parts, each containing 25% of the data. The first quartile (Q1) marks the 25th percentile, the second quartile (Q2) is the median or 50th percentile, and the third quartile (Q3) marks the 75th percentile. These values help describe the distribution and spread of data beyond just the median.
- Q1 = 25th percentile
- Q2 = 50th percentile (median)
- Q3 = 75th percentile
Calculating Quartiles in Small Data Sets
Start by arranging the data values in ascending order. The median (Q2) divides the data into two halves. To find Q1, calculate the median of the lower half (values below Q2). To find Q3, calculate the median of the upper half (values above Q2).
If the number of data points is odd, exclude the median when splitting the data into halves. If even, split the data evenly.
Example: Find quartiles for the data set: 7, 3, 9, 5, 12.
- Arrange: 3, 5, 7, 9, 12
- Median (Q2) = 7 (middle value)
- Lower half: 3, 5 → Q1 = median of 3 and 5 = (3+5)/2 = 4
- Upper half: 9, 12 → Q3 = median of 9 and 12 = (9+12)/2 = 10.5
Using Ungrouped Frequency Distributions
An ungrouped frequency distribution lists distinct data values with their frequencies. To find quartiles, first calculate the cumulative frequency to determine the position of each quartile.
The position of Q1 is at 1/4 of the total frequency (n), Q2 at 1/2 of n, and Q3 at 3/4 of n.
Locate the data value corresponding to these positions by finding where the cumulative frequency reaches or exceeds these values.
- Calculate total frequency n = sum of frequencies
- Find positions: Q1 = n/4, Q2 = n/2, Q3 = 3n/4
- Use cumulative frequency to identify quartile values
Example: Quartiles from an Ungrouped Frequency Distribution
Consider the data values and frequencies: 2 (3 times), 4 (5 times), 6 (4 times), 8 (2 times).
Total frequency n = 3 + 5 + 4 + 2 = 14. Positions: Q1 = 14/4 = 3.5, Q2 = 14/2 = 7, Q3 = 3×14/4 = 10.5.
Cumulative frequencies: 2 → 3, 4 → 8, 6 → 12, 8 → 14.
- Q1 position 3.5 lies between cumulative frequencies 3 and 8, so Q1 = 4
- Q2 position 7 lies between 3 and 8, so Q2 = 4
- Q3 position 10.5 lies between 8 and 12, so Q3 = 6
Interpreting Quartiles and Their Use
Quartiles provide insight into data spread and central tendency. The interquartile range (IQR), calculated as Q3 − Q1, measures the middle 50% spread, useful for identifying variability and outliers.
Understanding quartiles helps in comparing data sets and summarising distributions effectively.
- Quartiles divide data into four equal parts
- IQR = Q3 − Q1 measures spread of middle 50%
- Useful for detecting outliers and comparing distributions
At-a-glance summary
Comparison table
| Step | Detail | Example | Exam Use |
|---|---|---|---|
| Arrange data | Sort values in ascending order | Data: 7,3,9,5,12 → 3,5,7,9,12 | Always sort data before calculating quartiles to avoid errors |
| Find median (Q2) | Middle value of data set | Median of 3,5,7,9,12 is 7 | Q2 divides data into two halves for Q1 and Q3 calculation |
| Calculate Q1 | Median of lower half (below Q2) | Lower half: 3,5 → Q1 = 4 | Exclude median if odd number of data points |
| Calculate Q3 | Median of upper half (above Q2) | Upper half: 9,12 → Q3 = 10.5 | Same method as Q1 for upper half |
| Ungrouped frequency | Use cumulative frequency to find quartile positions | Data: 2(3),4(5),6(4),8(2), n=14 | Calculate positions n/4, n/2, 3n/4 and locate values |
| Locate quartiles | Find data value where cumulative frequency ≥ quartile position | Q1 at 3.5 → value 4 | Identify correct quartile value from cumulative frequency |
Active recall
Quick check
1. What is the first step in finding quartiles for a small data set?
Arrange the data values in ascending order.
2. How do you find Q1 in a small data set with an odd number of values?
Find the median of the lower half of the data, excluding the overall median.
3. How do you determine the position of Q3 in an ungrouped frequency distribution?
Calculate 3/4 of the total frequency (n) to find the position of Q3.
4. What is the role of cumulative frequency in finding quartiles?
It helps locate the data value corresponding to the quartile position by showing running totals of frequencies.
