Correlation Coefficient

The correlation coefficient is 0 to 1 and 0 to -1 to indicate the degree of relevance.
Correlation Coefficient Formula

correlationcoefficientformula's photo

The degree of relevance

correlationcoefficientchart's photo

First, find the covariance

correlationcoefficient1's photo

Convert the sample covariance to unbiased covariance before calculating.

correlationcoefficient2's photo