Data Classification and Frequency Distribution
Quantitative Aptitude › Statistics · Topic 24.3
Data classification arranges raw observations into classes, and a frequency distribution lists how many observations fall in each class. Its parts are the class interval, class width, class mark or midpoint, frequency and cumulative frequency.
5 min read · Quantitative Aptitude · Statistics
Quick Answer
Data classification arranges raw observations into classes, and a frequency distribution lists how many observations fall in each class. Its parts are the class interval, class width, class mark or midpoint, frequency and cumulative frequency.
At a Glance
- Class width Upper limit – lower limit
- Class mark (Lower + Upper)/2
- Cumulative frequency Running total of frequencies
- Mean Σ(f x)/Σf
- Median class Contains the n/2 th value
Where Does It Fit?
This topic uses the measures in Measures of Central Tendency – Mean, Median and Mode and prepares the graphs in Histogram, Frequency Polygon and Ogive Construction and Interpretation. Spread measures from Measures of Dispersion – Range, Mean Deviation, Variance and Standard Deviation can also be found from grouped data.
How Do You Build a Frequency Distribution?
In short: choose the number of classes, make them equal in width, and count the observations in each.
- Range: largest value minus smallest value.
- Class width: range divided by the number of classes, rounded up, for example 75/5 = 15.
- Tally: count observations in each class.
- Check: the frequencies must add up to the total number of observations.
| Class | Frequency | Class mark | Cumulative frequency |
|---|---|---|---|
| 0 – 10 | 5 | 5 | 5 |
| 10 – 20 | 8 | 15 | 13 |
| 20 – 30 | 12 | 25 | 25 |
| 30 – 40 | 10 | 35 | 35 |
| 40 – 50 | 5 | 45 | 40 |
The total frequency here is 40.
What Are Inclusive and Exclusive Classes?
In short: exclusive classes such as 10 – 20 and 20 – 30 include the lower limit but not the upper limit, while inclusive classes such as 10 – 19 and 20 – 29 include both.
- Convert inclusive to exclusive: subtract half the gap from each lower limit and add it to each upper limit. The gap between 19 and 20 is 1, so use 9.5 – 19.5 and 19.5 – 29.5.
- Why: the mean, median and mode formulas need continuous classes.
How Do You Find the Mean, Median and Mode of Grouped Data?
In short: for the table above, use the class marks, the cumulative frequency and the largest frequency.
Results for the table
- Mean = (5×5 + 8×15 + 12×25 + 10×35 + 5×45)/40 = 1020/40 = 25.5.
- Median class: n/2 = 20 lies in 20 – 30. Median = 20 + [(20 – 13)/12] × 10 = 25.83.
- Modal class: 20 – 30 (frequency 12). Mode = 20 + [(12 – 8)/(24 – 8 – 10)] × 10 = 26.67.
The formulas are introduced in Measures of Central Tendency – Mean, Median and Mode.
Solved Examples
Example 1
Question: The smallest and largest values are 12 and 87. Find a suitable class width for 5 classes.
- Range = 87 – 12 = 75.
- Width = 75/5 = 15.
Answer: The class width is 15, giving classes 12 – 27, 27 – 42, 42 – 57, 57 – 72, 72 – 87.
Example 2
Question: Find the mean of the distribution: classes 0-10, 10-20, 20-30, 30-40, 40-50 with frequencies 5, 8, 12, 10, 5.
- Class marks: 5, 15, 25, 35, 45.
- Σfx = 25 + 120 + 300 + 350 + 225 = 1020.
- Mean = 1020/40.
Answer: The mean is 25.5.
Example 3
Question: Find the median of the same distribution.
- Cumulative frequencies: 5, 13, 25, 35, 40, so n/2 = 20 lies in the class 20 – 30.
- l = 20, cf = 13, f = 12, h = 10.
- Median = 20 + (20 – 13)/12 × 10 = 20 + 5.83.
Answer: The median is about 25.83.
Example 4
Question: Find the mode of the same distribution.
- The modal class is 20 – 30 with f₁ = 12, f₀ = 8 and f₂ = 10.
- Mode = 20 + (12 – 8)/(2 × 12 – 8 – 10) × 10.
- = 20 + 4/6 × 10.
Answer: The mode is about 26.67.
Example 5
Question: Convert the inclusive classes 10 – 19, 20 – 29 and 30 – 39 into exclusive classes.
- The gap between 19 and 20 is 1, so half the gap is 0.5.
- Lower limits decrease by 0.5 and upper limits increase by 0.5.
Answer: The classes become 9.5 – 19.5, 19.5 – 29.5 and 29.5 – 39.5.
Shortcuts and Tricks
- Check that the sum of the frequencies equals n before using any formula.
- For the median class, compare n/2 with the cumulative frequencies.
- Convert inclusive classes to exclusive before using the median or mode.
- For the mode, the modal class is simply the highest frequency.
- Use a convenient assumed mean for large class marks to reduce arithmetic.
Common Mistakes
- Using class limits instead of class marks in the mean.
- Using n/2 as the cumulative frequency before the median class.
- Not converting inclusive classes.
- Choosing unequal class widths without adjusting.
- Confusing f₀ and f₂ in the mode formula.
Practice Questions
- Find the class mark of the class 30 – 40.
- Find the width for classes of data with range 60 into 6 classes.
- Find the cumulative frequency after the third class of frequencies 5, 8, 12.
- Which is the median class for n = 40 and cumulative frequencies 5, 13, 25, 35, 40?
- Convert 5 – 9, 10 – 14 into exclusive classes.
- Find the mean if class marks 10, 20, 30 have frequencies 2, 5, 3.
Answers: 1) 35; 2) 10; 3) 25; 4) 20 – 30; 5) 4.5 – 9.5, 9.5 – 14.5; 6) 21.
Why Is This Topic Important?
- Large data Grouping makes big data sets manageable.
- Exam use Grouped mean and median questions appear in CAT.
- Link The table feeds the graphs in Histogram, Frequency Polygon and Ogive Construction and Interpretation.
What Comes Next?
The next topic is Histogram, Frequency Polygon and Ogive Construction and Interpretation, which draws the histogram, frequency polygon and ogive from the table.
Key Terms and Formulas
- Class interval A range of values forming one group
- Class mark The midpoint of a class
- Frequency The number of observations in a class
- Cumulative frequency The running total of frequencies
- Modal class The class with the highest frequency
Related Topics
- Measures of Dispersion – Range, Mean Deviation, Variance and Standard Deviation
- Histogram, Frequency Polygon and Ogive Construction and Interpretation
- Measures of Central Tendency – Mean, Median and Mode
- Correlation and Coefficient of Variation (CAT-Level)
Exam Corner
Points to Remember
- Class mark = (lower + upper)/2.
- Mean = Σfx / Σf.
- Median uses the class containing the n/2 th value.
- Mode uses the class with the highest frequency.
Do Not Confuse With
- Inclusive vs exclusive classes Convert inclusive to exclusive using half the gap.
- Class width vs class mark Width is the length of the class; the mark is its midpoint.
- Frequency vs cumulative frequency Cumulative is the running total.
Memory Hook
Tally, total, then mark the middle of each class.
GS Relevance
Frequently Asked Questions
What is a frequency distribution?
A frequency distribution is a table that groups data into classes and shows the number of observations in each class. It also lists class marks and cumulative frequencies, and it turns a long list of raw values into a form from which the mean, median and mode can be found.
How do you find the class width?
Divide the range of the data by the number of classes you want and round up to a convenient number. For values from 12 to 87 the range is 75, and five classes give a class width of 15, so the classes are 12 to 27, 27 to 42, and so on.
What is cumulative frequency?
Cumulative frequency is the running total of the class frequencies. For frequencies 5, 8, 12, 10 and 5, the cumulative frequencies are 5, 13, 25, 35 and 40, and the last value equals the total number of observations, which is used to locate the median class.
How do you find the median of grouped data?
Find the class containing the value at n over 2 from the cumulative frequency, then use median equals l plus n over 2 minus cf over f times h. For the standard table with n equal to 40, the median is about 25.83.
How do you convert inclusive classes to exclusive classes?
Subtract half of the gap between the classes from each lower limit and add it to each upper limit. For classes 10 to 19 and 20 to 29 the gap is 1, so the classes become 9.5 to 19.5 and 19.5 to 29.5.
PYQ Practice — Statement Analysis
1 The class mark of the class 30 - 40 is 35.
(30 + 40)/2 = 35.
2 The total of the cumulative frequency column equals n.
The last cumulative frequency equals n; the column itself does not add to n.
3 The mean of the standard table with total frequency 40 is 25.5.
1020/40.
4 The modal class is the class with the highest frequency.
It is the class used in the mode formula.
Related Topics
Browse the full Quantitative Aptitude index