Read a frequency table as a short list to find the mode and median
A frequency table is a list written short, so every average from it uses both columns.
Frequency table
A frequency table lists each value once, with its frequency, the number of times that value occurs.
A table's averages are those of the full list, as in the guide Averages:
- The mode is the value, or values, with the highest frequency.
- The median is the middle value of the list in order.
- The mean is the total divided by the number of values.
The longest row gives the mode, and the middle of the nine sizes gives the median.
To find the median from a long table:
- Add the frequencies to find n.{n\text{.}}n.
- Work out n+12,{\frac{n + 1}{2}\text{,}}2n+1, the median's position.
- Keep a running total of the frequencies down the table until it reaches that position.
For even n,{n\text{,}}n, the median is halfway between the two middle values, which may lie in different rows.
Checking and finding a median
Leah says the median number of pets these children own is 9. Explain why she is wrong, then find the median.
| Pets | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| Frequency | 5 | 9 | 6 | 3 |
- A median lies between the smallest and largest values, 0 and 3, so 9 is impossible. Leah has given a frequency.
- n=5+9+6+3=23,{n = 5 + 9 + 6 + 3 = 23\text{,}}n=5+9+6+3=23, so the median is the 23+12=12th{\dfrac{23 + 1}{2} = 12\text{th}}223+1=12th value.
- The running total is 5, then 5+9=14.{5 + 9 = 14\text{.}}5+9=14. It first reaches 12 in the row for 1, so the median is 1 pet.
Wrong. In a table of goals per match, 3 goals has the highest frequency, 9, so the mode is 9 goals.
Right. The frequency 9 counts matches, not goals, so the mode is 3 goals.
Multiply each value by its frequency to find the total and the mean
Each row adds its value times its frequency, fx,{fx\text{,}}fx, to the total. The total frequency is the number of values.
The row for 0 siblings adds nothing to the total, but its 3 people still count.
mean=total of fxtotal frequency \text{mean} = \frac{\text{total of } fx}{\text{total frequency}} mean=total frequencytotal of fxwhere x{x}x is a value and f{f}f is its frequency. Use it for the mean number of goals per match over a season.
Wrong. For quiz scores of 11, 12, 13 and 14 with frequencies 6, 9, 3 and 2, the mean is (66+108+39+28)÷4=60.25.{(66 + 108 + 39 + 28)} \div 4 = 60.25\text{.}(66+108+39+28)÷4=60.25.
Right. There are 6+9+3+2=20{6 + 9 + 3 + 2 = 20}6+9+3+2=20 students, not 4 rows, so the mean score is 241÷20=12.05.{241 \div 20 = 12.05\text{.}}241÷20=12.05.
Write every product fx,{fx\text{,}}fx, both totals and the division, and round only at the end. Once the products are right, finish the division and cross out any other attempt.
To explain a wrong total, name the faulty step, then give the correct total.
Testing a total against a limit
A van carries at most 800 kg. Sam adds the masses, 20+25+50=95 kg,{20 + 25 + 50 = 95\ \text{kg,}}20+25+50=95 kg, and says these sacks are within the limit. Explain why he is wrong.
| Mass of sack (kg{\text{kg}}kg) | 20 | 25 | 50 |
|---|---|---|---|
| Frequency | 12 | 10 | 7 |
- Sam has used one column alone. There are 12 sacks of 20 kg, not one, so each mass is multiplied by its frequency.
- The products are 20×12=240,{20 \times 12 = 240\text{,}}20×12=240, 25×10=250{25 \times 10 = 250}25×10=250 and 50×7=350.{50 \times 7 = 350\text{.}}50×7=350.
- The total is 240+250+350=840 kg,{240 + 250 + 350 = 840\ \text{kg,}}240+250+350=840 kg, more than 800 kg,{800\ \text{kg,}}800 kg, so the sacks are over the limit.
Finding a missing frequency
71 tickets were sold. How many people bought 3 tickets?
| Tickets bought | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Frequency | 9 | 12 | ? | 5 |
- The known rows give 1×9+2×12+4×5=9+24+20=531 \times 9 + 2 \times 12 + 4 \times 5 = 9 + 24 + 20 = 531×9+2×12+4×5=9+24+20=53 tickets.
- The other 71−53=18{71 - 53 = 18}71−53=18 tickets were bought in threes, so 18÷3=6{18 \div 3 = 6}18÷3=6 people bought 3 tickets.
Grouped data gives a modal class, the median's class and an estimated mean
In a grouped frequency table each row is a class interval, such as 10<t≤20{10 < t \le 20}10<t≤20 (more than 10, at most 20), so the exact values are unknown. The mean is then an estimate, with every value in a class taken as its midpoint.
Midpoint
The midpoint of a class interval is the value halfway between its ends.
Wherever the nine times lie between 10 and 20 seconds, each one counts as 15.
In place of the mode, grouped data has a modal class.
Modal class
The modal class is the class interval with the highest frequency.
The median lies in the first class whose running total reaches half the total frequency.
Averages from a grouped bar chart
A bar chart shows the distances, d km,{d\ \text{km,}}d km, that 40 people travel to work. Its bars for 0<d≤5,{0 < d \le 5\text{,}}0<d≤5, 5<d≤10,{5 < d \le 10\text{,}}5<d≤10, 10<d≤15,{10 < d \le 15\text{,}}10<d≤15, 15<d≤20{15 < d \le 20}15<d≤20 and 20<d≤25{20 < d \le 25}20<d≤25 have heights 12, 10, 8, 6 and 4. Find the class interval that contains the median, then estimate the median and the mean.
- On this bar chart the heights are the frequencies, so half the total frequency is 40÷2=20.{40 \div 2 = 20\text{.}}40÷2=20.
- The running total is 12, then 12+10=22,{12 + 10 = 22\text{,}}12+10=22, which reaches 20 in 5<d≤10,{5 < d \le 10\text{,}}5<d≤10, not the middle class, 10<d≤15.{10 < d \le 15\text{.}}10<d≤15.
- The 20th value is the 20−12=8th{20 - 12 = 8\text{th}}20−12=8th of the 10 in that class. Spread evenly across its 5 km width, the median is about 5+810×5=9 km.{5 + \dfrac{8}{10} \times 5 = 9\ \text{km.}}5+108×5=9 km.
- Using the midpoints, not the class ends, the total is about 2.5×12+7.5×10+12.5×8+17.5×6+22.5×4=400 km.2.5 \times 12 + 7.5 \times 10 + 12.5 \times 8 + 17.5 \times 6 + 22.5 \times 4 = 400\ \text{km.}2.5×12+7.5×10+12.5×8+17.5×6+22.5×4=400 km.
- Dividing by the 40 people, not the midpoints added, the mean is about 400÷40=10 km.{400 \div 40 = 10\ \text{km.}}400÷40=10 km.
Here the modal class is 0<d≤5,{0 < d \le 5\text{,}}0<d≤5, the tallest bar, not the median's class.
- Why must every average from a frequency table use both columns?
- Explain why a mean found from grouped data is only an estimate.
Which value in order is the median of 31 values in a frequency table?
Solution
The 16th
In a frequency table, fx{fx}fx totals 54 and the frequencies total 20. What is the mean?
Solution
2.7