Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

6.

The grades 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

  x y x^2 y^2 xy
78 86 6084 7396 6708
72 56 5184 3136 4032
50 65 2500 4225 3250
99 99 9801 9801 9801
68 70 4624 4900 4760
94 84 8836 7056 7896
72 80 5184 6400 5760
81 55 6561 3025 4455
96 99 9216 9801 9504
68 70 4624 4900 4760
total 778 764 62614 60640 60926

100
95
90
85
80
75
70
65
60
55
50
50 55 60 65 70 75 80 85 90 95 100

a. Determine the correlation coefficient r.

n ∑ xy −( ∑ x )( ∑ y )
r=
√n ¿¿¿
10(60926)−(778)(764)
r=
√ 10 ( 62614 ) −(778)2 ∙ √ 10 ( 60640 )−(764 )2
r =0.6832597761
r =0.6833

b. Determine the linear regression line.


^y =ax+ b
where:

n ∑ xy−( ∑ x )( ∑ y )
a=
n¿¿
10 (60926)−( 778)(764 )
a=
10 ( 62614 )−(778)2
a=0.712888377
a=0.7129

b= ý−a x́

b=
∑ y −a ∑ x
n n
764 778
b= −( 0.7129)
10 10
b=20.9372843
b=20.9373
^y =ax+ b
^y =0.7129 x +20.9373

c. Predict the final examination grade of a student whose midterm grade is 60.

Mid Term Grade; x=60

y = 20.93+0.71x
y = 20.93+0.71(60)
y = 63.54

You might also like