Grouped Frequency Tables
Theory
A grouped frequency table sorts data into classes such as \(10\)–\(19\) and \(20\)–\(29\) and counts how many scores fall in each class. This Year 11 Mathematics Standard page covers choosing classes, tallying, class centres, the modal class and median class, estimating the mean with \(\bar{x}=\dfrac{\sum fx}{\sum f}\), missing frequencies and percentages.
When data has many different values spread over a wide range, such as the heights of \(200\) students or the times taken to finish a puzzle, a list of every value is hard to read. A grouped frequency table sorts the scores into classes (groups) and gives the frequency \(f\), the number of scores in each class. The total number of scores is the sum of the frequency column.
Good classes have the same width, do not overlap and cover every value. For whole-number data use classes such as \(0\)–\(9\), \(10\)–\(19\), \(20\)–\(29\). For measured (continuous) data use classes such as “\(50\text{ kg}\) to less than \(60\text{ kg}\)”, so every value belongs to exactly one class.
The class centre \(x\) is the middle of a class. The modal class is the class with the highest frequency. The median class is the class that contains the middle score; find it with a cumulative frequency column, which is a running total of the frequencies.
Grouping hides the individual scores. You can still find the total, the modal class and how many scores are in any class, but not the exact highest score, the exact range or the exact mean. The mean is estimated by using each class centre in place of the scores in that class.
Class centre:
Estimated mean, using the class centres for \(x\):
Here \(\sum fx\) means add up every \(f\times x\), and \(\sum f\) is the total number of scores.
Missing frequency and percentage of the scores:
Making a grouped frequency table
- Choose classes of equal width that do not overlap and run from below the lowest score to above the highest.
- Tally each score into its class.
- Write the frequencies and check that they add up to the number of scores.
Estimating the mean
- Find each class centre \(x\).
- Multiply to make an \(fx\) column: frequency \(\times\) class centre.
- Add the \(f\) column and the \(fx\) column.
- Divide: \(\bar{x}=\dfrac{\sum fx}{\sum f}\), then round as asked.
Finding the modal and median classes
- Modal class: the class with the highest frequency.
- Median class: make the running totals, find the position of the middle score, and choose the first class whose cumulative frequency reaches it.
\(23,\ 41,\ 17,\ 35,\ 28,\ 30,\ 12,\ 26,\ 24,\ 44,\)
\(21,\ 33,\ 29,\ 18,\ 37,\ 25,\ 31,\ 47,\ 27,\ 34\)
(i) Make a grouped frequency table with the classes \(10\)–\(19\), \(20\)–\(29\), \(30\)–\(39\) and \(40\)–\(49\).
(ii) What is the modal class?
(iii) What percentage of the students did at least \(30\) push-ups?
(i) Tally each score into its class:
\(10\)–\(19\): \(17,\ 12,\ 18\) \(\rightarrow 3\)
\(20\)–\(29\): \(23,\ 28,\ 26,\ 24,\ 21,\ 29,\ 25,\ 27\) \(\rightarrow 8\)
\(30\)–\(39\): \(35,\ 30,\ 33,\ 37,\ 31,\ 34\) \(\rightarrow 6\)
\(40\)–\(49\): \(41,\ 44,\ 47\) \(\rightarrow 3\)
| Push-ups | Frequency |
|---|---|
| \(10\text{–}19\) | \(3\) |
| \(20\text{–}29\) | \(8\) |
| \(30\text{–}39\) | \(6\) |
| \(40\text{–}49\) | \(3\) |
| Total | \(20\) |
Check: \(3+8+6+3=20\).
(ii) The highest frequency is \(8\). \(\therefore\) the modal class is \(\mathbf{20\text{–}29}\).
(iii) At least \(30\) means the \(30\)–\(39\) and \(40\)–\(49\) classes: \(6+3=9\) students.
| \(\text{Percentage}\) | \(=\) | \(\dfrac{9}{20}\times 100\%\) |
| \(=\) | \(45\%\) |
| Time (min) | Frequency |
|---|---|
| \(0\text{–}4\) | \(4\) |
| \(5\text{–}9\) | \(9\) |
| \(10\text{–}14\) | \(10\) |
| \(15\text{–}19\) | \(5\) |
| \(20\text{–}24\) | \(2\) |
Class centres: \(\dfrac{0+4}{2}=2\), then \(7,\ 12,\ 17,\ 22\). Multiply each by its frequency:
| \(x\) | \(f\) | \(fx\) |
|---|---|---|
| \(2\) | \(4\) | \(8\) |
| \(7\) | \(9\) | \(63\) |
| \(12\) | \(10\) | \(120\) |
| \(17\) | \(5\) | \(85\) |
| \(22\) | \(2\) | \(44\) |
| Total | \(30\) | \(320\) |
| \(\bar{x}\) | \(=\) | \(\dfrac{\sum fx}{\sum f}\) |
| \(=\) | \(\dfrac{320}{30}\) | |
| \(=\) | \(10.666\ldots\) | |
| \(\approx\) | \(10.67\text{ min}\) |
\(\therefore\) the mean waiting time is about \(\mathbf{10.67}\) minutes.
| Age | Frequency |
|---|---|
| \(0\text{–}9\) | \(12\) |
| \(10\text{–}19\) | \(18\) |
| \(20\text{–}29\) | \(x\) |
| \(30\text{–}39\) | \(y\) |
| \(40\text{–}49\) | \(7\) |
(ii) What percentage of the people were at least \(30\) years old?
(i) Use the percentage to find \(x\), then use the total to find \(y\).
| \(x\) | \(=\) | \(15\%\times 60\) |
| \(=\) | \(9\) | |
| \(y\) | \(=\) | \(60-(12+18+9+7)\) |
| \(=\) | \(60-46\) | |
| \(=\) | \(14\) |
(ii) At least \(30\) means the \(30\)–\(39\) and \(40\)–\(49\) classes: \(14+7=21\) people.
| \(\text{Percentage}\) | \(=\) | \(\dfrac{21}{60}\times 100\%\) |
| \(=\) | \(35\%\) |
| Height (cm) | Frequency |
|---|---|
| \(120\text{–}129\) | \(6\) |
| \(130\text{–}139\) | \(15\) |
| \(140\text{–}149\) | \(12\) |
| \(150\text{–}159\) | \(10\) |
| \(160\text{–}169\) | \(7\) |
(i) the modal class
(ii) the median class
(iii) the estimated mean height.
Class centre of \(120\)–\(129\) is \(\dfrac{120+129}{2}=124.5\), and so on.
| \(x\) | \(f\) | cf | \(fx\) |
|---|---|---|---|
| \(124.5\) | \(6\) | \(6\) | \(747\) |
| \(134.5\) | \(15\) | \(21\) | \(2017.5\) |
| \(144.5\) | \(12\) | \(33\) | \(1734\) |
| \(154.5\) | \(10\) | \(43\) | \(1545\) |
| \(164.5\) | \(7\) | \(50\) | \(1151.5\) |
| Total | \(50\) | \(7195\) |
(i) The highest frequency is \(15\). \(\therefore\) the modal class is \(\mathbf{130\text{–}139}\) cm.
(ii) There are \(50\) sunflowers, so the median is between the \(25\)th and \(26\)th. The cumulative frequency is \(21\) after \(130\)–\(139\) and \(33\) after \(140\)–\(149\). \(\therefore\) the median class is \(\mathbf{140\text{–}149}\) cm.
(iii)
| \(\bar{x}\) | \(=\) | \(\dfrac{\sum fx}{\sum f}\) |
| \(=\) | \(\dfrac{7195}{50}\) | |
| \(=\) | \(143.9\text{ cm}\) |
Notice that the modal class and the median class are different here.
Common pitfalls
Frequently asked questions
What is a grouped frequency table?
A table that sorts the scores into classes, such as \(0\)–\(9\), \(10\)–\(19\) and \(20\)–\(29\), and shows how many scores (the frequency) are in each class. It is used when there are many different values spread over a wide range.
How do you find the class centre?
Add the lowest and highest values in the class and divide by \(2\). For the class \(15\)–\(19\) the class centre is \(\dfrac{15+19}{2}=17\).
How do you estimate the mean from a grouped frequency table?
Multiply each class centre by its frequency, add these to get \(\sum fx\), then divide by the total frequency: \(\bar{x}=\dfrac{\sum fx}{\sum f}\).
What is the difference between the modal class and the median class?
The modal class is the class with the highest frequency. The median class is the class that contains the middle score, found from the running totals (cumulative frequencies).
Why can't you find the exact range from a grouped frequency table?
The table only shows which class each score is in, not the score itself. You know the top score is somewhere in, say, \(90\)–\(99\), but not exactly where, so the exact highest score, range and mean are unknown.
Which class does a value on a class boundary go in?
For measured data, classes are written “from … to less than …”. A mass of exactly \(60.0\text{ kg}\) is not less than \(60\), so it goes in the \(60\) to less than \(70\text{ kg}\) class.