In: Statistics and Probability
Here is a bivariate data set.
x | y |
---|---|
43.1 | 71.8 |
37.6 | -44.1 |
67.3 | -60.2 |
45.3 | 160.1 |
46.3 | -61.5 |
43.7 | -125.8 |
57.3 | 107.8 |
50.7 | 15.9 |
58.9 | 173.4 |
68.1 | -48.8 |
22.3 | 40.5 |
47.3 | 181.4 |
45.1 | 191.7 |
35.9 | 216.3 |
46.8 | 100.7 |
49.5 | -17.7 |
35.6 | -188.7 |
23.8 | 364.3 |
Find the correlation coefficient and report it accurate to three
decimal places.
r =
Sr. No. | X | Y | (X-mean(x)) | (y-mean(y)) | (X-mean(X))(y-mean(y)) | (X-mean(x))^2 | (y-mean(y)) ^2 |
1 | 43.1 | 71.8 | -2.7111 | 11.9611 | -32.4279 | 7.3501 | 143.0682 |
2 | 37.6 | -44.1 | -8.2111 | -103.9389 | 853.4538 | 67.4223 | 10803.2926 |
3 | 67.3 | -60.2 | 21.4889 | -120.0389 | -2579.5023 | 461.7723 | 14409.3348 |
4 | 45.3 | 160.1 | -0.5111 | 100.2611 | -51.2446 | 0.2612 | 10052.2904 |
5 | 46.3 | -61.5 | 0.4889 | -121.3389 | -59.3212 | 0.2390 | 14723.1260 |
6 | 43.7 | -125.8 | -2.1111 | -185.6389 | 391.9043 | 4.4568 | 34461.7971 |
7 | 57.3 | 107.8 | 11.4889 | 47.9611 | 551.0199 | 131.9946 | 2300.2682 |
8 | 50.7 | 15.9 | 4.8889 | -43.9389 | -214.8123 | 23.9012 | 1930.6260 |
9 | 58.9 | 173.4 | 13.0889 | 113.5611 | 1486.3888 | 171.3190 | 12896.1260 |
10 | 68.1 | -48.8 | 22.2889 | -108.6389 | -2421.4401 | 496.7946 | 11802.4082 |
11 | 22.3 | 40.5 | -23.5111 | -19.3389 | 454.6788 | 552.7723 | 373.9926 |
12 | 47.3 | 181.4 | 1.4889 | 121.5611 | 180.9910 | 2.2168 | 14777.1037 |
13 | 45.1 | 191.7 | -0.7111 | 131.8611 | -93.7679 | 0.5057 | 17387.3526 |
14 | 35.9 | 216.3 | -9.9111 | 156.4611 | -1550.7035 | 98.2301 | 24480.0793 |
15 | 46.8 | 100.7 | 0.9889 | 40.8611 | 40.4071 | 0.9779 | 1669.6304 |
16 | 49.5 | -17.7 | 3.6889 | -77.5389 | -286.0323 | 13.6079 | 6012.2793 |
17 | 35.6 | -188.7 | -10.2111 | -248.5389 | 2537.8582 | 104.2668 | 61771.5793 |
18 | 23.8 | 364.3 | -22.0111 | 304.4611 | -6701.5273 | 484.4890 | 92696.5682 |
Total | 824.6 | 1077.1 | 0 | 0 | -7494.0778 | 2622.5778 | 332690.9228 |