Karl Pearson’s correlation coefficient is a measure of the strength of a linear association between two variables.
It is denoted by r or rxy (where x and y being the two variables involved).
This method of correlation draws a line of best fit through the data of two variables.
The value of the Pearson correlation coefficient (r) indicates how far away all these data points are to this line of best fit.
Formula –
Artificial Intelligence formula
Where,
* cov(X, Y): is the covariance between X and Y