You are on page 1of 3

(Course STA301)

Assignment No.2
Muhammad Sheraz
Bc080200115
Question No. 1:
For the given cumulative frequency table of students of different age groups, calculate the
coefficient of standard deviation and coefficient of variation.
Age in
Cumulative
years
frequency of
students (cf)
5-8
3
9-12
15
13-16
24
17-20
51
21-24
57
25-28
60
Answer:
Age

c.f

fx

fx2

5-8

6.5

19.5

126.75

9-12

15

10.5

12

12.6

1323

13-16

24

14.5

130.5

1892.25

17-20

51

18.5

27

499.5

9240.75

21-24

57

22.5

135

3037.5

25-28

60

26.5

79.5

2106.75

x=99

f=60

fx=990

fx2=17727

fx 2 fx
Variance= S =

f f

17727 990
S =

60
60
S 2 = 295.45 272.25
S 2 = 23.2
Standard Deviation= S = 23.2 = 4.82
S
Co-efficient of Standard Deviation=
X
2

fx
990
= 16.5
so X =
f
60
S 4.82
= 0.29
Now Co-efficient of Standard Deviation=
=
X 16.5
S
4.82
100 = 29.21%
Co-efficient of Variance = 100 = =
16.5
X
As we know that X =

Question No. 2:
From the following data of hours worked in a factory (x) and output units (y), determine the
regression line of y on x, the linear correlation coefficient and interpret the result of correlation
coefficient.
Hours (X)
91
102 83
93
89
72
82
85
79
Production (Y)

300

302

315

330

300

250

300

340

315

Answer:
X

x.y

y2

x2

91

300

27300

9000

8281

102

302

30504

91204

10404

83

315

26145

99225

6889

93

330

30690

108900

8649

89

300

26700

9000

7921

72

250

18000

62500

5184

82

300

24600

9000

6724

85

340

28900

115600

7225

79

315

24885

99225

6241

X=776

Y=2752

x.y=238024

y2=846654

x2=67518

Regression Line of Y on X:
By X:
n xy ( x)( y )
n x 2 ( x )2
9(238024) (776)(2752)
=
9(67518) (776) 2
2142216 2135552
=
607662 602176
6664
=
= 1.21
5486

a = Y bX
Y
x
=
b

n
n
2452
776
=
1.21

9
9
a = 201.04
Y = a + bX
Y = 201.04 + 1.21X
Linear Correlation Co-Efficient:
n xy ( x)( y )
r=
2
2
2
2
n x ( x ) n y ( y )

9(238024) (776)(2752)
r=
2
2
9(67518) (776) 9(846654) (2752)
r = 0.42
Interpretation:
As we can see that r = 0.42 which lies between 0 1 that means it is positive correlation.

You might also like