Find the median of the following data:
(i) 31,38,27,28,36,25,35,40
Find the median of the given data.
Given data: 31,38,27,28,36,25,35,40
Arrange the observations in ascending order: 25,27,28,31,35,36,38,40
Here, the total number of observations (n) =8
When n is even, then median =n2thvalue+n2+1thvalue2
=82thvalue+82+1thvalue2=4thvalue+4+1thvalue2=4thvalue+5thvalue2=31+352=662=33
Hence, the median of the given data is 33.