Median and mode
中位数与众数
How do you find the median and mode?
Sort the data and take the middle value; average the two middle ones when the count is even; the mode is the most frequent value.
Sign in to read the whole lesson, with 1 more worked example, 11 exercises
Sign in / Sign upMastery goals
- Can find the median of a data set with an odd or an even number of values
- Can find the mode, including data sets with several modes or no mode and non-numerical data
Problem 3 In Problem 1 we found that the means of the shuttlecock-kick results of Groups A and B are and . Xiaolin kicked in min. She thinks her result is above the middle in Group A and below the middle in Group B. Do you agree?
For her result to be in the upper (or lower) middle of a group, it must beat (or fall short of) the results of at least half of the group — that is, beat (or fall short of) the result of the person ranked right in the middle.
Arrange each group's results from smallest to largest. Group A:
The number in the middle is , with numbers on each side. Group B:
The number in the middle is , with numbers on each side.
Xiaolin's is smaller than Group A's middle number and larger than Group B's middle number . So her result is in the lower middle of Group A and the upper middle of Group B — exactly the opposite of her own judgment.
The middle numbers and are another way to describe the central tendency of Group A's and Group B's data.
In general, when a set of data is arranged in order from smallest to largest (or largest to smallest), the number in the middle position is called the median of the set. When the number of data is odd, the number in the middle is the median; when it is even there are two numbers in the middle, and their mean is taken as the median.
After sorting, the data on the two sides of the median are equal in number, so the median shows the middle level of the data.
Example 5
In a women's km race, runners were chosen at random and their times (in minutes) were:
(1) What is the median of this sample?
(2) One runner took min. Is her result probably better than that of more than half of the runners in the race?
Solution: (1) First arrange the sample from smallest to largest:
The median is the mean of the two middle numbers and , that is . So the sample median is .
(2) From the sample median we can estimate that about half of the runners in the race took less than min and about half took more than min. This runner took min, which is less than the median, so we can infer that her result is better than that of more than half of the runners.
Problem 4 A class has three possible places for an autumn outing. Each student has one vote, and the votes for each place are in the table.
| Place | Botanical garden | Science museum | Aquarium |
|---|---|---|---|
| Votes |
Where do you think the class should go?
One vote each for the whole class is like a full survey of the class: what is collected is each student's choice (botanical garden, science museum or aquarium), which is also data in statistics. Unlike the data we have met so far, these are not numbers; they cannot be computed with or sorted, so we cannot describe the class's opinion by a mean or a median. In such a case we usually follow the rule that the minority yields to the majority, and take the place with the most votes as the class's opinion. The table shows the aquarium has the most votes, so it can stand for the opinion of the class.
The datum that appears most often in a set of data is called the mode of the set. For example, in Problem 4 the aquarium is the mode of the class's opinion. If two or more data tie for appearing most often, all of them are modes of the set; if no datum appears more than once, we say the set has no mode.
The mode is also a statistic describing central tendency. When a set of data has many repeated values, the mode often shows its central tendency well.
Related points
All points in this topicCite this page: Median and mode · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP004332