Median Part 2

Median is the middlemost number in a set of numbers when the numbers are arranged in ascending or descending order.

 

For example: Consider the data {7, 4, 3, 8, 8}.

 

On arranging the numbers in ascending order, we have: 3, 4, 7, 8, 8.

 

So, the median is 7 as 7 is the middlemost number.

 

When the number count is even, we need to add both the middlemost numbers and divide the obtained result by 2.

 

For example: Consider the data {5, 9, 2, 6, 3, 4}.

 

On arranging the numbers in ascending order, we have: 2, 3, 4, 5, 6, 9

 

The two middlemost numbers are 4 and 5.

 

(4 + 5)
 2
=
9
2
=
4.5

So, the median is 4.5.