Professional Documents
Culture Documents
ALIMURUNG
Instructor
CORRELATION
r= n(∑xy) – (∑x)(∑y)
√[n∑x2 – (∑x)2 ][n∑y2 – (∑y)2]
where:
Student A B C D E F G H I J
Statistics 75 83 80 77 89 78 92 86 93 84
Computer 78 87 78 76 92 81 89 89 91 84
Solution:
Student x y xy x2 y2
A 75 78 5850 5625 6084
B 83 87 7221 6889 7569
C 80 78 6240 6400 6084
D 77 76 5852 5929 5776
E 89 92 8188 7921 8464
F 78 81 6318 6084 6561
G 92 89 8188 8464 7921
H 86 89 7654 7396 7921
I 93 91 8463 8649 8281
J 84 84 7056 7056 7065
n = 10 ∑x = 837 ∑y = 845 ∑xy =71030 ∑x2 =70413 ∑y2 = 71717
Solution:
r= n(∑xy) – (∑x)(∑y)
√[n∑x2 – (∑x)2 ][n∑y2 – (∑y)2]
= 10(71030) – (837)(845)
√[10(70413) – (837)2] [10(71717) – (845)2]
= 3035
√(3561)(3145)
= 3035
3346.54
= 0.9069 or 0.91
Therefore, there is a very positive relationship between the
performance of the students in Statistics and Computer subjects.
LINEAR REGRESSION
b = n∑xy – (∑x)(∑y)
n∑x2 – (∑x)2
a = Mny- bMnx
Student A B C D E F G H I J
Statistics 75 83 80 77 89 78 92 86 93 84
Computer 78 87 78 76 92 81 89 89 91 84
Solution:
Student x y xy x2 y2
A 75 78 5850 5625 6084
B 83 87 7221 6889 7569
C 80 78 6240 6400 6084
D 77 76 5852 5929 5776
E 89 92 8188 7921 8464
F 78 81 6318 6084 6561
G 92 89 8188 8464 7921
H 86 89 7654 7396 7921
I 93 91 8463 8649 8281
J 84 84 7056 7056 7065
n = 10 ∑x = 837 ∑y = 845 ∑xy =71030 ∑x2 =70413 ∑y2 = 71717
Solution:
b = n∑xy – (∑x)(∑y)
n∑x2 – (∑x)2
= 10(71030) – (837)(845)
10(70413) – (837)2
= 3035
3561
b = 0.85
Mny = 837/10 = 83.7
Mnx = 845/10 = 84.5
a = Mny- bMnx
= 84.5 – (0.85)(83.7)
a = 13.36
Student A B C D E F G
Family
Income 30000 21000 45000 54000 86000 34000 49000