The median represents the element that is in the middle of all the data, having the same number of numbers above it as there are below it.
The median represents the element that is in the middle of all the data, having the same number of numbers above it as there are below it.
-> Number of elements in the set
Notice - We will obtain the position of the median and not the median itself. The median will be the value that occupies the position we obtained in the formula.
The median will be the average of the two elements that occupy the positions:
and
In this article, we will learn what the median is, how to find it within an even or odd set of numbers, and how it differs from the mean.
The median is a certain index in statistics that reveals a specific piece of data about the entire set.
It is no coincidence that it is called "median," it comes from the middle, as it represents the element that is exactly in the middle. Half of the numbers are above it and the other half below.
For example: What is the median in the following numerical set?
Solution: the median is . The two numbers below: and and the two above it: and .
The median shows us that is the center of the numerical set.
Finding the median in an odd set of numbers is quite easy
We just need to find a number that has the same amount of lower values as it does higher values.
We can act according to the formula (when the number of numbers is odd) and thus obtain the position that the median occupies.
Observe: the formula does not return the median, but the place it occupies.
-> Number of elements in the set
If there are few elements in the set, we will not need the formula and can act in the following way:
First step -> Arrange the numbers in ascending order.
Second step -> Locate the number that is in the middle, separating two groups that have the same number of elements.
What is the median in the following set:
?
Solution:
First step ->
Let's arrange the numbers in ascending order.
We will obtain:
Second step -> Let's locate the middle number.
We will obtain:
The median is . It is in the center - below it there are numbers and above it there are another numbers.
What would happen if we were asked to find the median within a very large set of numbers? For example, numbers?
In such a case, we should use the formula to find the position where the median is located.
What is the position of the median in a set that has numbers?
Solution:
Let's use the formula:
The position of the median is .
When we are presented with a set with an even number of elements, we cannot locate the center one at first glance, since there is no element that has the same number of numbers above it as it does below.
So, what is done?
The median in a set with an even number of numbers is the average of the 2 elements that occupy the central positions.
That is, if there are numbers in the set and is an even number, the median will be the average of the two elements that occupy the positions:
and
What is the median in the following set:
?
Solution:
Observe: If the numbers are not arranged in ascending order, first, we will arrange them.
We will find the number of elements in the set ->
The median will be the average of the number in the third position and the number in the fourth position .
That is, the median is the average of the elements and . We will obtain:
The median is .
What would be the median in a set that has numbers?
Solution:
The median will be the average of the two numbers that occupy the positions:
and
Note: We are not actually calculating the average of and . These are just the positions that the elements whose values we will take to calculate the average and then, obtain the median.
The median is not affected by extreme numbers while the mean is influenced by all the numbers in the set.
Is it an advantage or disadvantage? We cannot know. It depends on the given set of numbers. Therefore, we cannot argue that one index is better than the other absolutely.