Notes on Lesson 2: Measures of central tendency for ungrouped data samples (Maths 10 Canh Dieu, Chapter VI)
Lesson summary
Meaning: The mean is the average value of the numbers in the sample, it shows the central position of the data sample and can be used to represent the sample when the data do not differ too much.
Median (denoted ) is the value that stands in the middle position of a data sample arranged in non-decreasing order (or non-increasing order).
The mean is like sharing a cake equally: put all the values together and share them equally among the elements, each element gets an equal part.
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 không ghép nhóm
- Giải thích ý nghĩa và vai trò của các số đặc trưng trong thực tiễn
Think about this: in a class, if one student is much taller than everyone else, does the average height of the whole class still truly represent the 'typical height'? Or in a shoe shop, how do you know which shoe size to stock more of so it sells best? Today's lesson will help you answer questions like these. You will learn how to calculate and understand the meaning of four measures: the mean, the median, the quartile and the mode, and from there know which one to choose to best describe a data sample in real life.
Key ideas: what do you need to know?
Mean
- The mean (or average) of the data sample , denoted , is calculated by the formula:
.
- When the data sample is given as a frequency table, where is the frequency of the value and , the mean is calculated by:
.
- Meaning: The mean is the average value of the numbers in the sample, it shows the central position of the data sample and can be used to represent the sample when the data do not differ too much.
- Example: The sample has .
In plain words: The mean is like sharing a cake equally: put all the values together and share them equally among the elements, each element gets an equal part. Because it evens everything out, it represents well when the values are fairly even. However, precisely because it evens out, a value that is too large or too small also gets a share, pulling the result off. For example, one student scoring 1 in a class where everyone gets 8 or 9 will pull the average down, even if it is just one student. When you see an outlier in the data, you should think right away of the median instead of the mean.
Phrase by phrase
- Mean
- The sum of all values divided by the number of values.Example: The sample has .
- frequency table
- A table that records each value together with the number of times it appears.Example: If the value 7 appears 4 times, then the frequency of 7 is 4.
- central position of the data sample
- The spot that represents the whole sample, with the other values gathered around it.Example: If the class average score is 7.2, then 7.2 lies in the middle of the common score range.
Median
- Median (denoted ) is the value that stands in the middle position of a data sample arranged in non-decreasing order (or non-increasing order).
- How to find it: Arrange the data sample of quantitative data into a non-decreasing sequence.
+ If is an odd number, the median is the data value in the position (the one in the middle).
+ If is an even number, the median is the average of the two data values in the and positions.
- Remark: The median is not necessarily one of the numbers in the data sample. When the values in the sample do not differ greatly, the mean and the median are approximately equal.
- Meaning: The median is not affected by outliers, while the mean is. Therefore, when a data sample has an outlier, people usually use the median to represent the data sample.
- Example: The sample has odd, so the median is the third value, that is, .
In plain words: The median is like standing in the middle of a line when everyone lines up by height. Even if one very tall friend stands at the end of the line, the person in the middle does not move. That is why the median resists outliers: it only cares about order, not about how big the values are. Remember two things: you must sort first, and if the number of values is even, take the average of the two in the middle. The sample has mean 9 but median only 8, because the number 20 pulls the mean up.
Phrase by phrase
- Median
- The value in the middle after sorting the data sample.Example: The sample has median 4.
- non-decreasing order
- Arrange from smallest to largest, allowing equal values to stand next to each other.Example: is a non-decreasing sequence.
- outlier
- A value that is very large or very small compared with most of the other values.Example: In , the number 20 is an outlier.
- the average of the two data values in the and positions
- The median formula when the sample size is even: take the average of the two middle values.Example: The sample has .
Quartile
- The quartiles of a data sample of quantitative data are the three values that divide the data sample, arranged in non-decreasing order, into four parts by convention (when is divisible by 4, each part has exactly 25% of the values).
- How to find them:
+ Arrange the data sample in non-decreasing order.
+ Find the median of the sample, that is .
+ If is even number: is the median of the lower half (to the left of ), is the median of the upper half (to the right of ).
+ If is odd number: is the median of the lower half not including , is the median of the upper half not including .
- Meaning: The three values reflect how spread out the data sample is, and each value also measures the trend of the corresponding part of the data.
- Example: The sample has ; the left half gives ; the right half gives .
In plain words: Quartiles are like splitting your line into four equal groups: the short group, the medium-short group, the medium-tall group, and the tall group. is the end of the first group, is the middle mark, is the end of the third group. A good tip is to find first, then cut the sample in half at . The easiest mistake is when is odd number: the value is not counted in the left half or the right half, it stands alone in the middle.
Phrase by phrase
- Quartile
- The three marks divide the sorted sample into four parts by convention (when is divisible by 4, each part has 25% of the values).Example: A sample of 8 values has 2 values in each part.
- The second quartile, which is the median of the whole sample.Example: The sample has .
- not including
- When cutting the sample in half, leave the middle value out of both halves (applies when is odd number).Example: Sample : leave out the number 3, the left half is , the right half is .
TipFind the quartiles in the right order: find first, split the data sample in half at , then find the median of each half; remember to leave out when is odd.
Mode
- The mode of a data sample is the value with the largest frequency in the frequency distribution table, denoted .
- Note: A data sample may have one or several modes.
- Meaning: The mode represents the value that repeats most often at one position in the data sample. Based on the mode, we can draw useful conclusions about the statistical unit.
- Example: The sample has mode 7, because 7 appears 3 times, the most.
In plain words: The mode is the best-selling dish on the menu: not the tastiest, not the one in the middle, but the one ordered most. That is why the mode suits classification data such as shoe sizes sold, shirt colors chosen, or drinks ordered. Remember two things: count the frequency first, then draw the conclusion, and if two values tie for the most appearances then the sample has two modes, while if every value appears equally often then the sample has no mode.
Phrase by phrase
- Mode
- The value with the largest frequency in the sample.Example: The sample has mode 4.
- largest frequency
- The number of appearances that is the most.Example: In , the largest frequency is 3, corresponding to the value 7.
- no mode
- Every value appears with the same frequency.Example: The sample has no mode.
Meaning and how to choose representative values
- The mean, median, quartiles and mode are all numbers that measure the central trend, giving information about the centre of the data sample and used to represent the data sample.
- The mean is used to represent the sample when the values are fairly even, with no outliers.
- The median is used when the sample has outliers, because it is not pulled off by those values.
- The quartiles also show where the marks fall when the sample is split into four parts, useful when comparing two samples.
- The mode is used when the sample has many coincident values, especially for quantitative data in classification form.
- Example: If the money donated (thousand dong) by 9 friends is , then the median of 15 thousand dong should be used to represent it; the mean of about 68.9 thousand dong is pulled up by the value 500.
In plain words: Each characteristic number is a way of looking at a data sample, like looking at a person through height, weight or shirt size. No single number is right for every case, it depends on the data. When the data has a troublemaker, choose the median. When the data is steady, the mean says a lot because it uses all the values. When the question is "which kind is most liked", choose the mode. When you need to know where the low group and the high group are, choose the quartiles.
Phrase by phrase
- numbers that measure the central trend
- A number that represents the typical level of the whole data sample.Example: The mean, median, quartiles, mode.
- represent the sample
- Use one number in place of a whole long list.Example: Say the class average is 7.2 instead of reading out 40 marks.
- not pulled off by those values
- Whether an outlier changes to big or small, the median does not change much.Example: The sample still has median 8.
The reasonableness of quantitative data
- Based on the median and quartiles of the data sample, at first we can notice unusual values in the sample.
- In practice, unusual values of a data sample are determined with deeper mathematical tools.
In plain words: The median and quartiles tell us where most of the data is concentrated. If a value lies too far from these marks, that is a sign to check: it may be an unusual value. In grade 10, we only recognise this at first; determining it officially needs deeper tools.
Phrase by phrase
- unusual value
- A value that is very large or very small compared with most other values in the sample.Example: In the sample , the number 100 is an unusual value.
- the reasonableness of quantitative data
- Checking whether a value fits with most of the sample.Example: A height of 250 cm in a sample of grade 10 students is a value that needs checking again.
Worked examples
Example 1
Find the mean of the data sample: .
Show the solution to example 1
Step 1: Count the sample size: the sample has values.
Step 2: Add the values: .
Why: The mean is the sum of all values divided by the number of values, so all 7 numbers must be added, including both 6s.
Step 3: .
Result: .
Example 2
The Maths test marks of 10 friends in the group were recorded: 6; 7; 7; 8; 8; 8; 9; 9; 10; 10. a) Make a frequency table. b) Find the mean using the frequency table and check again with the usual formula.
Show the solution to example 2
Step 1: a) Count the frequency: the value 6 has frequency 1; 7 has frequency 2; 8 has frequency 3; 9 has frequency 2; 10 has frequency 2. Sample size .
Step 2: b) Find .
Why: A value that repeats how many times is added that many times, so multiply frequency by value to keep it short.
Step 3: .
Step 4: Check again: the sum of the 10 original values is , divided by 10 gives 8.2, which matches.
Result: .
Example 3
Find the median of the two data samples: a) ; b) .
Show the solution to example 3
Step 1: a) The sample is already sorted in non-decreasing order, is odd, with , so .
Step 2: b) The sample is already sorted in non-decreasing order, is even, with , so .
Why: When the sample size is even there is no single value in the middle, so you must take the average of the two middle values.
Step 3: Compare with the mean: sample a) has , greater than the median 8 because the number 20 pulls it up.
Result: a) ; b) .
Common mistakesFinding the median but forgetting to sort the data sample in non-decreasing order, just taking the middle value of the original list. You must sort again before finding the middle position.
Common mistakesWith an even sample size, still taking one middle value as the median, when you must take the average of the two middle values.
Common mistakesSeeing an outlier in the data sample but still insisting on using the mean as the representative, so the conclusion is skewed. When there is an outlier, use the median.
TipWith odd, the median is exactly at position ; with even, take the average of the two values at positions and .
Example 4
Find the quartiles of the two data samples: a) ; b) .
Show the solution to example 4
Step 1: a) The sample has odd, already sorted in non-decreasing order. Median .
Step 2: The left half (not including ) is , its median is . The right half is , its median is .
Why: is odd so the value 7 stands alone in the middle and is not counted in either half.
Step 3: b) The sample has even. .
Step 4: The left half is , median . The right half is , median .
Result: a) , , ; b) , , .
Common mistakesFinding quartiles when is odd but still counting in the left half or the right half, which shifts , by one step. When is odd, you must leave out of both halves.
TipBefore finding the median or quartiles, rewrite the data sample in non-decreasing order and number them so you do not mix them up.
Example 5
A shoe shop recorded the sizes of 12 pairs sold in the morning: 38; 39; 39; 40; 40; 40; 41; 41; 41; 41; 42; 43. a) Find the mode. b) If the shop only restocks one shoe size, which size should it choose?
Show the solution to example 5
Step 1: Count the frequencies: 38 appears 1 time, 39 twice, 40 three times, 41 four times, 42 once, 43 once.
Step 2: The largest frequency is 4, which goes with the value 41, so the mode is 41.
Why: The mode is the value that appears with the largest frequency, not the value in the middle or the maximum value.
Step 3: b) Size 41 sells best, so restocking size 41 makes the most sense.
Result: a) the mode is 41; b) restock size 41.
Common mistakesConfusing the mode with the maximum value or the value in the middle of the sample; the mode is the value with the largest frequency.
Example 6
The class fund donations (unit: thousand dong) of 9 friends in a group are: (one friend asked their parents to donate 500 thousand). a) Find the mean and the median. b) Which number should be used to say "about how many thousand dong does each friend in the group donate"?
Show the solution to example 6
Step 1: The data sample is already sorted in non-decreasing order and has values.
Step 2: The sum of the values is , so (thousand dong).
Step 3: is odd, with , so the median is (thousand dong).
Why: The mean averages all 9 values, so the value 500 pulls it up very strongly, giving 68.9, more than 4 times the level of 15; the median only looks at the fifth value, so it stays right where most friends' donations are.
Step 4: b) Only one friend donated 500 thousand, the other eight donated from 5 to 25 thousand. Using the mean 68.9 would misrepresent the majority, so use the median 15 thousand dong as the representative.
Result: a) thousand dong, thousand dong; b) use the median 15 thousand dong.
Terms
- Mean
- The sum of the values divided by the number of values, denoted .Example: The data sample has .
- Median
- The value at the middle position of the sorted sample, denoted .Example: The data sample has .
- Quartile
- The three markers divide the sorted sample into four equal parts.Example: The data sample has , , .
- First quartile
- Another name for .Example: The data sample has first quartile 3.
- Third quartile
- Another name for .Example: The data sample has third quartile 10.
- Mode
- The value that appears with the largest frequency in the data sample, denoted .Example: The data sample has mode 5.
- Frequency
- The number of times a value appears in the sample.Example: In , the value 3 has frequency 2.
- Outlier
- A value that is very large or very small compared with most of the other values.Example: The number 100 in the data sample .
- Sample size
- The number of values in the data sample, usually denoted .Example: The data sample has sample size .
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.