You are on page 1of 7

c) Find the Correlation between midterm grades and final term grads.

d) Plot a scatter Diagram.

e) Plot b/w residuals and X’s.

Sol:

X Actual X*Y X^2 Estimated (Y) e=residuals = Actual Y -


(Y) Y=12.62+0.77X Estimated Y
77 82 6314 5929 71.91 10.09
50 66 3300 2500 51.12 14.88
71 78 5538 5041 67.29 10.71
72 34 2448 5184 68.06 -34.06
81 47 3807 6561 74.99 -27.99
94 85 7990 8836 85 0
96 99 9504 9216 86.54 12.46
99 99 9801 9801 88.85 10.15
67 68 4556 4489 64.21 3.79

707 658 53258 57557

Y = b0 + b1X
9 ( 53258 )−(707)(658)
Slope=b1 = 9 ( 57557 )−(707)
2 =0.77

658−(0.77)(707)
b0 = 9 =12.062

Y = 12.062+ 0.77X
Part 2

Mid term Grade =X = 85

Y = 12.062+ 0.77(85)
Y= 78.07
c) Find the Correlation between midterm grades and final term grads.
20

10

0
40 50 60 70 80 90 100 110
Eroor

-10
e=actual Y - Est. Y
-20

-30

-40
X's

X Y XY X^2 Y^2
77 82 6314 5929 6724
50 66 3300 2500 4356
71 78 5538 5041 6084
72 34 2448 5184 1156
81 47 3807 6561 2209
94 85 7990 8836 7225
96 99 9504 9216 9801
99 99 9801 9801 9801
67 68 4556 4489 4624

707 658 53258 57557 51980


9 ( 53258 )−(707)(658)
r= √[ 9 (57557 )−( 707 ) ] [9 ( 51980 ) −( 658 ) ] =0.561
2 2

-1≤ r ≤+1
There is 56.1% correlation between midterm marks and final term
marks.

d) Plot a scatter Diagram.

Y
120

100

80

60

40

20

0
40 50 60 70 80 90 100 110

e) Plot b/w residuals and X’s.

e = Actual (Y) – Estimated (Y)


X Y XY X^2
1 8.1 8.1 1
1.1 7.8 8.58 1.21
1.2 8.5 10.2 1.44
1.3 9.8 12.74 1.69
1.4 9.5 13.3 1.96
1.5 8.9 13.35 2.25
1.6 8.6 13.76 2.56
1.7 10.2 17.34 2.89
1.8 9.3 16.74 3.24
1.9 9.2 17.48 3.61
2 10.5 21 4

16.5 100.4 152.59 25.85

Y = β0 + β1X

11 ( 152.59 ) −(16.5)(100.4)
β1 = 11 ( 25.85 )−(16.5)
2 = 1.80

100.4−(1.8)(16.5)
β0 = 11 =6.42
Y = 6.42+ 1.80X
Part 2
X = 1.75
Y = 6.42+ 1.80(1.75)
Y= 9.57
Part C

Temp Vs Residuals

1.2
1
0.8
0.6
0.4
Axis Title

0.2
0 Residuals=e=Actual Y - Est. Y
0.8 1 1.2 1.4 1.6 1.8 2 2.2
-0.2
-0.4
-0.6
-0.8
Axis Title

You might also like