Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

Find the median of the following data 12, 17, 3, 14, 5, 8, 7, 15.

Answer
VerifiedVerified
562.8k+ views
Hint: The given data is ungrouped. Here we have to find the median of an ungrouped data set. The median refers to the middle data point of an ordered data set at the 50% percentile. It is important to know that if a data set has an odd number of observations, then the median is the middle value and if it has an even number of observations then the median will be the average of the two middle values.

Complete step-by-step solution:
In general the formula to find the median ($\widetilde{x}$) of an ungrouped data set is
\[\widetilde{x}=\dfrac{n+1}{2}\]
 Ranked value
Here, n= number of observations
Firstly, for an ungrouped data set, it is important to sort the data in an increasing order
So here let’s first sort $12, 17, 3, 14, 5, 8, 7,15$ into an increasing order (ascending order).
Increasing order: $3, 5, 7, 8, 12, 14, 15, 17$
Now, let us find the number of observations. As there are 8 observations.
Number of observations = $n = 8$ (even)
Now here let us find, \[\widetilde{x}\] by substituting it in the formula
\[\widetilde{x}=\dfrac{n+1}{2}\]
\[\widetilde{x}=\dfrac{8+1}{2}=\dfrac{9}{2}=4.5\]
Here it can be observed that the value of $n$ that is the number of observations is even so the median will be the average of two middle values.
As calculated the median is at 4.5 which means the average of $4^{th}$ and $5^{th}$ data points.
$4^{th}$ data point = 8
$5^{th}$ data point= 12
Average = \[\dfrac{{{4}^{th}} \text{data point } + {{5}^{th}} \text{data point }}{2}\]
Average of 4th and 5th data point =
\[\dfrac{8+12}{2}=\dfrac{20}{2}=10\]
Hence the median of the following ungrouped data is 10.

Note: While solving for the median in an ungrouped distribution of data the number of observations should be counted first. The value of $\dfrac{n+1}{2}$ should not be mistaken with the value of the median. Not always we will have a value at the $\dfrac{n+1}{2}$ position, in cases like these, the average of the data points near the $\dfrac{n+1}{2}$ should be calculated. The average calculated will be the median of the ungrouped data.