Notes on Lesson 1: Mean and mode of grouped data (Maths 11 Chan troi sang tao, Chapter V)
Lesson summary
A grouped data sample is a data sample presented as a frequency table of class intervals.
where is the frequency of class interval , is the representative value of class interval , and is the sample size.
A grouped data sample is like sorting students into rooms by height range, with each room recording only the number of students.
This content is not yet available in English. It is shown below in the original Vietnamese.
- Đọc và giải thích được mẫu số liệu ghép nhóm
- Tính được số trung bình, mốt của mẫu số liệu ghép nhóm
An insurance agency records the number of customers buying life insurance in one day by age, but instead of writing each age, they group them into intervals such as , , ... Then, to know the average age of customers or which age group buys the most, you need the mean and mode of the grouped data sample. This lesson helps you read and explain a grouped data sample, calculate the mean and mode from a grouped frequency table, and from there draw useful conclusions in practice.
Key ideas: what do you need to know?
Grouped data sample
- A grouped data sample is a data sample presented as a frequency table of class intervals. Each class interval is a set of values grouped by a certain criterion, usually of the form with .
- The table has class intervals, each with frequency , which is the number of values in the sample belonging to that class interval. The sample size is .
- The representative value of the class interval is the average of its two endpoints: .
- The class width of the class interval is .
- When grouping, note: the number of class intervals is usually from 5 to 20; the class intervals have the same class width and the sum of the class widths is greater than the range ; the minimum value belongs to the first class interval, the maximum value belongs to the last class interval. The endpoints may not be values of the sample.
- Example: A statistical table of the heights (cm) of 50 students: : 6; : 14; : 12; : 8; : 10. This is a grouped data sample with 5 class intervals and sample size . The representative value of the class interval is .
In plain words: A grouped data sample is like sorting students into rooms by height range, with each room recording only the number of students. Reading the table tells you which group is the largest and how many students there are in total. The notation means take but not , so each value belongs to exactly one class interval. The representative value is the number that stands in for the whole class interval in calculations, usually the average of the two endpoints. The class width tells you how many units wide each class interval is.
Phrase by phrase
- Grouped data sample
- A data sample presented as groups of values and the frequency of each group.Example: A height table with class intervals , , ...
- frequency
- The number of values in the sample belonging to a class interval.Example: The class interval has frequency 14, meaning there are 14 students from 155 cm to under 160 cm tall.
- Sample size
- The total number of values in the sample, equal to the sum of the frequencies.Example: The frequencies 6, 14, 12, 8, 10 give sample size .
- Representative value
- The average of the two endpoints of the class interval, used in place of the whole class interval in calculations.Example: The class interval has representative value .
Common mistakesWhen calculating the mean, a student takes the left endpoint of a group as the representative value instead of taking the average of the two endpoints. For example, with group , you must use , not .
Mean of a grouped data sample
- The mean of a grouped data sample, denoted , is calculated by the formula:
where is the frequency of class interval , is the representative value of class interval , and is the sample size.
- Meaning: The mean of a grouped data sample is an approximation of the mean of the original data sample. It is often used to measure the central trend of the data sample.
- Example: With the height table above, we have:
.
So the average height is approximately cm.
In plain words: Since each class interval is a range with no specific value, imagine that every value in the class interval equals the representative value (the average of the two endpoints). Then the mean of the whole sample is just the weighted average of the representative values, with the frequencies as weights. A larger class interval has more influence. This formula gives an approximation of the true mean of the original sample, but it is very convenient because you only need the frequency table.
Phrase by phrase
- Mean
- The value representing the average level of the whole sample, calculated by the formula above.Example: With the example above, cm.
- an approximation of the mean of the original data sample
- Since we do not have the original data, the mean calculated from the grouped table is only an approximation.Example: If we knew each height, we could calculate a more exact mean.
- measure the central trend
- Used to know the typical value of the data sample.Example: The average height tells you how tall the students in that class are on average.
Mode of grouped data
- Modal class is the class with the largest frequency. Suppose that class is with frequency . Then the mode of the grouped data, denoted , is determined by:
.
where and are the frequencies of the class before and the class after the modal class, respectively. If there is no preceding class then , if there is no following class then .
- Meaning: The mode of grouped data is the value most likely to occur when sampling. The mode of grouped data is approximately the mode of the original sample. A sample may have no mode or more than one mode.
- Example: A class's Maths test score table: : 5; : 18; : 10; : 6. The modal class is because it has the largest frequency, 18. We have , , , , class width . Therefore:
So the mode is approximately points.
In plain words: The mode is the most common value, that is, the class with the most data. But since a class is an interval, we need a specific number within that interval. The formula pulls the mode toward whichever neighbouring class has the larger frequency: if the previous class is larger than the next one, the mode shifts left, otherwise it shifts right. The denominator is the sum of the two differences so that the added part does not exceed the class width. When calculating, remember the convention that the frequency of a class that does not exist is 0.
Phrase by phrase
- Modal class
- The class with the largest frequency in the table.Example: In the example above, class has the largest frequency, 18, so it is the modal class.
- Mode
- The value most likely to occur, determined from the class with the largest frequency, denoted .Example: points.
- if there is no class before the modal class then
- Convention: the frequency of the previous class is 0 when the modal class is the first class.Example: If the first class has the largest frequency then .
- has more than one mode
- When two or more classes share the largest frequency, each gives one mode.Example: If the class frequencies are 5, 8, 3, 8, 2 then there are two modal classes.
Common mistakesWhen calculating the mean, divide by the number of groups instead of dividing by the sample size . The formula is with .
Common mistakesWhen finding the modal class, only compare the frequencies of the groups to choose the largest one, but when substituting into the formula, mix up and . Remember that is the frequency of the preceding group and is the frequency of the following group.
Common mistakesForgetting the convention when the modal class is the first group, or when the modal class is the last group.
Common mistakesAfter calculating the mode, not checking whether the result lies in the modal class. The mode must lie in the interval . If it falls outside, the formula was wrong or the numbers were substituted incorrectly.
TipThe representative value of group is always . When calculating the mean, remember to multiply the frequency by the representative value and add them up, then finally divide by the sum of the frequencies.
TipWhen calculating the mode, check that the result lies within the range of the modal class. If not, review the substitution of , and the class width.
Worked examples
Example 1
A botanist measured the length of 74 leaves (unit: millimetres) and obtained the following grouped frequency table:
Class : 5; : 9; : 15; : 19; : 16; : 8; : 2.
a) State the classes and their corresponding frequencies. Calculate the sample size.
b) Calculate the average length of the 74 leaves (round to the hundredths place).
Show the solution to example 1
Step 1: The table has 7 classes, with frequencies 5; 9; 15; 19; 16; 8; 2. Sample size .
Why: The sample size is the sum of the frequencies, exactly the number of leaves measured.
Step 2: Calculate the representative value of each class (the average of the two endpoints):
: ; : ; : ; : ; : ; : ; : .
Step 3: Calculate the numerator:
;
;
;
;
;
;
.
Sum: .
Step 4: . Round to the hundredths place: .
Result: The average length is approximately mm.
Example 2
The weights (kg) of 42 students in class 11D are grouped as follows:
: 10; : 7; : 16; : 4; : 2; : 3.
Calculate the average weight of the students in class 11D (round to the hundredths place).
Show the solution to example 2
Step 1: Sample size .
Step 2: Representative values of the classes: ; ; ; ; ; .
Step 3: Numerator:
;
;
;
;
;
.
Sum: .
Step 4: . Round to the hundredths place: .
Result: The average weight is approximately kg.
Example 3
The Maths test results of class 11D are put into a grouped frequency table:
: 5; : 18; : 10; : 6.
Calculate the mode of the grouped data (round to the tenths place).
Show the solution to example 3
Step 1: The largest frequency is 18, which belongs to class . So the modal class is .
Step 2: Determine the values: ; ; ; ; class width .
Step 3: Apply the formula:
Round to the tenths place: .
Why: The following class has frequency 10, greater than the previous class's 5, so the mode is pulled to the right, that is, greater than 8 (the midpoint of the class).
Result: points.
TipThe mode always lies in the class interval with the largest frequency. If the following adjacent class interval has a greater frequency than the preceding adjacent class interval, then the mode is greater than the midpoint of the class interval; otherwise, the mode is less than the midpoint of the class interval.
Example 4
The heights (cm) of 50 students in class 11A are grouped:
: 6; : 14; : 12; : 8; : 10.
a) Calculate the mode of the grouped data.
b) Calculate the average height.
c) From the results, what can be concluded about the heights of the students in class 11A?
Show the solution to example 4
Step 1: a) The largest frequency is 14, which belongs to group . So the modal class is .
Step 2: ; ; ; ; class width .
Step 3: .
Step 4: b) Sample size . Representative values: ; ; ; ; .
Numerator: ; ; ; ; . Sum: .
.
Step 5: c) The mode cm shows that the most common height is around cm; the mean cm shows the general level. So the class has many students around cm tall but still has a group taller than cm, so heights are quite spread out.
Results: a) cm; b) cm; c) the most common height is about cm, the mean is about cm.
Example 5
An insurance agency records the number of female customers buying life insurance in one day by age group:
: 8; : 12; : 20; : 15; : 5.
a) Calculate the average age of the female customers.
b) Find the age group with the most female customers and calculate the mode.
c) If the agency wants to focus advertising on the largest group of female customers, which age group should it choose?
Show the solution to example 5
Step 1: a) Sample size . Representative values: ; ; ; ; .
Numerator: ; ; ; ; . Sum: .
.
Step 2: b) The group with the largest frequency is with 20 customers. This is the modal class.
; ; ; ; class width .
.
Step 3: c) Group has the most customers (20 people), the mode is about years old. So advertising should focus on the age group from 40 to under 50.
Results: a) years old; b) group , years old; c) choose group .
Example 6
The number of products each worker in a team makes in one day is grouped:
: 3; : 5; : 6; : 5; : 1.
a) Calculate the average number of products each worker makes in one day.
b) Find the mode of the grouped data.
c) If the team has 20 workers and wants to set a quota based on the average number of products, about how many products per day per worker should it set?
Show the solution to example 6
Step 1: a) Sample size . Representative values: ; ; ; ; .
Numerator: ; ; ; ; . Sum: .
.
Step 2: b) The group with the largest frequency is with 6 workers. This is the modal class.
; ; ; ; class width .
.
Step 3: c) The average number of products is 33, the mode is 35. The quota should be set at about 33 products per day per worker, because that is the average, while the mode of 35 shows that many workers make around 35.
Results: a) products; b) products; c) set a quota of about 33 products per day.
Terms
- Grouped data sample
- The data sample is presented as a frequency table of class intervals.Example: A height table with class intervals , , ...
- Class interval
- A set of values grouped by a criterion, usually of the form .Example: The age class interval.
- Frequency
- The number of values in the sample belonging to a class interval.Example: The class interval has frequency 14.
- Sample size
- The total number of values in the sample, equal to the sum of the frequencies.Example: The frequencies 6, 14, 12, 8, 10 give sample size .
- Representative value
- The average of the two endpoints of the class interval, used in place of the whole class interval in calculations.Example: The class interval has representative value .
- Class width
- The difference between the right endpoint and the left endpoint of the class interval.Example: The class interval has class width 5.
- Mean
- The representative value for the average level of the whole sample, denoted .Example: cm.
- Mode
- The value corresponding to the class interval with the largest frequency, denoted .Example: points.
Practise similar problems
Practice questions from the Ket noi tri thuc series on the same ideas as this lesson. Answer each one and get it marked straight away.
- Đọc bảng tần số ghép nhóm: số nhóm, độ dài nhóm, đầu mút, tần số
- Ghép nhóm một mẫu số liệu và lập bảng tần số ghép nhóm
- Tìm giá trị đại diện và số trung bình của mẫu số liệu ghép nhóm
- Tìm nhóm chứa mốt và tính mốt của mẫu số liệu ghép nhóm
- Tìm trung vị, tứ phân vị của mẫu số liệu ghép nhóm
- Giải thích ý nghĩa, so sánh hai mẫu bằng các số đặc trưng