You are on page 1of 5

GROUP 5 (Kayzelle Anne Lopez, Juan Nelson Limbo, Joben Lacorte)

Example no. 1
The grade of 10 senior high school students on a midterm report x and on the
final examination y are as follows:

x 78 72 50 99 68 94 72 81 96 68
y 86 56 65 99 70 84 80 55 99 70

a. Determine the correlation coefficient r


b. Determine the linear regression line.
c. Predict the final examination grade of a student whose midterm grade is 60

Solutions:

x y
78 86
72 56
50 65
99 99
68 70
94 84
72 80
81 55
96 99
68 70

Σ = 778 Σ = 764
x y x2 y2 xy
78 86 6 084 7 396 6 708
72 56 5 184 3 136 4 032
50 65 2 500 4 225 3 250
99 99 9 801 9 801 9 801
68 70 4 624 4 900 4 760
94 84 8 836 7 056 7 896
72 80 5 184 6 400 5 760
81 55 6 561 3 025 4 455
96 99 9 216 9 801 9 504
68 70 4 624 4 900 4 760

Σ = 778 Σ = 764 Σ = 62614 Σ = 60640 Σ = 60926

( Σ x)2 (Σ y )2
SS xx =Σ x 2− SS yy =Σ y 2−
n n

(778)2 (764 )2
SS xx =62614− SS yy =60640−
10 10
SS xx =2085. 6 SS yy =2270. 4

ΣxΣ y
SS xy =Σ xy−
n
(778)(764)
SS xy =60926−
10
SS xy =1486. 8
SS xy
r = √ SS r = 0.6832597762
xx SS yy
SS xy
1486.8 m= SS xx
r= √(2085.6)(2270.4)
1486.8
1486.8 m= 2085.6
r= 2176.039117
m = 0.7128883774

Σx Σy
x́= ý=
n n
778 764
x́= ý=
10 10
x́=77.8 ý=76.4

b= ý−m x́

b = 76.4 – (0.7128883774) (77.8)


b = 20.93728424
r = 0.6832597762 - There exists a highly positive linear relationship between
the midterm report and the final examination grade.

m = 0.7128883774
b = 20.93728424
x = 60
y=?

y = mx + b
y = (0.7128883774) (60) + 20.93728424
y = 42.77330264 + 20.93728424
y = 63.71058688

You might also like