码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-03-04 09:49:24      阅读:112      评论:0      收藏:0      [点我收藏+]

标签:ide   ref   express   column   https   ant   isp   tag   rank   

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

标签:ide   ref   express   column   https   ant   isp   tag   rank   

原文地址:https://www.cnblogs.com/sherrydatascience/p/12406467.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!