Calculate the correlation coefficient between X and Y and comment on their relationship.
X134578Y268101416
XYXYX2Y2122143618936483216645105025100714984919681612864256∑X=28∑Y=56∑XY=328∑X2=164∑Y2=656
Now, Correlation coefficient between X and Y is
(r)=∑XY−(∑X)(∑Y)N√∑X2−(∑X)2N√∑Y2−(∑Y)2N
=328−28×566√164−(28)26√656−(56)26
=328−15686√164−7846√656−31366
=328−261.33√164−130.67√655−522.67
=66.675.77×11.55
=66.666.6
=1
As the correlation coefficient between the two variables is +1, so the two variables are perfectly positive correlated.