Lesson 8.4 · Statistics
Median and mode
The mean is one way to describe a typical value, but it isn't always the best one. One very large or very small value can pull the mean far away from most of the data. The median is a measure of center that doesn't get pushed around so easily, and the mode tells you the most common value.
The median
The median is the middle value when the data is in order. Half of the data is at or below it, and half is at or above it.
Definition
Median
The median is the middle value of a data set listed in order from least to greatest.
- If there is an odd number of values, the median is the one in the middle.
- If there is an even number of values, there are two middle values. The median is the mean of those two: add them and divide by 2.
Worked example: An odd number of values
Find the median of .
Step 1: put the values in order.
Step 2: find the middle. There are 7 values, so the middle one is the 4th, with 3 values on each side:
The median is 7.
Worked example: An even number of values
Six students recorded how many minutes they spent reading: . Find the median.
Step 1: order.
Step 2: find the middle. With 6 values, the two middle values are the 3rd and 4th: 25 and 30.
Step 3: find the number halfway between them.
The median is 27.5 minutes. Notice it isn't one of the data values, and that's fine.
Common mistake
The most common mistake is finding the middle of the list without putting it in order first. In the first example, the middle of the unordered list is 5, but the median is 7. Always order the data first.
The mode
Definition
Mode
The mode is the value that appears most often. A data set can have one mode, more than one mode, or no mode at all (if every value appears the same number of times).
- : the mode is 5.
- : there are two modes, 1 and 4.
- : every value appears once, so there is no mode.
On a dot plot, the mode is the value with the tallest stack.
Worked example: Median and mode from a dot plot
The dot plot shows the shoe sizes of 11 students.
Mode: The tallest stack is above 7, so the mode is 7.
Median: A dot plot already puts the data in order from left to right. There are 11 values, so the median is the 6th value. Count marks from the left: size 5 is the 1st, size 6 covers the 2nd and 3rd, and size 7 covers the 4th through 7th. The 6th value is 7.
Mean or median?
Worked example: When an outlier pulls the mean
Five people work at a small shop. Their weekly pay, in dollars, is
The 1,750 is the owner's pay.
- Mean:
- Median: The values are already in order. The middle value is 450.
Four of the five people earn less than $700, so the mean doesn't describe a typical worker very well. The one very large value pulled the mean up. The median, $450, is much closer to what most people earn.
Choosing a measure of center
- The median is not affected much by outliers or lopsided (skewed) data. Use it when the data has values far away from the rest.
- The mean uses every value, so an outlier pulls it toward that outlier. It works well when the data is roughly symmetric with no outliers.
Tip
To find the middle position in a long ordered list of values, compute . For 11 values, that's position 6. For 20 values, it's 10.5, which tells you to average the 10th and 11th values.
Practice
Find the median of .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the median of .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the mode of .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find all the modes of . Separate them with a comma.
Separate answers with commas, e.g. 2, -5
The dot plot shows how many times 13 students went to the library last month. What is the median?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Here are the prices, in thousands of dollars, of five houses on a street: . Which measure of center best describes a typical house price on this street?
The data set gets one more value, . After that, the median of the five values is 8. What is ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.