logo 2uData.com

The previous pageCorrelationThe next page

As we already mentioned, there are linear relationship and nonlinear one. In this page, we investigate only linear relationship.

Consider two paired variables `x_i` and `y_j`, correlation coefficient `r` between these variables is defined by:

`r=(sum (x_i-bar x)(y_i-bar y))/sqrt(sum (x_i-bar x)^2xxsum (y_i-bar y)^2)`(1)

There are some characteristics of correlation coefficient:

Fig. 1 illustrates these characteristics of `r`.

Fig. 1 Main cases of correlation coefficient r (Source : Wikipedia)

Example : Heights and weights of 10 students are shown on Table 1.

Table 1 Heights and weights of 10 students
1 2 3 4 5 6 7 8 9 10
Height (m) 1,57 1,62 1,58 1,64 1,74 1,68 1,71 1,60 1,66 1,64
Weight (kg) 55 72 52 65 82 79 78 66 78 71

Using (7.1) : `r = 0,8932`.



The previous pageThe first page of chapterThe next page


This web page was last updated on 03 December 2018.