arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1810.11332stat.COcs.DS
收藏

一种快速计算距离相关的算法

A fast algorithm for computing distance correlation

Arin Chaudhuri, Wenhao Hu

摘要:

经典的相关性度量,如Pearson相关性、Spearman的$ρ$和Kendall的$τ$只能检测单调或线性相关性。为了克服这些局限性,Szekely et al.(2007)提出了距离协方差作为联合特征函数和边缘分布的乘积之间的加权$L_2$距离。距离协方差是$0$当且仅当两个随机向量${X}$和${Y}$是独立的。当样本量足够大时,该度量有能力检测依赖结构的存在。他们进一步表明,样本距离协方差可以简单地从修改的欧几里得距离计算,这通常需要$\mathcal{O}(n^2)$成本。二次计算时间极大地限制了距离协方差对大数据的应用。本文提出了一个简单的精确$\mathcal{O}(n\log(n))$算法来计算两个单变量随机变量之间的样本距离协方差。该方法基本上由两个排序步骤组成,因此易于实现。实验结果表明,该算法是显着的速度比国家的最先进的方法。该算法的速度将使研究人员能够在大型数据集中探索复杂的依赖结构。

英文摘要:

Classical dependence measures such as Pearson correlation, Spearman's $ρ$, and Kendall's $τ$ can detect only monotonic or linear dependence. To overcome these limitations, Szekely et al.(2007) proposed distance covariance as a weighted $L_2$ distance between the joint characteristic function and the product of marginal distributions. The distance covariance is $0$ if and only if two random vectors ${X}$ and ${Y}$ are independent. This measure has the power to detect the presence of a dependence structure when the sample size is large enough. They further showed that the sample distance covariance can be calculated simply from modified Euclidean distances, which typically requires $\mathcal{O}(n^2)$ cost. The quadratic computing time greatly limits the application of distance covariance to large data. In this paper, we present a simple exact $\mathcal{O}(n\log(n))$ algorithm to calculate the sample distance covariance between two univariate random variables. The proposed method essentially consists of two sorting steps, so it is easy to implement. Empirical results show that the proposed algorithm is significantly faster than state-of-the-art methods. The algorithm's speed will enable researchers to explore complicated dependence structures in large datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑