Table of Contents
Process to find the Median of an Array
There are a few steps you need to take in order to find the median of an array.
1. Arrange the data in ascending order.
2. Find the middle value in the array.
3. If the array has an odd number of values, the median is the value that is in the middle.
4. If the array has an even number of values, the median is the average of the two middle values.
What is Median?
A median is a number in a set of data that is found by arranging all of the data in numerical order and then finding the middle number. It is the number that is greater than half of the numbers and less than the other half. To find the median, you must first order the numbers from least to greatest. Then, find the number that is exactly in the middle of the series. If there is an odd number of numbers, the median is the middle number. If there is an even number of numbers, the median is the average of the two middle numbers
How to find the Median of Ungrouped Data?
To find the median of ungrouped data, follow these steps:
1. Arrange the data in ascending order.
2. If the data has an odd number of values, the median is the value in the middle. If the data has an even number of values, the median is the average of the two values in the middle.
3. If the data is not in ascending order, find the value in the middle of the data and order the data around that value.
How to find the Median with an Even Number of Observations?
If there is an even number of observations in the data set, the median is the average of the two middle values.
How to find the Median in Maths for Grouped Frequencies?
To find the median in maths for grouped frequencies, first find the median of the data set when it is not grouped. Then, divide the data set into groups of the same size, and find the median of each group. Finally, find the median of the resulting medians.
Solved Examples
1. How to find the median of the following set = {11, 22, 33, 55, 66, 99}
Answer: The given set {11, 22, 33, 55, 66, 99} is in ascending order.
The number of terms contained in the given list = 6 terms
Thus, the set contains an even number of elements.
The middle two terms of the list are 33 and 55.
Hence, the median of the set of numbers is = (33 + 55)/2
= 42.50