Pearson r Correlation and Prediction

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Angelina Beatriz B.

Claveria May 06, 2020


Math in the Modern World Sir Jonathan Capa

I. Find the value of Pearson r between the grades in English (x) and grades in Math (y).
Test the significance of their correlation at 5%. Interpret the results. Plot a scatter
diagram for the data below. Then, use regression analysis to predict the grade of a
student in Math if his grade in English is:
a. 77
b. 98
c. 67
Student English Grade Math Grade (y) xy X2 Y2
(x)

A 85 75 6375 7225 5625


B 82 76 6232 6724 5776
C 79 90 7110 6241 8100
D 85 78 6630 7225 6084
E 85 92 7820 7225 8464
F 90 90 8100 8100 8100
G 85 95 8075 7225 9025
H 84 85 7140 7056 7225
I 74 82 6068 5476 6724
J 81 82 6642 6561 6724
Sum 830 845 70192 69058 71847

Ho: There is no significant correlation between English Grade and Math grade.
Α = 5%
𝑁∑𝑥𝑦 − ∑𝑥∑𝑦
𝑟=
√[𝑁∑𝑥 2 − (∑𝑥)2 ][𝑁∑𝑦 2 − (∑𝑦)2 ]
10(70192) − (830)(845)
𝑟=
√[10(69058) − 8302 ][10(71847) − 8452 ]
701920 − 701350
𝑟=
√[690580 − 688900][718470 − 714025]
570
𝑟=
√[1680][4445]
570
𝑟=
√7467600
570
𝑟=
2732.6910
𝑟 = 0.2086
Df = N – 2 = 10 – 2 = 8
Tabular value of 8 to 0.05 = 0.632
0.2086 < 0.632
Accept the null hypothesis.
There is no significant linear relationship between the English grades and Math grades of the
class. The verbal interpretation of r shows there is a slight correlation between the two
variables.
II. Scatter Plot

Scatter Diagram: English and Math Grades


100

95

90

85

80

75

70
70 75 80 85 90 95 100

III. Regression Analysis


Y = a +bx
N (number of pairs) 3
(∑𝑦)(𝛴𝑥 2 ) − (∑𝑥)(𝛴𝑥𝑦)
𝑎=
𝑛(𝛴𝑥 2 ) − (∑𝑥)2
(845)(69058) − (830)(70192)
𝑎=
13(69058) − (830)2
58354010 − 58259360
𝑎=
897754 − 688900
94650
𝑎=
208854
𝑎 = 0.45318739
𝑛∑𝑥𝑦 − ∑𝑥𝛴𝑦
𝑏=
𝑛(𝛴𝑥 2 ) − (∑𝑥)2
13(70192) − (830)(845)
𝑏=
13(69058) − (830)2
912496 − 701350
𝑏=
897754 − 688900
211146
𝑏=
208854
𝑏 = 1.01097417
a.) Y = 0.4532 + (1.0110) (77)
Y = 78.3002
b.) Y= 0.4532 + (1.0110) (98)
Y = 99.5312
c.) Y= 0.4532 + (1.0110) (67)
Y= 68.1902

You might also like