Median:
To find the median, we first need to sort the values from smallest to highest.
The median separates the bottom 50% from the top 50%.
In a sorted set of n elements, which n is odd, the median is the element at the position: ((n+1)/2).
If n is even, the median is given by the mean of the elements at those following positions: (n/2, (n/2)+1).
Example:
Sorted: {1,2,3}
n = 3, element at the position (3+1)/2 = 2.
So the median is 2.
Sorted: {1,2,3,4}:
n = 4, so the mean between the elements at these following positions:
n/2 = 4/2 = 2, the element at the position 2 is 2.
(n/2)+1 = (4/2)+1 = 2 + 1 = 3, the element at the position 3 is 3.
The median is 2+3/2 = 5/2 = 2.5
In this question:
We have 20 elements.
The median will be the mean between the 10th and the 11th elements of the sorted set.
Sorted set:
In an ascending way.
{0.275, 0.277, 0.278, 0.279, 0.281, 0.282, 0.283, 0.289, 0.29, 0.296, 0.296, ...}
The 10th element is 0.296
The 11th element is also 0.296
(0.296 + 0.296)/2 = 0.296
The median is 0.296