mode, median, mean examples
# Example 1
mode: 3,7
median:
$$3,3,5,6,7,7,8,9$$
$$\tilde{x}=\frac{6+7}{2}=6.5$$
mean: 6
# Example 2
value | frequency |
---|---|
1 | 1 |
2 | 2 |
3 | 3 |
4 | 5 |
5 | 3 |
6 | 1 |
mode: 4
median: 4 (#8)
mean: $\bar{x}=\frac{1\cdot 1+2\cdot 2+3\cdot 3+5\cdot 4+3\cdot 5+1\cdot 6}{15}=\frac{11}{3}$
# Problem 1 - Whooping cough
age | number affected (frequency) | middle values |
---|---|---|
under 1yr | 1400 | 0.5 |
1-2 years | 3300 | 2 |
3-4 years | 3500 | 4.5 |
5-9 years | 3900 | 5 |
10-14 years | 500 | 12.5 |