This question is incomplete, the complete question is;
Calculate the correlation coefficient, r, for the data below.
X = -10 -8 -1 -4 -6 -7 -5 -3 -2 -9
Y = -15 -13 4 -4 -7 -11 -6 -2 1 -13
Answer: the correlation coefficient, r, for the data is 0.9896
Explanation:
Given the data in the question;
correlation coefficient r = ?
we know that, C_Coeff is;
r = [ (Zn(∑xy) - (∑x)(∑y) ] / [ √[( n∑x² - (∑x)²) ( n∑y² - (∑y)²)] ]
so ;
X Y X² Y² XY
-10 -15 100 225 150
-8 -13 64 169 104
-1 4 1 16 -4
-4 -4 16 16 16
-6 -7 36 49 42
-7 -11 49 121 77
-5 -6 25 36 30
-3 -2 9 4 6
-2 1 4 1 -2
-9 -13 81 169 117
∑ -55 -66 385 806 536
now we substitute our values into the formula
r = [ (10×536 - (-55)(-66) ] / [ √[( 10×385 - (-55)²) ( 10×806 - (-66)²)] ]
r = 1730 / √( 825 × 3704 )
r = 1730 / √3055800
r = 1730 / 1748.0846
r = 0.9896
Therefore the correlation coefficient, r, for the data is 0.9896