How do you Calculate Median of Grouped Frequency Distribution

How do you Calculate Median of Grouped Frequency Distribution

Median of Grouped Frequency Distribution
Median = ℓ + \(\frac{{\frac{N}{2} – C}}{f}\,\, \times \,\,h\)
where,
ℓ = lower limit of median class interval
C = cumulative frequency preceding to the median class frequency
f = frequency of the class interval to which median belongs
h = width of the class interval
N =  f1 + f2 + f3 + … + fn.
Working rule to find median
Step 1:      Prepare a table containing less than type cumulative frequency with the help of given frequencies.
Step 2 :     Find out the cumulative frequency to which \(\frac{N}{2}\) belongs. Class-interval of this cumulative frequency is the median class-interval.
Step 3 :     Find out the frequency f and lower limit l of this median class.
Step 4 :     Find the width h of the median class interval
Step 5 :     Find the cumulative frequency C of the class preceding the median class.
Step 6 :     Apply the formula,
Median = ℓ + \(\frac{{\frac{N}{2} – C}}{f}\,\, \times \,\,h\) to find the median

Read More:

Median of Grouped Frequency Distribution Example Problems with Solutions

Example 1:    Find the median of the followng distribution :

Wages (in Rs)No. of labourers
200 – 3003
300 – 4005
400 – 50020
500 – 60010
600 – 7006

Solution:    We have,                            

Wages (in Rs)No. of laboursLess than type cumulative frequency
200 – 30033
300 – 40058 = C
400 – 50020 = f28
500 – 6001038
600 – 700644

Here, the median class is 400 – 500 as \(\frac{44}{2}\) i.e. 22 belongs to the cumulative frequency of this class interval.
Lower limit of the median class = ℓ = 400
width of the class interval = h = 100
Cumulative frequency preceding median class frequency = C = 8
Frequency of Median class = f =20
Median = ℓ + h \(\left( {\frac{{\frac{N}{2} – C}}{f}} \right)\) = 400 + 100 \(\left( {\frac{{\frac{{44}}{2} – 8}}{{20}}} \right)\,\)
= 400 + 100 \(\left( {\frac{{22 – 8}}{{20}}} \right)\) = 400 + 100 \(\left( {\frac{{14}}{{20}}} \right)\)
= 400 + 70 = 470
Hence, the median of the given frequency distribution is 470.

Example 2:    Find the median for the following :

Class Interval0–88–1616–2424–3232–4040–48
Frequency8101624157

Solution:    

Class intervalFrequencyLess than type cumulative frequency
0 – 888
8 – 161018
16 – 241634 = C
24 – 3224 = f58
32 – 401573
40 – 48780

Since \(\frac{80}{2}\) = 40 lies in the cumulative frequency of the class interval 24 – 32, so 24 – 32 belongs to the median class interval.
Lower limit of median class interval = ℓ = 24.
Width of the class interval = h = 8
Total frequency = N = 80
Cumulative frequency preceding median class frequency = C = 34
Frequency of median class = f = 24
Median = ℓ + \(\left( {\frac{{\frac{N}{2} – C}}{f}} \right)\,\,\,h\)
= 24 + \(\left( {\frac{{\frac{{80}}{2} – 34}}{{24}}} \right)\) 8 = 24 + \(\left( {\frac{{40 – 34}}{{24}}} \right)\) 8
= 24 + 2 = 26
Hence, the median of the given frequency distribution = 26.

Example 3:    The following table shows the weekly drawn by number of workers in a factory :

Weekly Wages  (in Rs.)0–100100–200200–300300–400
No. of  workers40393430

Find the median income of the workers.
Solution:    

Weekly Wages  (in Rs.)No. of  workersLess than type cumulative frequency
0–1004040
100–2003979 = C
200–30034 = f113
300–40030143
400 – 50045188

Since \(\frac{188}{2}\) = 94 belongs to the cumulative frequency of the median class interval (200 – 300), so 200 – 300 is the median class.
Lower limit of the median class interval = ℓ = 200.
Width of the class interval = h = 100
Total frequency = N = 188
Frequency of the median class = f = 34
Cumulative frequency preceding median class
= C = 79
Median = ℓ + \(\left( {\frac{{\frac{N}{2} – C}}{f}} \right)\,\,\,h\) = 200 + \(\left( {\frac{{\frac{{188}}{2} – 79}}{{34}}} \right)\) 100
= 200 + \(\left( {\frac{{94 – 79}}{{34}}} \right)\) 100 = 200 + 44.117
= 244.117
Hence, the median of the given frequency distribution = 244.12.

Example 4:    The following frequency distribution gives the monthly consumption of electricity of 68 consumers of a locality. Find the median and mode of the data and compare them.

Monthly consumptionNumber of consumers
65 – 854
85 – 1055
105 – 12513
125 – 14520
145 – 16514
165 – 1858
185 – 2054

Solution:    

Monthly consumptionNumber of consumersLess than type cumulative frequency
65 – 8544
85 – 10559
105 – 1251322 =C
125 – 14520 = f42
145 – 1651456
165 – 185864
185 – 205468

Since \(\frac{68}{2}\) belongs to the cumulative frequency (42) of the class interval 125 – 145, therefore 125 – 145 is the median class interval
Lower limit of the median class interval = ℓ = 125.
Width of the class interval = h = 20
Total frequency = N = 68
Cumulative frequency preceding median class frequency = C = 22
Frequency of the median class = f = 20
Median = ℓ  + \(\left( {\frac{{\frac{N}{2} – C}}{f}} \right)\,\,\,h\) = 125 + \(\left( {\frac{{\frac{{68}}{2} – 22}}{{20}}} \right)\) 20
= 125 + \(\frac{{12 \times 20}}{{20}}\) = 125 + 12 = 137
The frequency of class 125 – 145 is maximum i.e., 20, this is the modal class,
xk = 125, fk = 20, fk-1 = 13, fk+1 = 14, h = 20
Mode = xk + \(\frac{{f – {f_{k – 1}}}}{{2f – {f_{k – 1}} – {f_{k + 1}}}}\)
= 125 + \(\frac{{20 – 13}}{{40 – 13 – 14}}\) × 20
= 125 + \(\frac{7}{{40 – 27}}\) × 20 = 125 + \(\frac{7}{{13}}\) × 20
= 125 + 10.77 = 135.77

Example 5:    Compute the median from the marks obtained by the students of class X.

MarksNumber of Students
40 – 495
50 – 5910
60 – 6920
70 – 7930
80 – 8920
90 – 9915

Solution:    First we will form the less than type cumulative  frequency distribution and we make the distribution continuous by subtracting 0.5 from the lower limits and adding 0.5 to the upper limits.

MarksNumber of studentsLess than type cumulative frequency
39.5 – 49.555
49.5 – 59.51015
59.5 – 69.52035 = C
69.5 – 79.530 = f65
79.5 – 89.52085
89.5 – 99.515100

Since \(\frac{100}{2}\) belongs to the cumulative frequency (65) of the class interval 69.5 – 79.5, therefore 69.5 – 79.5 is the median class.
Lower limit of the median class = ℓ = 69.5.
Width of the class interval = h = 10
Total frequency = N = 100
Cumulative frequency preceding median class frequency = C = 35
Frequency of median class = f = 30
Median = ℓ + \(\left( {\frac{{\frac{N}{2} – C}}{f}} \right)\,\,\,h\) = 69.5 + \(\left( {\frac{{\frac{{100}}{2} – 35}}{{30}}} \right)\) 10
= 69.5 + \(\left( {\frac{{50 – 35}}{{30}}} \right)\) 10 = 69.5 + \(\frac{{10 \times 15}}{{30}}\)
= 69.5 + 5 = 74.5
Hence, the median of given frequency distribution is 74.50.

Example 6:    An incomplete frequency distribution is given as follows :

VariableFrequency
10 – 2012
20 – 3030
30 –40?
40 – 5065
50 – 60?
60 – 7025
70 – 8018
Total229

Given that the median value is 46, determine the missing frequencies using the median formula.
Solution:    Let the frequency of the class 30 – 40 be f1 and that of 50 – 60 be f2.
From the last item of the third column, we have
150 + f1 + f2 = 229
⇒   f1 + f2 = 229 – 150
⇒ f1 + f2 = 79
Since, the median is given to be 46, the class 40 – 50 is median class
Therefore, ℓ = 40, C = 42 + f1, N = 299, h = 10
Median = 46, f = 65
Median = ℓ + \(\left( {\frac{{\frac{N}{2} – C}}{f}} \right)\,\,\,h\) = 46
46 = 40 + 10 \(\frac{{\left( {\frac{{229}}{2} – 42 – {f_1}} \right)}}{{65}}\)
⇒ 6 = \(\frac{{10}}{{65}}\left( {\frac{{229}}{2} – 42 – {f_1}} \right)\)
⇒ 6 = \(\frac{2}{{13}}\left( {\frac{{229 – 84 – 2{f_1}}}{2}} \right)\)
⇒ 78 = 229 – 84 – 2f1  ⇒ 2f1 = 229 – 84 – 78
⇒ 2f1 = 67   ⇒ f1 = \(\frac{{67}}{2}\) = 33.5 = 34
Putting the value of f1 in (1), we have
34 + f2 = 79
⇒ f2 = 45
Hence, f1 = 34 and f2 = 45.

Example 7:    Recast the following cumulative table in the form of an ordinary frequency distribution and determine the median.

No. of days absentNo. of students
less than 529
less than 10224
less than 15465
less than 20582
less than 25634
less than 30644
less than 35650
less than 40653
less than 45655

Solution:    

No. of daysNo. of studentsNo. of days absentNo. of studentsLess than type cumulative frequency
less than 5290 – 52929
less than 102245 – 10195224 = C
less than 1546510 – 15241 = f465
less than 2058215 – 20117582
less than 2563420 – 2552634
less than 3064425 – 3010644
less than 3565030 – 356650
less than 4065335 – 403653
less than 4565540 – 452655

Since \(\frac{655}{2}\) belongs to the cumulative frequency (465) of the class interval 10 – 15, therefore 10 – 15 is the median class.
Lower limit of the median class = ℓ = 10.
Width of the class interval = h = 5
Total frequency = N = 655
Cumulative frequency preceding median class frequency = C = 224
Frequency of median class = f = 241
Median = ℓ + \(\left( {\frac{{\frac{N}{2} – C}}{f}} \right)\,\,\,h\) = 10 + 5 \(\left( {\frac{{\frac{{655}}{2} – 224}}{{241}}} \right)\)
= 10 + 5 \(\left( {\frac{{327.5 \times 224}}{{241}}} \right)\) = 10 + \(\frac{{5 \times 103.5}}{{241}}\)
= 10 + 2.147 = 12.147
Hence, the median of given frequency distribution is 12.147.

Leave a Comment