Given the data set: 12, 36, 22, 27, 31, 17. What is the median value?
24.5
To find the median, first arrange the values in ascending order.
Sorted data: \(12,\ 17,\ 22,\ 27,\ 31,\ 36\).
There are \(6\) values (an even count), so the median is the average of the two middle values, the \(3^{rd}\) and \(4^{th}\) terms.
The middle values are \(22\) and \(27\).
Median \(=\frac{22+27}{2}=\frac{49}{2}=24.5\).
Hence, the median value is 24.5.
| Height (cm) | Number of persons |
|---|---|
| 120 | 3 |
| 130 | 4 |
| 140 | 5 |
| 150 | 6 |
| 160 | 2 |
| Value | 3 | 2 | k | 4 | 5 |
| Frequency | k | 2k | 3k | 4k | 5k |