Modal Class for Grouped Data
For grouped data, we usually don't find a specific Mode value, but instead, we focus on finding the Modal Class.
The Modal Class is the class interval that has the highest frequency. Simply put, just find the group with the most data points.
Example:
Store A's shoe size data:
Shoe Size (Class Interval) | Frequency () |
---|---|
37-39 | 2 |
40-42 | 11 |
43-45 | 16 (Highest Frequency) |
46-48 | 1 |
Total | 30 |
Look at the frequency column. The highest frequency is 16. The class interval with this frequency is 43-45.
Thus, the Modal Class for this data is 43-45. This means the most frequently sold shoe size is likely within this range.
Median for Grouped Data
Finding the Median (middle value) for grouped data is a bit more complex than finding the modal class. Since the data is grouped, we need to use an estimation formula to find approximately where the middle value lies.
How to Find the Median for Grouped Data
-
Calculate Median Position:
First, find the position of the middle data point using the formula , where is the total number of data points.
-
Create Cumulative Frequency:
Add a column to the frequency distribution table for Cumulative Frequency (). Cumulative frequency is the sum of frequencies from the first class up to the current class.
-
Determine the Median Class:
Find the class interval where the -th data point lies. Look at the Cumulative Frequency column. The Median Class is the first class whose Cumulative Frequency is equal to or greater than .
-
Use the Median Formula:
Once the Median Class is found, use the following formula:
Where:
-
= Median of the grouped data
-
= Lower Boundary of the Median Class. This is the true lower limit of the class where the median lies. Calculated as:
-
= Total number of data points (total frequency)
-
= Cumulative Frequency BEFORE the Median Class
-
= Frequency of the Median Class (the frequency of the class containing the median)
-
= Class Width. This is the width of each class interval. Common calculation method:
(where ).
-
Example:
Let's use Store A's shoe size data.
Shoe Size | Frequency () | Cumulative Frequency () |
---|---|---|
37-39 | 2 | 2 |
40-42 | 11 | 2 + 11 = 13 |
43-45 | 16 () | 13 + 16 = 29 |
46-48 | 1 | 29 + 1 = 30 |
Total |
-
Median Position: . We are looking for the 15th data point.
-
Cumulative Frequency: Already created in the table.
-
Median Class: Look at . Where does the 15th data point fall? The of the first class (2) is not enough. The of the second class (13) is also not enough. The of the third class (29) exceeds 15. So, the Median Class is 43-45.
-
Calculate Formula Components:
-
Median Class = 43-45
-
(Lower Boundary) =
-
=
-
( before median class) = 13
-
(Frequency of median class) = 16
-
(Class width) = Upper Boundary - Lower Boundary
-
-
Plug into the Median Formula:
So, the Median of the shoe size data is approximately 42.875. This means if all the data were sorted, the middle value is estimated to be 42.875.
Remember, just like the Mean for grouped data, the Median for grouped data is also an estimation of the true middle value.