[Statistics] Comparison of Three Correlation Coefficients: Pearson, Kendall, Spearman

Posted sherrydatascience

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[Statistics] Comparison of Three Correlation Coefficients: Pearson, Kendall, Spearman相关的知识,希望对你有一定的参考价值。

There are three popular metrics to measure the correlation between two random variables: Pearson‘s correlation coefficient, Kendall‘s tau and Spearman‘s rank correlation coefficient. In this article, I will make a detailed comparison among the three measures and discuss how to choose among them.

Definition

Pearson Correlation

 Pearson‘s correlation coefficient is the covariance of the two variables divided by the product of their standard deviations. 

技术图片

 The formula for 技术图片 can be expressed in terms of mean and expectation. Since

技术图片

the formula for 技术图片 can also be written as

技术图片

Kendall‘s Tau

技术图片

An explicit expression for Kendall‘s rank coefficient is 

技术图片. 

Spearman‘s Rank Correlation Coefficient

以上是关于[Statistics] Comparison of Three Correlation Coefficients: Pearson, Kendall, Spearman的主要内容,如果未能解决你的问题,请参考以下文章

[CodeForces] CF993E Nikita and Order Statistics

SQL Server 数据库性能优化

comparison的用法解析大全

pandas 错误提醒:FutureWarning: elementwise comparison failed;

beyond comparison是啥意思

Comparison of video container formats