Professional Documents
Culture Documents
The table below shows the time in hours (x) spent by seven students in playing
online games and the scores (y) these students got on a math test. Solve for Pearson
Product Moment Correlation Coefficient.
x 2 4 6 8 5 12 5
y 30 45 20 15 29 5 13
Solution:
X Y XY x 2 y
2 ∑ x =42
2 30 60 4 900 ∑ y=157
4 45 180 16 2025 ∑ xy =750
6 20 120 36 400 ∑ x 2= 314
8 15 120 64 225 ∑ y 2= 4585
5 29 145 25 841
12 5 60 144 25
5 13 65 25 169
7 (750)−(42)(157)
r=
√¿ ¿ ¿
5250− 6594
r=
√ [2198¿− 1764][32095 − 24649]¿
−1704
r=
√ [434¿][7446 ]¿
−1704
r=
√ 3231564
r =−0.9479014983∨−0.958
Conclusion:
Therefore, the value of r= -0.958 indicates a strong negative
correlation between the time in hours spent in playing online
games and the score on a test.
Activity 1:
Shown below are the ages and the systolic blood pressure numbers of 12 patients
in a certain hospital.
∑ x =¿ ¿283
∑ y=1427
∑ xy =¿ ¿ 33815
∑ x 2= 7019
∑ y 2=174719
1939
r= r=0.122736869
√ [4139¿][60299]¿
Therefore, the value r= 0.122 indicates negligible
1939 positive correlation between the ages and the
r=
√ 249577561 systolic blood pressure numbers of the 12 patients.
Activity 2:
x 1 2 3 4 5 6 7
y 40 45 50 65 55 60 75
Solution:
X Y XY x
2
y
2
∑ x =¿ ¿28
1 40 40 1 1600 ∑ y=390
2 45 90 4 2025 ∑ xy =¿ ¿ 1700
3 50 150 9 2500
4 65 260 16 4225 ∑ x 2= 140
5 55 275 25 3025 ∑ y 2=22600
6 60 360 36 3600
7 75 525 49 5625
7 (1700)−(28)(390)
r=
√7 ¿ ¿ ¿
11900 − 10920
r=
√ [980 ¿−784 ][158200 − 152100]¿
980
r=
√ [196¿ ][6100]¿
980
r=
√ 1195600
980
r=
1093.434955
r =0.8962581592∨0.906
Conclusion:
Therefore, the value of r=0.906 is between +0.71 to
+0.99 which indicates a strong positive correlation.