vahelduskorrelaatsioonifunktsionaali
Vahelduskorrel, also known as the correlation coefficient, is a statistical measure that expresses the degree to which two variables are linearly related. It is denoted by the symbol "r" and its value ranges from -1 to 1. A value of 1 indicates a perfect positive linear relationship, -1 indicates a perfect negative linear relationship, and 0 indicates no linear relationship. The correlation coefficient is widely used in various fields, including economics, psychology, and biology, to analyze the strength and direction of the relationship between two variables.
The formula for calculating the correlation coefficient is:
r = (n(∑xy) - (∑x)(∑y)) / √[(n∑x² - (∑x)²)(n∑y² - (∑y)²)]
where n is the number of data points, ∑xy is the sum of the products of the
It is important to note that the correlation coefficient only measures the linear relationship between two