Efficient Computation of the Bergsma-Dassios Sign Covariance
arXiv:1504.00964
Abstract
In an extension of Kendall's , Bergsma and Dassios (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 , a direct computation of , the empirical version of , requires operations. We derive an algorithm that computes the statistic using only operations.
Improved formatting, added reference to R package implementing the algorithm, and added additional experiments