Skip to content
Gioi Toan
Start learning
A bar chart with three bars, the tallest one smiling

Notes on Lesson 8: Grouped data (Maths 11 Ket noi tri thuc)

Lesson summary

Grouped data is a data sample given as a frequency table of class intervals.

+ Grouped data is used when we cannot collect exact data or when the problem requires us to present the data sample in grouped form to make organizing, reading and data analysis easier.

Picture grouped data like sorting students into exam rooms by total score: each room takes those whose score is in one range, and we only record the number of students in each room.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Đọc, giải thích mẫu số liệu ghép nhóm; lập bảng tần số ghép nhóm.
  • Chuyển mẫu số liệu không ghép nhóm thành ghép nhóm.

The graduation exam had more than 344 thousand candidates taking all three subjects Maths, Physics and Chemistry. Listing every student's total score would be unreadable, and a frequency table for every score level would have far too many columns. People group nearby score levels together, record the number of candidates in each group, and the overall picture appears at once. This lesson helps you read and explain a grouped data sample and turn an ungrouped data sample into grouped form yourself.

Practise now

Key ideas: what do you need to know?

Grouped data

  • Grouped data is a data sample given as a frequency table of class intervals. Each class interval is a set of data values grouped by a fixed criterion. A class interval is usually written as [a;b)[a; b), where aa is the left endpoint and bb is the right endpoint.
  • Example: the table of total scores for three subjects has class intervals <6< 6, [6;7)[6; 7), [7;8)[7; 8), ..., [28;29)[28; 29), [29;30][29; 30] with corresponding numbers of candidates 2323, 6969, 192192, ..., 216216, 1212. The class interval [7;8)[7; 8) has 192192 candidates, meaning 192192 candidates scored a total from 7 to under 8.

In plain words: Picture grouped data like sorting students into exam rooms by total score: each room takes those whose score is in one range, and we only record the number of students in each room. Reading the table lets you answer: which class interval has the most values, how many values are less than a mark, and what the total sample size is. Note the notation [a;b)[a; b): it includes aa but not bb. So a value exactly equal to bb belongs to the next class interval, which means each value falls into exactly one class interval.

Phrase by phrase
Grouped data
The data sample is presented as groups of values and the frequency of each group.Example: The class interval [150;155)[150; 155) has frequency 12.
left endpoint
The aa of the class interval [a;b)[a; b), the smallest value counted in the class interval.Example: The class interval [20;25)[20; 25) has left endpoint 20.
right endpoint
The bb of the class interval [a;b)[a; b), which does not belong to that class interval (unless the last class interval includes its right endpoint).Example: The value 25 does not belong to [20;25)[20; 25) but belongs to [25;30)[25; 30).

Common mistakesPut a value exactly equal to a right endpoint into the class interval that has that endpoint, for example put 23 into [18,5;23)[18,5; 23). The class interval [a;b)[a; b) does not contain bb, the value 23 belongs to the next class interval.

TipThe sign [[ means "included", the sign )) means "not included": [a;b)[a; b) is read as "from aa to under bb".

When to use grouped data

  • Remark.

+ Grouped data is used when we cannot collect exact data or when the problem requires us to present the data sample in grouped form to make organizing, reading and data analysis easier.
+ In some cases, the last class interval may include its right endpoint.

  • Example: the distribution of Vietnam's population in 2019 by age is given in three groups: under 15 years old, from 15 to under 65 years old, and 65 years old and over. The last class interval of the total score table is [29;30][29; 30], including the right endpoint 30.

In plain words: There are two reasons to group. First, sometimes we do not know each exact value, only which range it falls in, as when a survey asks "which range is your family's income in". Second, there is too much data and it is too scattered, and only by grouping can we see the trend. In exchange, we lose detailed information: looking at a grouped table, you do not know the exact value of each element. The last class interval includes its right endpoint so that the maximum value (like a score of 30) still has a place.

Phrase by phrase
cannot collect exact data
We only know that the value lies in some interval, not exactly what it equals.Example: The questionnaire asks "which age range are you in".
the last class interval can take the right endpoint
The last class interval can be written as [a;b][a; b] to include the maximum value.Example: The class interval [29;30][29; 30] includes the total score of 30.

Grouping a data sample

  • To turn an ungrouped data sample into a grouped data sample, we do the following:

+ Step 1. Divide the range of values of the data sample into a number of class intervals according to a given criterion.
+ Step 2. Count the number of values of the data sample that belong to each class interval (frequency) and make a statistical table for the grouped data.

  • The class width of the class interval [a;b)[a; b) is b−ab - a.
  • Do not divide into too many class intervals or too few class intervals. The class intervals are non-intersecting, the class intervals should have the same class width, and the sum of the class widths is greater than the range.
  • Example: the running time (minutes) of 30 athletes has minimum value 129, maximum value 145, range 145−129=16145 - 129 = 16. Divide into six class intervals of width 3 (sum of widths 18), choose the left endpoint of the first class interval as 127,5127,5: the class intervals [127,5;130,5)[127,5; 130,5), [130,5;133,5)[130,5; 133,5), ..., [142,5;145,5)[142,5; 145,5).

In plain words: Grouping follows the right order: find the minimum value, the maximum value, compute the range; choose the number of class intervals and the class width so that the sum of the widths is greater than the range; choose the left endpoint of the first class interval slightly smaller than the minimum value; then count. When the quantitative data are integers, choosing endpoints with decimal part 0,50,5 such as 127,5127,5 is a good trick: no value falls exactly on an endpoint, so you do not have to wonder which class interval it belongs to. After counting, add the frequencies to check that they equal the sample size.

Phrase by phrase
Class width
The difference of the right endpoint minus the left endpoint.Example: The class interval [127,5;130,5)[127,5; 130,5) has class width 3.
range
The difference between the maximum value and the minimum value of the data sample.Example: If the sample has values from 129 to 145, the range is 16.
Non-intersecting class intervals
Each value belongs to exactly one class interval.Example: [10;20)[10; 20) and [20;30)[20; 30) are non-intersecting; [10;20][10; 20] and [20;30)[20; 30) share the number 20.

Common mistakesAfter counting, not adding the frequencies back up to compare with the sample size, so some values are missed or counted twice without anyone knowing.

TipIf the quantitative data are integers, choose endpoints with a decimal part of 0,50,5, so no value lies exactly on an endpoint.

TipChoose the class width equal to the range divided by the number of class intervals, then round up a little, so the total length is greater than the range.

Reading, explaining and applying grouped data

  • Reading a grouped data sample means stating the class intervals, the frequency of each class interval and the sample size nn (the sum of the frequencies).
  • Explaining the data sample means answering practical questions: which class interval has the most values, how many values are less than or greater than a threshold, the proportion of each class interval in the whole sample equals the frequency divided by nn.
  • Example: the population of Vietnam in 2019 was 23 371 882+65 420 451+7 416 651=96 208 98423\,371\,882 + 65\,420\,451 + 7\,416\,651 = 96\,208\,984 people, of which the class interval from 15 to under 65 years old was the largest.
  • Chart of a grouped data sample (extension): the table can be represented by a bar chart whose bars are placed close together, each bar corresponding to a class interval, with height equal to the frequency. A computer spreadsheet can also count the frequency of each class interval (extension).

In plain words: A grouped table is not just for looking at, it is for making decisions. A uniform sewing company uses the proportion of students in each height class interval to know how many shirts of each size to sew; a school uses the total score table to know how many candidates pass the cutoff score. The key calculation is the proportion: frequency divided by the sample size nn, then multiplied by the quantity to be divided up. This kind of statistics appears in Biology (BMI index), Geography (population by age) and economics too.

Phrase by phrase
sample size nn (the sum of the frequencies)
The number of values in the whole sample, equal to the sum of the frequencies of the class intervals.Example: If the frequencies are 6, 12, 9, 3 then n=30n = 30.
proportion of each class interval
The frequency of the class interval divided by the sample size.Example: A class interval with 12 out of 30 values accounts for 1230=40%\frac{12}{30} = 40\%.
Chart of a grouped data sample
A bar figure with bars close together showing the frequency of each class interval (extension, not studied in this lesson).Example: The tallest bar corresponds to the class interval with the largest frequency.

Worked examples

Example 1

The time spent studying at home each day (minutes) of the students in a class is given in the table:
Class interval [0;30)[0; 30): 5 students; [30;60)[30; 60): 12; [60;90)[60; 90): 15; [90;120)[90; 120): 6; [120;150)[120; 150): 2.
a) Is this a grouped data sample? What is the class width of each class interval? How many students are in the class?
b) How many students study for less than 60 minutes? How many students study for 90 minutes or more?
c) Which class interval has the most students?

Show the solution to example 1

Step 1: The data are given as a frequency table of the class intervals [a;b)[a; b), so this is a grouped data sample. Each class interval has class width 30−0=3030 - 0 = 30 minutes.
Step 2: The sample size is n=5+12+15+6+2=40n = 5 + 12 + 15 + 6 + 2 = 40 students.
Step 3: Less than 60 minutes includes two class intervals [0;30)[0; 30) and [30;60)[30; 60): 5+12=175 + 12 = 17 students.
Why: The class interval [30;60)[30; 60) does not contain 60, so every student in this class interval studies for less than 60 minutes.
Step 4: 90 minutes or more includes [90;120)[90; 120) and [120;150)[120; 150): 6+2=86 + 2 = 8 students.
Step 5: The largest frequency is 15, in the class interval [60;90)[60; 90).
Result: a) Yes; class width 30 minutes; 40 students. b) 17 students; 8 students. c) The class interval [60;90)[60; 90).

Example 2

The BMI index of 10 students in a group is
17,917,9; 19,419,4; 22,822,8; 23,023,0; 18,518,5; 24,624,6; 16,916,9; 20,320,3; 21,721,7; 18,218,2.
A person with BMI less than 18,518,5 is considered underweight; from 18,518,5 to under 23 is ideal weight; from 23 or more is overweight. Make a grouped data sample representing the weight status of the group.

Show the solution to example 2

Step 1: Using the given criteria, divide into three groups: under 18,518,5 (underweight), [18,5;23)[18,5; 23) (ideal), 23 and above (overweight).
Step 2: Underweight: 17,917,9; 16,916,9; 18,218,2, that is 3 students.
Step 3: Ideal: 19,419,4; 22,822,8; 18,518,5; 20,320,3; 21,721,7, that is 5 students.
Why: 18,518,5 is the left endpoint of the group [18,5;23)[18,5; 23) so it belongs to this group; while 23,023,0 is the right endpoint so it does not belong, it goes to the overweight group.
Step 4: Overweight: 23,023,0; 24,624,6, that is 2 students. Check: 3+5+2=103 + 5 + 2 = 10.
Result: Underweight 3 students; ideal weight 5 students; overweight 2 students.

Example 3

The numbers of products each worker in a team makes in one day are:
12, 15, 18, 21, 22, 25, 26, 27, 28, 30, 31, 33, 34, 35, 36, 38, 40, 41, 43, 44, 45, 47, 49, 50.
Convert the data sample into grouped form with five groups of equal length.

Show the solution to example 3

Step 1: The minimum value is 12, the maximum value is 50, the range is 50−12=3850 - 12 = 38.
Step 2: Five groups of equal length, the total length must be greater than 38, so choose the length of each group to be 8 (total 40).
Step 3: Choose the left endpoint of the first group to be 11,511,5, giving the groups [11,5;19,5)[11,5; 19,5), [19,5;27,5)[19,5; 27,5), [27,5;35,5)[27,5; 35,5), [35,5;43,5)[35,5; 43,5), [43,5;51,5)[43,5; 51,5).
Why: The quantitative data are integers, the endpoints have decimal part 0,50,5 so no value coincides with an endpoint, and counting does not get confused between groups.
Step 4: Count: [11,5;19,5)[11,5; 19,5) has 12, 15, 18 (3 values); [19,5;27,5)[19,5; 27,5) has 21, 22, 25, 26, 27 (5); [27,5;35,5)[27,5; 35,5) has 28, 30, 31, 33, 34, 35 (6); [35,5;43,5)[35,5; 43,5) has 36, 38, 40, 41, 43 (5); [43,5;51,5)[43,5; 51,5) has 44, 45, 47, 49, 50 (5).
Step 5: Check: 3+5+6+5+5=243 + 5 + 6 + 5 + 5 = 24 equals the number of workers.
Result: The frequencies of the five groups are 3, 5, 6, 5, 5 respectively.

Example 4

A workshop sewing uniform shirts for female students by size: height [145;150)[145; 150) size S, [150;155)[150; 155) size M, [155;160)[155; 160) size L, [160;165)[160; 165) size XL. Measuring the height (cm) of 30 female students gives:
145, 146, 147, 148, 149, 149, 150, 150, 151, 151, 152, 152, 152, 153, 153, 153, 154, 154, 155, 155, 156, 156, 157, 157, 158, 158, 159, 160, 162, 164.
a) Make a grouped frequency table with the groups above.
b) If the workshop sews 400 shirts, how many of each size should it sew?

Show the solution to example 4

Step 1: Count: [145;150)[145; 150) has 6 students; [150;155)[150; 155) has 12 students; [155;160)[155; 160) has 9 students; [160;165)[160; 165) has 3 students. Check 6+12+9+3=306 + 12 + 9 + 3 = 30.
Why: A student exactly 150 cm tall belongs to the group [150;155)[150; 155), a student 155 cm tall belongs to [155;160)[155; 160), because each group does not contain its right endpoint.
Step 2: The proportion of each size: S is 630\frac{6}{30}, M is 1230\frac{12}{30}, L is 930\frac{9}{30}, XL is 330\frac{3}{30}.
Step 3: Number of shirts: S is 400⋅630=80400 \cdot \frac{6}{30} = 80; M is 400⋅1230=160400 \cdot \frac{12}{30} = 160; L is 400⋅930=120400 \cdot \frac{9}{30} = 120; XL is 400⋅330=40400 \cdot \frac{3}{30} = 40.
Result: a) Frequencies 6, 12, 9, 3. b) S: 80 shirts, M: 160 shirts, L: 120 shirts, XL: 40 shirts.

Example 5

A data sample has minimum value 42 and maximum value 78. Minh suggests three ways to divide into groups:
Way 1: [40;50)[40; 50), [50;60)[50; 60), [60;70)[60; 70), [70;80)[70; 80).
Way 2: [40;50][40; 50], [50;60][50; 60], [60;70][60; 70], [70;80][70; 80].
Way 3: [45;55)[45; 55), [55;65)[55; 65), [65;75)[65; 75).
Which way can be used for grouping? Why?

Show the solution to example 5

Step 1: The range is 78−42=3678 - 42 = 36.
Step 2: Way 1: four groups of length 10, non-intersecting, total length 40>3640 > 36, can contain both 42 and 78. Can be used.
Step 3: Way 2: the groups share endpoints, for example the number 50 belongs to both [40;50][40; 50] and [50;60][50; 60]. The groups intersect so a value could be counted twice. Cannot be used.
Why: Each value must fall into exactly one group so that the sum of frequencies equals the sample size.
Step 4: Way 3: the total length is 30<3630 < 36; the value 42 is less than 45 and 78 is greater than 75 so it does not belong to any group. Cannot be used.
Result: Only Way 1 can be used.

Common mistakesDividing into class intervals whose total length is only equal to or less than the range, so the maximum value or the minimum value does not belong to any class interval.

Common mistakesUsing class intervals closed at both ends like [10;20][10; 20], [20;30][20; 30], which makes a value belong to two class intervals and be counted twice.

Example 6

The population of a ward is counted by age: under 15 years old: 1,240 people; from 15 to under 65 years old: 4,560 people; from 65 years old and above: 700 people.
a) State the groups and frequencies. How many people are in the ward?
b) The group from 65 years old and above makes up about what percentage of the population (round to the tenths place)?

Show the solution to example 6

Step 1: This is a grouped data sample with three groups: under 15 years old (frequency 1,240), from 15 to under 65 years old (4,560), from 65 years old and above (700).
Why: The first and last groups do not state both endpoints clearly, but each person still belongs to exactly one group, so the table is still a grouped data sample.
Step 2: Population: 1 240+4 560+700=6 5001\,240 + 4\,560 + 700 = 6\,500 people.
Step 3: Proportion of the group from 65 years old and above: 7006 500≈0,1077\frac{700}{6\,500} \approx 0,1077, that is about 10,8%10,8\%.
Result: a) Three groups with frequencies 1,240; 4,560; 700; the ward has 6,500 people. b) About 10,8%10,8\%.

Common mistakesReading "from 15 to under 65 years old" as [15;65][15; 65] and counting a 65-year-old person in this class interval.

Example 7

(Extension.) With the table of self-study time in example 1 (frequencies 5, 12, 15, 6, 2 of the groups [0;30)[0; 30), ..., [120;150)[120; 150)), describe how to draw a bar chart for the grouped data sample and say which bar is the tallest.

Show the solution to example 7

Step 1: On the horizontal axis, mark time, divided into consecutive intervals from 0 to 150, each 30 long, corresponding to one class interval.
Step 2: On each interval, draw a column; the columns touch each other because the class intervals are consecutive; the height of each column equals the class frequency: 5, 12, 15, 6, 2.
Why: Columns that touch show that the class intervals cover the range of values continuously, unlike a bar chart of discrete data.
Step 3: The tallest column corresponds to the class interval [60;90)[60; 90), with class frequency 15. The columns get shorter toward both sides, showing that most students study on their own from 30 to under 90 minutes.
Result: The chart has five touching columns of heights 5, 12, 15, 6, 2; the tallest column is in the class interval [60;90)[60; 90).

Terms

Grouped data
The data sample is given as a frequency table of class intervals.Example: A table of the number of students by height class interval.
Class interval
A set of values grouped by one criterion, usually of the form [a;b)[a; b).Example: The class interval [60;90)[60; 90) minutes.
Left endpoint, right endpoint
The two numbers aa and bb of the class interval [a;b)[a; b).Example: The class interval [5;10)[5; 10) has left endpoint 5 and right endpoint 10.
Class width
Equal to b−ab - a for the class interval [a;b)[a; b).Example: The class interval [5;10)[5; 10) has length 5.
Class frequency
The number of values in the sample that belong to that class interval.Example: If 12 friends are from 150 to under 155 cm tall, then the frequency is 12.
Range
The difference between the maximum value and the minimum value of the sample.Example: A sample from 12 to 50 has range 38.
Sample size
The total number of values in the sample, equal to the sum of the frequencies.Example: Frequencies 3, 5, 2 give sample size 10.

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 11.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 1 of 1Written answer · Applying

This content is not yet available in English. It is shown below in the original Vietnamese.

Từ 1/7/2019, dựa trên thu nhập bình quân đầu người (kí hiệu là GNIPC, tính theo đô la Mĩ), Ngân hàng Thế giới xác định một nền kinh tế ở mức thu nhập thấp nếu GNIPC nhỏ hơn 1 026, ở mức thu nhập dưới trung bình nếu GNIPC từ 1 026 đến dưới 3 996, ở mức thu nhập trên trung bình nếu GNIPC từ 3 996 đến dưới 12 376 và ở mức thu nhập cao nếu GNIPC từ 12 376 trở lên (Theo Ngân hàng Thế giới). Thu nhập bình quân đầu người của một số nền kinh tế thuộc khu vực châu Á Thái Bình Dương năm 2021 được cho như sau:

102 450; 70 700; 67 580; 55 290; 47 490; 45 440; 44 570; 28 730; 19 170; 18 530; 16 520; 13 790; 12 904; 11 090; 11 040; 10 440; 9 450; 8 150; 7 220; 6 960; 5 800; 4 430; 4 340; 4 280; 4 230; 2 100.

(Theo statistica.com)

a) Ghép nhóm mẫu số liệu trên theo mức thu nhập của nền kinh tế.
b) GNIPC của Việt Nam năm 2021 là 11 040. Nền kinh tế Việt Nam được xếp ở mức nào?

Do this question in your notebook and show every step. When you finish, press the button below to compare with the mark scheme.

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.

More practice questions for you

Additional exercises

  • Ghép nhóm một mẫu số liệu và lập bảng tần số ghép nhóm (Applying)

Challenge yourself

  • Đọc bảng tần số ghép nhóm: số nhóm, độ dài nhóm, đầu mút, tần số (Understanding)
  • Ghép nhóm một mẫu số liệu và lập bảng tần số ghép nhóm (Understanding)

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in