-->

x-class-statistics-exercise3

Exercise-3


1. The following frequency distribution gives the monthly consumption of electricity of 68 consumers of a locality. Find the median, mean, and mode of the data and compare them.

Monthly consumption 65-85 85-105 105-125 125-145 145-165 165-185 185-205
Number of consumers 4 5 13 20 14 8 4

Solution:

Monthly consumption Number of consumers `f_i` Cumulative frequency Mid value `x_i` `d_i=x_i-a` `u_i=(x_i-a)/h` `f_iu_i`
65-85 4 4 75 -60 -3 -12
85-105 5 5+4=9 95 -40 -2 -10
105-125 13 13+9=22 115 -20 -1 -13
125-145 20 20+22=42 135(a) 0 0 0
145-165 14 14+42=56 155 20 1 14
165-185 8 8+56=64 175 40 2 16
185-205 4 4+64=68 195 60 3 12
`n=sum f_i=68` `sum f_iu_i=7`

Mean of the data:

assumed mean (a)=135

class size (h) = 205-185=20

Mean(`\bar x`) = `a+ {sum f_{i}u_{i}}/{sum f_{i}}times h `

`\therefore \bar x = 135+ {7}/{68}times 20 `

= 135+`140/68`=135+2.058=137.058.

`therefore` mean of the data is 137.1

Median of the data:

Total n=68 `\Rightarrow n/2=68/2=34`

cumulative frequency just greater than 34 is 42 it is belonging to the interval 125-145.

So, the median class is 125-145

Lower boundary `l` of median class=125

Class size (`h`) = 20

Frequency (`f`) of median class = 20

Cumulative frequency (`cf`) of class preceding median class = 22

Median = `l+[(n/2-cf)/f]times h`

  = `125+[(34-22)/20]times 20= 125 + 12=137`

∴ median of the data is 137

Mode of the data:

Since the maximum number of consumers (i.e., 20) is in the class interval 125-145

So, the modal class is 125-145

The lower boundary (` l `) of the modal class =125,

The class size ( `h`) = 20,

The frequency of modal class ( `f_1 `) = 20,

the frequency of the class preceding the modal class ( `f_0` ) = 13,

the frequency of the class succeeding the modal class ( `f_2` ) = 14.

Mode `=l+[{f_1-f_0}/{2f_1-f_0-f_2}]times h`

`=125+[{20-13}/{2times20-13-14}]times 20`

=125+`140/13 `=125+10.769=135.769

`\therefore`Mode of given data is 135.8.

For given data Mean=137.1,Median=137 and Mode =135.8 are approximately equal.


2. If the median of 60 observations, given below is 28.5, find the values of x and y.

Class interval 0-10 10-20 20-30 30-40 40-50 50-60
Frequency 5 x 20 15 y 5

Solution:

Class interval Frequency Cumulative frequency
0-10 5 5
10-20 x 5+x `cf`
`l` 20-30 20 `f` 25+x
30-40 15 40+x
40-50 y 40+x+y
50-60 5 45+x+y
n=60

Median =28.5

∴ 20 - 30 is median class

Then, `l` (the lower boundary) = 20,

cf (the cumulative frequency of the class preceding 20-30) = 5+x,

f (the frequency of the median class 20-30) = 20,

`h` (the class size) = 10

Median = `l+[(n/2-cf)/f]times h`

28.5`= 20+[(30-(5+x))/20]times 10`

`28.5-20= [(30-5-x)/2]`

`8.5 = [(25-x)/2]`

`8.5 times 2 = 25-x`

∴ x = 25-17 = 8

Given sum of frequency = 60

∴ 45+x+y=60

45+8+y=60

y`= 60-53=7`


3. A life insurance agent found the following data about the distribution of ages of 100 policyholders. Calculate the median age.

[Policies are given only to persons having age 18 years onwards but less than 60 years.]
Age(in years) Below 20 25 30 35 40 45 50 55 60
Number of policyholders 2 6 24 45 78 89 92 98 100

Solution:

As policies were given only to persons having age 18 years onwards but less than 60 years we can definitely class intervals with their respective cumulative Frequency as below

Age(in years) Number of policyholders Cumulative frequency
18-20 2 2
20-25 6-2=4 6
25-30 24-6=18 24
30-35 45-24=21 45 `cf`
`l` 35-40 78-45=33 `f` 78
40-45 89-78=11 89
45-50 92-89=3 92
50-55 98-92=6 98
55-60 100-98=2 100

Total n=100 `\Rightarrow n/2=100/2=50`

cumulative frequency just greater than 50 is 78 it is belonging to the interval 35-40.

So, the median class is 35-40

Lower boundary `l` of median class=35

Class size (`h`) = 5

Frequency (`f`) of median class = 33

Cumulative frequency (`cf`) of class preceding median class = 45

Median = `l+[(n/2-cf)/f]times h`

Median = `35+[(100/2-45)/33]times 5`

= 35 + `(50-45)/33 times 5`

= 35 + `25/33`=35+0.7575=35.76

∴The median age of policyholders is 𝟑𝟓.𝟕𝟔 years


4. The lengths of 40 leaves of a plant are measured correctly to the nearest millimeter, and the data obtained is represented in the following table Find the median length of the leaves.

Length (in mm) 118-126 127-135 136-144 145-153 154-162 163-171 172-180
Number of leaves 3 5 9 12 5 4 2

Solution:

The data needs to be converted to continuous classes for finding the median, since the formula assumes continuous classes. The classes then change to 117.5 - 126.5, 126.5 - 135.5, . . ., 171.5 - 180.5.

Length (in mm) Number of leaves Cumulative frequency
117.5 - 126.5 3 3
126.5 - 135.5 5 3+5=8
135.5-144.5 9 9+8=17 `cf`
`l` 144.5-153.5 12 `f` 12+17=29
153.5-162.5 5 5+29=34
162.5-171.5 4 4+34=38
171.5-180.5 2 2+38=40

n= 40 `Rightarrow n/2=40/2=20`

From the table, we may observe that cumulative Frequency just greater than 20 is 29

Median class 144.5-153.5

Lower limit (`l`) of median class 144.5

Class size (`h`) =9

Frequency (`f`) of median class = 12

Cumulative frequency (`cf`) of class preceding median class = 17

Median = `l+[(n/2-cf)/f]times h`

Median = `144.5+[(20-17)/12]times 9`

= 144.5 + `9/4`=144.5+2.25=146.75

∴ the median length of leaves is 146.75 mm


5. The following table gives the distribution of the lifetime of 400 neon lamps. Find the median lifetime of a lamp.

Lifetime (in hours) 1500- 2000 2000-2500 2500- 3000 3000 -3500 3500- 4000 4000- 4500 4500-5000
Number of lamps 14 56 60 86 74 62 48

Solution:

Life time (in hours) Number of lamps Cumulative frequency
1500- 2000 14 14
2000-2500 56 56+14=70
2500- 3000 60 60+70=130 `cf`
`l` 3000 -3500 86 `f` 86+130=216
3500- 4000 74 74+216=290
4000- 4500 62 62+290=352
4500-5000 48 48+352=400

n= 400 `Rightarrow n/2=400/2=200`

From the table, we may observe that cumulative Frequency just greater than 200 is 216

Median class 3000-3500

Lower limit (`l`) of median class 3000

Class size (`h`) =500

Frequency (`f`) of median class = 86

Cumulative frequency (`cf`) of class preceding median class = 130

Median = `l+[(n/2-cf)/f]times h`

Median = `3000+[(200-130)/86]times 500`

= 3000 + `35000/86`=3000+406.98=3406.98

∴ median lifetime of a lamp is 3407 hours


6. 100 surnames were randomly picked up from a local telephone directory and the frequency distribution of the number of letters in the English alphabet in the surnames was obtained as follows. Determine the median number of letters in the surnames. Find the mean number of letters in the surnames? Also, find the modal size of the surnames.

Number of letters 1-4 4-7 7-10 10-13 13-16 16-19
Number of surnames 6 30 40 16 4 4

Solution:

Number of letters Number of surnames `f_i` Cumulative frequency Mid value `x_i` `d_i=x_i-a` `u_i=(x_i-a)/h` `f_iu_i`
1-4 6 6 2.5 -6 -2 -12
4-7 30 30+6=36 5.5 -4 -1 -30
7-10 40 40+36=76 8.5 (a) 0 0 0
10-13 16 16+76=92 11.5 3 1 16
13-16 4 4+92=96 14.5 6 2 8
16-19 4 4+96=100 17.5 9 3 12
`n=sum f_i=100` `sum f_iu_i=-6`

Mean of the data:

assumed mean (a)=8.5

class size (h) = 4-1=3

Mean(`\bar x`) = `a+ {sum f_{i}u_{i}}/{sum f_{i}}times h `

`\therefore \bar x = 8.5+ {-6}/{100}times 3 `

= 8.5-0.18=8.32.

`therefore` mean the number of letters in the surnames is 8.32.

Median of the data:

Total n=100 `\Rightarrow n/2=100/2=50`

cumulative frequency just greater than 50 is 76 it is belonging to the interval 7-10.

So, the median class is 7-10

Lower boundary `l` of median class=7

Class size (`h`) = 3

Frequency (`f`) of median class = 40

Cumulative frequency (`cf`) of class preceding median class = 36

Median = `l+[(n/2-cf)/f]times h`

= `7+[(50-36)/40]times 3= 7 + `42/40`=7+1.05=8.05

∴ median number of the letters in the surname is 8.05

Mode of the data:

Since the maximum number of surnames (i.e., 40) is in the class interval 7-10

So, the modal class is 7-10

The lower boundary (` l `) of the modal class =7,

The class size ( `h`) = 3,

The frequency of modal class ( `f_1 `) = 40,

the frequency of the class preceding the modal class ( `f_0` ) = 30,

the frequency of the class succeeding the modal class ( `f_2` ) = 16.

Mode `=l+[{f_1-f_0}/{2f_1-f_0-f_2}]times h`

`=7+[{40-30}/{2times40-30-16}]times 3`

=7+`30/34 `=7+0.88=7.88

`\therefore`Modal size of surnames is 7.88


7. The distribution below gives the weights of 30 students of a class. Find the median weight of the students.

Weight (in kg) 40-45 45-50 50-55 55-60 60-65 65-70 70-75
Number of students 2 3 8 6 6 3 2

Solution:

Weight (in kg) Number of students Cumulative frequency
40-45 2 2
45-50 3 3+2=5
50-55 8 8+5=13 `cf`
`l` 55-60 6 `f` 6+13=19
60-65 6 6+19=25
65-70 3 3+25=28
70-75 2 2+28=30

n= 30 `Rightarrow n/2=30/2=15`

From the table, we may observe that cumulative Frequency just greater than 15 is 19

Median class 55-60

Lower limit (`l`) of median class 55

Class size (`h`) =5

Frequency (`f`) of median class = 6

Cumulative frequency (`cf`) of class preceding median class = 13

Median = `l+[(n/2-cf)/f]times h`

Median = `55+[(15-13)/6]times 5`

= 55 + `5/3`=55+1.67=56.67

∴ The median weight of the students is 56.67 kg


< Median Ogive curves >