Calculate the correlation coefficient for the following data.
XY243649510611713817
0.982
xyx−¯x(x−¯x)2(y−¯y)(y−¯y)2(x−¯x)(y−¯y)24−39−6361836−24−416849−11−1115100000061111111713243968173974921∑=28∑=112∑=55
¯x=∑xn=357=5
¯y=∑yn=707=10
r=∑ni=1(xi−¯x)(yi−¯y)√∑ni=1(xi−¯x)2√∑ni=1(yi−¯y)2=55√28×112=5556=0.982