Median and Mode (Statistics for Psychologists)

Median

Median of an observation is the value of the variable which divides it into two equal parts. It is the value which is

  1. If there are odd number of observations, the value in the middle of the ordered list.
  2. If there are even number of observations, it is the arithmetic mean of values in the middle of the ordered list.

The median is a positional average. Sometimes, in case of even number of observations, instead of arithmetic mean of values in the middle, one of the two is chosen randomly.

Steps to Calculate Median

  1. Find N/2, where N is the total number of observations.
  2. Sort the observations and tabulate it. Add a third column to calculate the cumulative (total) frequency.
  3. Spot the x with cumulative frequency just greater than N/2. That will be your median.

Example 7: Find the median of 2, 3, 3, 5, 6, 6, 6
Solution: Note that N = 7, hence, N/2 = 3.5. So, the 4th observation, x =5 is the median.

Example 8: Find the median of 1, 11, 11, 13, 16, 17.
Solution: Note that N = 6. The values in centre are, 11 and 13. Then by the rule, we can choose 11 or 13 as the median. Or, we can take their average, (11+13)/2 = 12 as their median as well.

Example 9: Pick any 5 numbers. Find its (arithmetic) mean and median.

Example 10: Obtain the median for the following frequency distribution:

x:123456789
f:810111620251596

Solution: Here, the value of x’s are already sorted.

xfCumulative Frequency
188
2108+10 = 18
31118+11= 29
41629+16= 45
52045+20= 65
62565+25= 90
71590+15= 105
89105+9= 114
96114+6= 120
N = 120

Hence, N = 120 and N/2 = 60.

Observe the cumulative frequency column. The value just greater than 60 in it is 65. Corresponding value to 65 of x is 5.

Hence, median is 5.


In the case of continuous frequency distribution, the class corresponding to the cf. just greater than NI2 is called the median class and the value of median is obtained by the following formula:

Median = =l+{h/over f}\left({N\over 2}-c\right)

where l is the lower limit of the median class.
               f is the frequency of the median class.
               h is the magnitude of median class
               ‘c’ is the cumulative frequency  of the class preceding the median class.
               and N = f


Example 11: Find the median wage of the following distribution:

Wages (in Rs.):20-3030-4040-5050-6060-70
No. of labourers:3520105

Solution:

Wages (x, in Rs.)No. of labourers (f)Cumulative Frequency
20-3033
30-4053+5 = 8
40-50208+20 = 28
50-601028+10 = 38
60-70538+5 = 43
N = 43 

Now, N/2 = 43/2 = 21.5.

Cumulative frequency just greater than 21.5 is 28 and corresponding class is 40-50.

Thus, the median class is 40-50. Thus,

l = 40,    f = 28,    h = 10,   c = 8,     N = 43.

Using the formula,

Median = =l+{h\over f}\left({N\over 2}-c\right)

Example 12: Find the median of the following distribution:

Wages (in Rs.):10-3030-5050-7070-90
No. of labourers:461812

(Try it yourself!)

Merits and Demerits of Median

RequisiteMeritDemeritNotes
It is rigidly defined.  
It is easy to understand and calculate. …and in some cases, it can be calculated by just looking at the distribution!
It is not affected much by extreme observations.  
It is not suitable for further mathematical treatment.  
It is not based on all observations Consider the distribution 10, 14, 20, 32, 35. Even if we replace 10 and 14 by two numbers less than 20, median will not change.
In comparison to mean, it is affected by fluctuation in sampling.  

Mode

Mode is the value which occurs most frequently in a set of observations, and around which other values tend to be around. The mode of a distribution is the value of x corresponding to maximum frequency. A distribution may have two modes (bi-modal) or more than two (multimodal).

Example 13: Find the mode of the following distribution:

x:123456789
f:410111620251596

Solution: 25 has the highest frequency. Hence the mode is the corresponding x value, 6.

Example 14: Find the mode of the following distribution:

x:123456789
f:410111620251596

Solution: (Try it yourself!)

In case of class-intervals, suppose xk-xk+1 is the modal class with highest frequency fk, then

\text{Mode}=l+h\times{f_k - f_{k-1}\over 2 f_k - f_{k-1} - f_{k+1}}

where l is the lower limit of the modal class.

Example 15: Find the mode of the following distribution:

Class Interval:0-1010-2020-3030-4040-5050-6060-7070-80
Frequency:5871228201010

Solution: Here, maximum frequency is 28. Thus the class 40-50 is the modal class.

Then, l = 40, h = 10, fk = 28, fk-1 = 12, fk+1 = 20.

Mode =

Example 16: Find the mode of the following distribution:

Class Interval:5-1010-1515-2020-2525-30
Frequency:5817128

Solution: (Try it yourself!)

Sometimes, mode can be approximated from mean, using the formula Mode = 3 Median – 2 Mean.

RequisiteMeritDemeritNotes
It is ill-defined. Mode of a distribution need not be unique.
Easy to understand and calculate. …and in some cases, simply by inspection.
We can find mode of open-ended classes  
It is not at all affected by extreme observations.  
It is not suitable for further mathematical treatment.  
It is not based on all observations  
In comparison to mean, it is affected by fluctuation in sampling.  
Advertisement

One Comment Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.