How to find median?
Let us suppose a set of data is given in which there are 'n' numbers.
So here two cases arise .
1) When n is odd .
Set of data is arranged in ascending/descending order.(from least to greatest).
Then median is the middle number.
2) When n is even.
Set of data is arranged in ascending/descending order(from least to greatest).
In this case , there are two middle numbers.
So median is the average(mean) of these two numbers.
Now let us illustrate this with an example.
First case :- when n is odd
Suppose set of data is 4,2,7,5,1,3,9
Arrange them in ascending order :- 1,2,3,4,5,7,9
Here the value of n is 7 which is odd.
So median is the middle number and that is 4.
Second case :- when n is even.
Suppose set of data is 3,9,2,6,5,2,1,4
Arrange them in ascending order :- 1,2,2,3,4,5,6,9
Here the value of n is 8 which is even.
So median is the mean of the two middle numbers.
Thus median is
IMPORTANT:- DO NOT FORGET TO ARRANGE THE SET OF DATA IN ASCENDING/DESCENDING ORDER.
So here two cases arise .
1) When n is odd .
Set of data is arranged in ascending/descending order.(from least to greatest).
Then median is the middle number.
2) When n is even.
Set of data is arranged in ascending/descending order(from least to greatest).
In this case , there are two middle numbers.
So median is the average(mean) of these two numbers.
Now let us illustrate this with an example.
First case :- when n is odd
Suppose set of data is 4,2,7,5,1,3,9
Arrange them in ascending order :- 1,2,3,4,5,7,9
Here the value of n is 7 which is odd.
So median is the middle number and that is 4.
Second case :- when n is even.
Suppose set of data is 3,9,2,6,5,2,1,4
Arrange them in ascending order :- 1,2,2,3,4,5,6,9
Here the value of n is 8 which is even.
So median is the mean of the two middle numbers.
Thus median is
IMPORTANT:- DO NOT FORGET TO ARRANGE THE SET OF DATA IN ASCENDING/DESCENDING ORDER.