Correlation (Pearson, Kendall, Spearman)
Correlation (Pearson, Kendall, Spearman)
Correlation is a bivariate analysis that measures the strength of association between two variables
and the direction of the relationship. In terms of the strength of relationship, the value of the
correlation coefficient varies between +1 and -1. A value of ± 1 indicates a perfect degree of
association between the two variables. As the correlation coefficient value goes towards 0, the
relationship between the two variables will be weaker. The direction of the relationship is indicated
by the sign of the coefficient; a + sign indicates a positive relationship and a – sign indicates a
negative relationship. Usually, in statistics, we measure four types of correlations: Pearson
correlation, Kendall rank correlation, Spearman correlation, and the Point-Biserial correlation. The
software below allows you to very easily conduct a correlation.
Pearson r correlation: Pearson r correlation is the most widely used correlation statistic to measure
the degree of the relationship between linearly related variables. For example, in the stock market, if
we want to measure how two stocks are related to each other, Pearson r correlation is used to
measure the degree of relationship between the two. The point-biserial correlation is conducted with
the Pearson correlation formula except that one of the variables is dichotomous. The following
formula is used to calculate the Pearson rcorrelation:
Kendall rank correlation: Kendall rank correlation is a non-parametric test that measures the
strength of dependence between two variables. If we consider two samples, a and b, where
each sample size is n, we know that the total number of pairings with a b is n(n-1)/2. The
following formula is used to calculate the value of Kendall rank correlation: