How to Find Quartiles in Grouped Data
For single data, we just sort it and find the middle position. Now, if the data is grouped in a frequency table (like test scores grouped as , , etc.), the method is slightly different. We don't know the exact value of each data point, only how many data points are in each group (class interval).
Similar to the median for grouped data, to find quartiles (, , ), we also use interpolation. Essentially, we "estimate" the quartile's position within the class interval where it falls.
We determine the position of the quartile using this formula:
- The position of is the -th data point
- The position of is the -th data point (or -th)
- The position of is the -th data point
Where is the total number of data points.
Steps to Find the Value of Quartiles for Grouped Data
Let's assume we have shoe sales data from Store A in a grouped frequency table format.
Create a Cumulative Frequency Table
First, we need a frequency table with a cumulative frequency column (). Cumulative frequency is the sum of frequencies from the first class up to that class. This is important to know which class the quartile falls into.
For example, here is the shoe sales table:
| Shoe Size | Frequency () | Cumulative Frequency () | Lower Boundary () | Upper Boundary () | Class Width () |
|---|---|---|---|---|---|
| Total |
Determine the Quartile Class Position
First, let's find the position of the data point for the quartile.
Total data () is .
-
Position of : the -th data point.
Look at the column. Which class contains the th data point? The first class has (not enough). The second class has (data points through are here). So, the th data point is in the class.
-
Position of (Median): the -th data point.
Look at . The th data point is in the class (because the previous was , and this class's is ).
-
Position of : the -th data point.
Look at . The th data point is also in the class (because the previous was , and this class's is ).
Calculate the Quartile Value using the Interpolation Formula
Once we know the class, we use this formula to find the exact value:
Where:
- = Value of the i-th Quartile (what we're looking for)
- = Lower boundary of the i-th quartile class
- = Total frequency
- = Cumulative frequency BEFORE the i-th quartile class
- = Frequency of the i-th quartile class
- = Class width
Finding the Shoe Sales Quartile
Let's calculate from the table above.
-
Position of : th data point.
-
Class of : .
-
Let's gather the ingredients:
- Lower boundary of class () is
- Total data () is
- Cumulative frequency before class () is (see for class )
- Frequency of class () is
- Class width () is
-
Plug into the formula:
So, the value of is . This means about of the shoes sold are size or smaller.
Exercise
Try calculating from the shoe sales data in the table above.
After getting the result, compare it with the method for finding quartiles for single data learned earlier. What's the difference, and why might the results be similar or different?
Answer Key
-
Position of : th data point.
-
Class of : .
-
Gather the ingredients:
- (lower boundary of class)
- (total data)
- (see for class )
- (frequency of class)
- (class width)
-
Plug into the formula:
So, the value of is . This means about of the shoes sold are size or smaller (or are sold in sizes larger than ).
Comparison with Single Data:
Finding quartiles for grouped data uses interpolation because we don't know the exact value of each data point, only its range. The result is an estimated quartile value.
For single data, we can directly point to which data point is the quartile (or the average of two data points), so the result is more precise (if the data is indeed single). Quartiles for grouped data provide a good overview for large datasets that have already been grouped.