The median is a measure of central tendency. Now, you’re going to learn how to determine the median given values in a frequency table.
The first step towards finding the median in a frequency table is to find the middle value in the data set. The sum of all the frequencies in a frequency table is called . The number is very important when you want to find the median in a frequency table.
Rule
There are two cases:
Finding the median is easy once you have the middle number.
Rule
The median is simply the value of the middle number. If is an even number, where there are two middle numbers, then the median is the mean of these two numbers.
This will be easier to understand after looking at a couple of examples.
Example 1
This frequency table shows how many PCs a group of youths have in their homes.
Number of PCs | Frequency |
0 | 2 |
1 | 7 |
2 | 6 |
3 | 3 |
4 | 0 |
5 | 1 |
Find the median number of PCs per house.
In order to find the middle number, you need to first know how many homes there are. This is the same as the sum of the frequencies—how many youths were asked this question. This sum is
Since 19 is an odd number there is only one number in the middle and we can use the first rule above:
The tenth person is the median. So who was the tenth person? There were two youth with no PCs. There were seven with one, so that’s with one or less. So the tenth person must be the first with 2 PCs. So the median is 2.
You could have seen this more easily if the table were expanded to include the cumulative frequency. Let’s try that!
Number of PCs | Frequency | Cumulative Frequency |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You see that the first row in cumulative frequency to cross 10 is the row with 2 PCs. This is another way of determining that the median is 2.
What if the sum is an even number? You will see that case in the next example.
Example 2
You take a walk along a street in Hollywood and count the number of cars parked in front of each home. You organize the information you find in the frequency table below. Since you remember that having the cumulative frequency can be helpful, you add that right away.
Number of Cars | Frequency | Cumulative Frequency |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Find the median number of cars.
Just like in Example 1, you need to find the middle number by adding the number of homes together. This is the sum of the frequencies:
You could have also seen this from the last row in the cumulative frequency. Since 24 is an even number, there are now two middle numbers:
and
Both the 12th and 13th houses are the middle numbers here. You can see from the cumulative frequency that the 12th house had two cars and the 13th house was the first to have three cars. The median is the mean of these two:
So the median number of cars per house on this street is .