Skip to main content
QUICK REVIEW

[Paper Review] The Chi-Square Test of Distance Correlation

Cencheng Shen, Sambit Panda|arXiv (Cornell University)|Dec 27, 2019
Bayesian Methods and Mixture ModelsComputer Science33 references8 citations
TL;DR

This paper proposes a fast, non-parametric chi-square test for bias-corrected distance correlation that replaces computationally expensive permutation tests. It leverages a chi-square approximation to the null distribution, enabling constant-time p-value computation with comparable power to permutation tests, and is universally consistent and valid for independence testing under mild conditions.

ABSTRACT

Distance correlation has gained much recent attention in the data science community: the sample statistic is straightforward to compute and asymptotically equals zero if and only if independence, making it an ideal choice to discover any type of dependency structure given sufficient sample size. One major bottleneck is the testing process: because the null distribution of distance correlation depends on the underlying random variables and metric choice, it typically requires a permutation test to estimate the null and compute the p-value, which is very costly for large amount of data. To overcome the difficulty, in this paper we propose a chi-square test for distance correlation. Method-wise, the chi-square test is non-parametric, extremely fast, and applicable to bias-corrected distance correlation using any strong negative type metric or characteristic kernel. The test exhibits a similar testing power as the standard permutation test, and can be utilized for K-sample and partial testing. Theory-wise, we show that the underlying chi-square distribution well approximates and dominates the limiting null distribution in upper tail, prove the chi-square test can be valid and universally consistent for testing independence, and establish a testing power inequality with respect to the permutation test.

Motivation & Objective

  • Address the high computational cost of permutation tests for distance correlation in large-scale data analysis.
  • Develop a fast, non-parametric alternative to permutation testing that maintains high statistical power.
  • Establish theoretical validity and consistency of the chi-square test for distance correlation under general conditions.
  • Enable efficient K-sample and partial testing using the proposed method.
  • Demonstrate that the chi-square test is the most powerful among all valid tests using known distributions (e.g., t-test, F-test).

Proposed method

  • Propose a chi-square test for bias-corrected distance correlation using the statistic $ n imes exttt{Dcor}_n( extbf{X}, extbf{Y}) $, where the p-value is computed as $ p = \text{Prob}(nC < \chi^2_1 - 1) $.
  • Use the centered distance matrices $ \mathbf{D}^\mathbf{X} $ and $ \mathbf{D}^\mathbf{Y} $ to compute the distance covariance, with centering via the centering matrix $ \mathbf{H} = \mathbf{I} - \mathbf{1}\mathbf{1}^T/n $.
  • Establish that the limiting null distribution of the bias-corrected distance correlation is well-approximated by a chi-square distribution in the upper tail.
  • Prove that the chi-square distribution dominates the limiting null distribution, ensuring validity under small type I error levels.
  • Apply the test to K-sample and partial testing by extending the chi-square approximation to multivariate and conditional dependence structures.
  • Demonstrate that the method is computationally efficient, achieving $ \mathcal{O}(n\log n) $ complexity for one-dimensional data with Euclidean distance, matching Pearson correlation speed.

Experimental results

Research questions

  • RQ1Can a fast, non-parametric chi-square test replace permutation testing for distance correlation while maintaining comparable statistical power?
  • RQ2Does the chi-square distribution provide a valid and consistent approximation to the limiting null distribution of bias-corrected distance correlation?
  • RQ3Is the proposed chi-square test universally consistent and valid for testing independence across diverse data types and dimensions?
  • RQ4How does the testing power of the chi-square test compare to that of the permutation test and the distance correlation t-test?
  • RQ5Can the chi-square test be extended to K-sample and partial dependence testing without sacrificing speed or accuracy?

Key findings

  • The chi-square test achieves similar statistical power to the standard permutation test, with a maximum power difference of less than 0.05 in simulations.
  • The chi-square distribution well-approximates and dominates the limiting null distribution of bias-corrected distance correlation in the upper tail, ensuring validity.
  • The method is universally consistent and valid for $ n \geq 20 $ and $ \alpha \leq 0.05 $, with theoretical guarantees on type I error control.
  • The chi-square test is the most powerful among all valid tests using known distributions (e.g., t-test, F-test), as proven by a testing power inequality.
  • For one-dimensional data with Euclidean distance, the method runs in $ \mathcal{O}(n\log n) $ time, making it scalable to billions of observations.
  • The method is applicable to any strong negative type metric or characteristic kernel, enabling use in multivariate, K-sample, and partial testing scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.