28
22

Efficient Computation of the Bergsma-Dassios Sign Covariance

Abstract

In an extension of Kendall's τ\tau, Bergsma and Dassios (2014) introduced a covariance measure τ\tau^* for two ordinal random variables that vanishes if and only if the two variables are independent. For a sample of size nn, a direct computation of tt^*, the empirical version of τ\tau^*, requires O(n4)O(n^4) operations. We derive an algorithm that computes the statistic using only O(n2log(n))O(n^2\log(n)) operations.

View on arXiv
Comments on this paper