Following are the rank obtained by 10 students in two subjects , Statistics and Mathematics . To what extent the knowledge of the students in the two subjects is related?
Statistics | 1 | 3 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Mathematics | 2 | 4 | 1 | 5 | 3 | 9 | 7 | 10 | 6 | 8 |
Statistic (X) |
Mathematics (Y) |
XY |
X2 |
Y2 |
1 3 3 4 5 6 7 8 9 10 |
2 4 1 5 3 9 7 10 6 8 |
2 12 3 20 15 54 49 80 54 80 |
1 9 9 16 25 6 49 64 81 100 |
4 16 1 25 9 81 49 100 36 64 |
∑X=56,∑Y=55,∑XY=369,∑X2=390,∑Y2=385
N=10
Cov(x,y)=∑XYN−∑XN.∑YN=36910−5610.5510=6.1
σx=√∑X2N−(∑X2N)2=√39010−(5610)2=2.76
σy=√∑Y2N−(∑Y2N)2=√38510−(5.5)2=2.87
r=Cov(x,y)σx.σy=6.12.87×2.76=0.77