"What is a correlation coefficient? What is the range of its possible values, and wh" code example
Example: the range of coefficient of correlation is
The correlation coefficient r ranges between -1 and +1. A positive r values indicates that as one variable increases so does the other, and an r of +1 indicates that knowing the value of one variable allows perfect prediction of the other.