Notes on Lesson 9: Measures of central tendency (Maths 11 Ket noi tri thuc)
Lesson summary
Suppose a grouped data sample has class intervals with frequencies ().
The median is the value that divides the ordered sample into two halves, each with the same number of data values.
Each class interval is an interval, with no specific number to add.
This content is not yet available in English. It is shown below in the original Vietnamese.
- Tính số trung bình, trung vị, tứ phân vị, mốt của mẫu số liệu ghép nhóm.
- Hiểu ý nghĩa và rút ra kết luận cho thực tiễn.
A school wants to know how tall grade 11 students are on average, below what height half of them are, and around what height the tallest students usually fall. The data collected are given as a grouped table like , , rather than each height written out. This lesson helps you compute the mean, median, quartile, and mode from a grouped table, and understand what each of these numbers says about real life.
Key ideas: what do you need to know?
Mean of a grouped data sample
Suppose a grouped data sample has class intervals with frequencies ().
- The representative value of the class interval is , that is, the average of its two endpoints.
- The sample size is .
- Note: for discrete data, class intervals are usually given in the form with , meaning the class interval consists of the values . Before computing the measures, we adjust the class interval into the class interval ; for example, the score class interval 5-7 becomes .
- The mean of the grouped data sample, denoted , is
- Example: the class interval has representative value ; if this class interval has 7 students, it contributes to the numerator.
In plain words: Each class interval is an interval, with no specific number to add. Imagine the whole class interval is gathered at its middle, and take the average of the two endpoints as its representative. Every student in the class interval is counted as being cm tall. Why is this reasonable? Because the students in the class interval are spread evenly around the middle, where most of them are, so taking the middle as the representative lets the biases cancel each other out. The formula is just a weighted average: a larger class interval has a louder voice.
Phrase by phrase
- representative value
- The number that stands for the whole class interval, equal to the average of its two endpoints.Example: The class interval has representative value .
- Sample size
- The total number of quantitative data, equal to the sum of the frequencies.Example: If three class intervals have frequencies 7, 10, 5, then .
- Mean
- Formula : multiply each frequency by its representative value, add them up, then divide by the sample size.Example: Two class intervals: , ; , , then .
Median of a grouped data sample
The median is the value that divides the ordered sample into two halves, each with the same number of data values. How to calculate it:
- Step 1: Find the group containing the median, that is, the first group whose cumulative frequency is greater than or equal to . Suppose that is group number : .
- Step 2:
where is the sample size, is the frequency of group ; for we take by convention .
- Example: if then , the first group whose cumulative frequency reaches 28 is exactly the group containing the median.
In plain words: The median is the place that "splits the group in half". Line up the whole class by height, and the friend standing in the middle is the median. With a grouped table, you do not know where each friend stands, so you have to find which group contains the middle position. Add up the frequencies from the lowest group upward; the group that passes half the sample size contains the median. Why does the formula have a part multiplied by the class width? Because inside that group, the data are treated as spread evenly, so however much of the group is needed, that much of the class width is added.
Phrase by phrase
- cumulative frequency
- The sum of the frequencies from the first group to the group being considered.Example: With frequencies 3, 12, 15, the cumulative frequency up to group 3 is 30.
- group containing the median
- The first group whose cumulative frequency is greater than or equal to .Example: , the group with cumulative frequency 30 is the group containing the median.
- Notation for the median; the formula takes the left endpoint of the group containing the median and adds the missing part calculated by the proportion within the group.Example: Group , , , : .
Quartiles of grouped data
Quartiles divide the ordered sample into four parts, each with about data values.
- First quartile : find the group containing , which is the first group whose cumulative frequency is greater than or equal to , suppose it is group number : . Then
- Third quartile : find the group containing , which is the first group whose cumulative frequency is greater than or equal to , suppose it is group number : . Then
- Second quartile is exactly the median .
- For , we take by convention .
In plain words: The median splits in two, the quartiles split in four. Picture a line of friends ordered by height: is the friend standing at the one-quarter mark, is the middle one, is the friend at the three-quarter mark. Finding them works just like the median, only the mark to reach changes: for , for , for . The range from to contains half the friends in the middle, so it shows how "typical" the whole class is.
Phrase by phrase
- Quartiles
- The three marks , , divide the ordered sample into four equal parts.Example: then is at mark 14, at mark 28, at mark 42.
- First quartile
- The formula for the first quartile, the same form as the median but with mark .Example: Group , , , : .
- Third quartile
- The formula for the third quartile, with mark .Example: Group , , , : .
- is exactly the median
- The halfway mark is both the second quartile and the median.Example: : .
Common mistakesMixing up the quartile thresholds: using for or for .
Mode of grouped data
The mode is the value that appears most often, that is, it corresponds to the group with the largest frequency. How to find it:
- Step 1: Identify the modal class, which is the group with the largest frequency, suppose it is group number : .
- Step 2:
where is the frequency of group , is the class width, with the convention .
- Note: the mode is only defined for grouped data whose groups have equal class widths. A sample may have no mode or more than one mode; for example, when the frequencies of the groups are equal, the grouped data have no mode.
- Example: group has frequency 30, the largest; the group before has frequency 12, the group after has frequency 18, then .
In plain words: The mode is the busiest spot. But if you only say "group is the busiest", you still do not know which part of the group is busy. The formula pulls the mode toward whichever neighbouring group is busier: if the group before is almost as busy, the mode shifts left; if the group after is busier, the mode moves right. Why divide by the sum of the two differences? So that the added part stays inside the class width and does not go beyond the interval.
Phrase by phrase
- modal class
- The group with the largest frequency in the table.Example: With frequencies 7, 14, 10, the second group is the modal class.
- Notation for the mode; the formula takes the left endpoint of the busiest group and adds the part shifted toward the busier neighbouring group.Example: Group , frequency 30, the two neighbouring groups have frequencies 12 and 18: .
- equal class widths
- The condition for defining the mode of grouped data.Example: The groups , , all have length 2.
- has more than one mode
- When two or more groups share the largest frequency, each of those groups gives a mode.Example: With frequencies 5, 8, 3, 8, 2 there are two modal classes.
Common mistakesDividing by the number of groups instead of by the sample size when calculating the mean.
TipAfter calculating, check that the result lies within the range of the group you just used; if it falls outside, the formula was wrong.
Meaning and conclusion from the characteristic numbers
The measures of central tendency each give one number representing the whole sample, but each looks at the sample in its own way:
- The mean uses all the data, suitable when you want to know the general level; but it is easily pulled off by a few very large or very small values.
- The median only cares about the middle position, little affected by outliers, so use it when the sample has strongly uneven data.
- Quartile shows how spread out the middle half of the data is: the narrower the range from to , the more concentrated the data.
- The mode shows the most common value, used when you want to know which size or type is most popular; the mode of grouped data approximates the mode of the original data sample and is also used to measure the central trend of the data sample.
- The numbers computed from the grouped table (mean, median, quartile, mode) are only approximate values of the corresponding numbers of the original data sample, because each whole group has been replaced by its representative value.
- Example conclusion: a height mode of about cm means students in that class are usually around that tall; a median of students means half the classes have no more than 42 students.
- These characteristic numbers are also used in many other subjects and in practice: Biology (leaf length, livestock weight), Geography (temperature, average rainfall), Economics and Law education (salary levels, household spending).
In plain words: Four numbers like four storytellers telling the same story. The mean says "the whole class weighs about this much", the median says "the person in the middle weighs about this much", the quartile says "the middle half lies in this range", the mode says "this size is the most popular". When to use which? If the sample has one student who is much taller, the mean gets pulled up, and then the median is more trustworthy. But when you need to know which size customers prefer so you can stock up, the mode is the answer.
Phrase by phrase
- measure the central trend
- Find a number in the middle that represents the whole data sample.Example: The average height of the class is a measure of central trend.
- easily pulled off by a few very large or very small values
- A few unusual data points make the mean change strongly.Example: If 9 people earn 10 million and one earns 200 million, the mean jumps to 29 million.
- the narrower the range from to , the more concentrated the data
- The length of the quartile range shows how even the middle half of the data is.Example: , then the middle half stretches from 15.25 to 20.
- the most common value
- Meaning of the mode: the group with the largest frequency.Example: If shoe size 39 sells best, the mode is 39.
Use spreadsheet software to compute the characteristic numbers
Spreadsheet software (Excel, Google Sheets, LibreOffice Calc) helps quickly compute the characteristic numbers of grouped data. How to do it:
- Enter one group per row: column is the left endpoint , column is the right endpoint , column is the frequency .
- Column is the representative value: in cell type the formula then drag it down to the end of the table.
- Sample size: where is the last row of the table.
- Mean: .
- Cumulative frequency: in cell type , in cell type then drag down; look at column to find the group containing the median, , .
- Mode: find the largest frequency with to identify the modal class.
The software only does the addition, multiplication and division for you; choosing the right group and substituting the right numbers into the formulas for median, quartile and mode is still up to you.
In plain words: The machine does not understand a grouped table by itself, you have to show it one group per row along with its frequency. Once you have the representative values and frequencies, the mean is just a multiplication then a division. For the median, quartile and mode, the machine adds up the frequencies and computes for you, but choosing the group is still yours: look at the cumulative frequency column to see which group the marks , , fall into.
Phrase by phrase
- SUMPRODUCT
- A function that multiplies each pair of cells then adds them up, exactly the numerator of the mean formula.Example: Frequencies 6; 14 multiplied by representative values 152.5; 157.5 give .
- Cumulative frequency
- A column that adds up the frequencies, used to choose the group containing the median and quartile.Example: Frequencies 6; 14; 12; 8 give the cumulative column 6; 20; 32; 40.
- MAX
- A function that returns the largest frequency, helping detect the modal class.Example: MAX of 6; 14; 12; 8 is 14.
TipThree thresholds to remember: for , for the median, for ; just count the cumulative frequency until it passes the threshold and you have the group.
TipThe formulas for the median and the quartiles share one pattern: left endpoint plus (threshold minus the cumulative frequency before the group) divided by the group frequency, times the class width.
Worked examples
Example 1
Given grouped data on the weight (kg) of 42 students in class 11D:
Group : 10; group : 7; group : 16; group : 4; group : 2; group : 3.
Compute the mean of the data sample (round to the hundredths place).
Show the solution to example 1
Step 1: Calculate the representative value of each group: ; ; ; ; ; .
Why: The representative value is the average of the two endpoints, for example .
Step 2: Sample size .
Step 3: Numerator: .
Step 4: .
Result: kg.
Example 2
The time (in minutes) spent on the Internet each evening by 56 students is given in the table:
: 3; : 12; : 15; : 24; : 2.
Calculate the median of this grouped data.
Show the solution to example 2
Step 1: Sample size , so .
Step 2: Build the cumulative frequency: 3; 15; 30; 54; 56. The first group with cumulative frequency greater than or equal to 28 is the third group .
Why: The second group only reaches 15, not yet 28; the third group reaches 30, so it contains the middle position.
Step 3: With : , , , class width .
Step 4: .
Result: minutes.
Common mistakesFinding the group containing the median by comparing with the frequency of each group on its own instead of with the cumulative frequency, so the wrong group is chosen.
Common mistakesForgetting the convention when the modal class is the first group, or forgetting when it is the last group.
Example 3
Using the data table from example vd-02 (56 students, groups 3 minutes wide), calculate the first quartile and the third quartile .
Show the solution to example 3
Step 1: , so and .
Step 2: Cumulative frequency: 3; 15; 30; 54; 56. The first group to reach 14 is the second group , so this group contains .
Step 3: .
Why: Take the mark 14 minus the cumulative frequency before the group (3), divide by the group frequency (12) to find how much of the width 3 is needed.
Step 4: The first group to reach 42 is the fourth group , so this group contains .
Step 5: .
Result: ; (minutes).
Example 4
The Maths test results of a class are grouped:
: 5; : 18; : 10; : 6.
Calculate the mode of the grouped data (round to the tenths place).
Show the solution to example 4
Step 1: The largest frequency is 18, which belongs to the second group , so the modal class is .
Step 2: Class width ; ; ; ; .
Step 3: .
Why: The following group (10) is larger than the previous group (5), so the mode is pulled to the right, that is greater than 8, the middle point of the group.
Result: points.
TipThe mode always lies in the largest group; if the next group is larger than the previous one, the mode is greater than the midpoint of the group, otherwise it is less.
Example 5
The height (cm) of 50 students in class 11A is grouped:
: 6; : 14; : 10; : 12; : 8.
a) Calculate the mode. b) Calculate and . c) From the results, draw a simple conclusion about the height of the class.
Show the solution to example 5
Step 1: a) The largest frequency is 14 in the group , , , .
.
Step 2: b) , , . Cumulative frequency: 6; 20; 30; 42; 50.
Step 3: The first group to reach 12.5 is , so .
Step 4: The first group to reach 37.5 is , so .
Why: and are the one-quarter and three-quarter marks, so half of the students in the middle of the class are about 152.3 cm to 163.1 cm tall.
Step 5: c) The mode of about 153.3 cm shows the most common height is around that level; the quartile range of about 10.8 cm wide shows that heights in the class are quite spread out.
Result: a) cm; b) cm, cm; c) the class has a common height around 153 cm and is quite varied.
Example 6
The number of students in 100 classes is grouped, with cumulative frequency:
: 9 (cumulative 9); : 20 (29); : 20 (49); : 30 (79); : 21 (100).
a) Find the median. b) A parent says "every class in this school has about 43 students". Is that reasonable?
Show the solution to example 6
Step 1: a) , . The cumulative frequency 49 has not reached 50, the fourth group reaches 79, so the group containing the median is .
Step 2: .
Why: It is short by exactly 1 student compared with the mark 50, so the median is very close to the left endpoint 42.
Step 3: b) A median of about 42.07 means that half of the classes have no more than about 42 students, and the other half have more.
Step 4: The largest group is with 30 classes, the calculated mode is .
Step 5: The mode is about 43 but the median is only about 42, a difference of nearly 1 student; saying "every class has about 43" is too certain, because there are still 29 classes with fewer than 40 students.
Result: a) students; b) the remark is only partly right, not completely reasonable.
Example 7
A shoe shop recorded the shoe sizes sold in one month, in groups of width 1 size:
: 8; : 25; : 40; : 22; : 5.
a) Calculate the mode and the mean. b) Which size should the shop stock in large quantities? If next month one customer buys 10 more pairs of size 45 (group ), how does the mean change, and should it be used to decide what to stock?
Show the solution to example 7
Step 1: a) The largest frequency is 40 in group , , , .
.
Step 2: Representative values: ; ; ; ; . Sample size .
Step 3: .
Step 4: b) The mode is about 38.45 and the mean is about 38.41, both pointing to size 38, so stocking plenty of size 38 makes sense.
Step 5: Adding 10 pairs of size 45 gives , , pulled up to nearly size 39; the largest group and its two neighbours do not change, so the mode is still about 38.45.
Why: The mean uses every value, so one very large value skews it; the mode only looks at the largest group, so it still reflects the best-selling size.
Conclusion: a) , ; b) stock plenty of size 38, and rely on the mode rather than the mean when there is an outlier.
Common mistakesUsing the mean to draw a conclusion when the sample has an outlier, while the median is the one that is hardly skewed.
Example 8
Use spreadsheet software to calculate the mean and the mode for the data sample of the heights (cm) of 40 students:
: 6; : 14; : 12; : 8.
Show the solution to example 8
Step 1: Enter one row per group: column is the left endpoint, column is the right endpoint, column is the frequency.
Step 2: Column calculates the representative value with the formula , giving ; ; ; .
Step 3: The sample size is , giving .
Step 4: The mean is . The numerator is , so .
Step 5: Mode: the function gives the largest frequency as 14, which belongs to group , with , , . Substituting: .
Conclusion: cm; cm, matching the hand calculation; the software just makes the adding and multiplying faster.
Common mistakesTaking the left endpoint of a group as the representative value when calculating the mean, for example taking 150 instead of 152.5 for group .
Terms
- Grouped data
- A table dividing the data into groups with their frequencies.Example: Group has 7 students.
- Representative value
- The average of the two endpoints of the group.Example: The class interval has representative value .
- Frequency
- The number of data values falling into a group.Example: Group has frequency 10.
- Cumulative frequency
- The sum of the frequencies of the groups from the first up to the group being considered.Example: With frequencies 3, 12, 15, the cumulative frequency of the third group is 30.
- Mean
- The weighted average of the representative values, denoted .Example: .
- Median
- The value that divides the sorted sample into two equal halves, denoted .Example: minutes.
- Quartiles
- The three thresholds , , divide the sample into four parts.Example: , .
- Mode
- The value corresponding to the group with the largest frequency, denoted .Example: cm.
- Sample size
- The total number of data values, equal to the sum of the frequencies, denoted .Example: .
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.
This content is not yet available in English. It is shown below in the original Vietnamese.
Quãng đường (km) các cầu thủ (không tính thủ môn) chạy trong một trận đấu bóng đá tại giải ngoại hạng Anh được cho trong bảng thống kê sau:
Quãng đường (km): , , , , .
Số cầu thủ: 2, 5, 6, 9, 3.
Tính quãng đường trung bình một cầu thủ chạy trong trận đấu này.
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
- Giải thích ý nghĩa, so sánh hai mẫu bằng các số đặc trưng (Applying)
Challenge yourself
- Tìm trung vị, tứ phân vị của mẫu số liệu ghép nhóm (Applying)
- Tìm nhóm chứa mốt và tính mốt của mẫu số liệu ghép nhóm (Applying)
- Tìm giá trị đại diện và số trung bình của mẫu số liệu ghép nhóm (Applying)
Ask a parent to sign in and create your profile to unlock more. It's free. Sign in