Efficient computation of the Bergsma–Dassios sign covariance
Document type:
Zeitschriftenaufsatz
Author(s):
Weihs, Luca; Drton, Mathias; Leung, Dennis
Abstract:
In an extension of Kendall’s τ, Bergsma and Dassios (Bernoulli 20(2):1006–1028, 2014) introduced a covariance measure τ∗ for two ordinal random variables that vanishes if and only if the two variables are independent. For a sample of size n, a direct computation of t∗, the empirical version of τ∗, requires O(n4) operations. We derive an algorithm that computes the statistic using only O(n2log(n)) operations.