Median
Median
The median of a dataset is the middle value when the data are ordered into an
ascending order. The median is not influenced by extreme values/outliers as
long as the sample size remains the same.
Median for Ungrouped data
1 For odd Number of Observations
Order the n observations x1 , ..., xn in an ascending order.
The median is the ( n+1
2
)th ordered observation
2 For even Number of Observations
Order the n observations x1 , ..., xn in an ascending order.
The median (middle) position lies anywhere between the ( n2 )th and ( n+2
2
)th
ranks of the ordered set of observations arranged in an ascending order.
However, for simplicity, we usually take the arithmetic mean of the two
middle observations in the increasing ordered array of numbers as the
position of the median.
Observation number 1 2 3 4 5 6 7
Observation 1 2 4 5 6 8 9
ii Since n is odd the median position is calculated as:
Median position=( n+1 th 8 th th
2 ) = ( 2 ) = 4 position
iii Thus the median value is 5.
Exercise
Consider the following set of data.
2,8,11,5,6,8,9,30
Compute the median value.
The following table gives the frequency distribution of the daily wages of 60
factory workers.
Wages No of workers
50-69 10
70-89 15
90-109 20
110-119 10
120-129 5
60