ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1804.07203
9
291

The Hardness of Conditional Independence Testing and the Generalised Covariance Measure

19 April 2018
Rajen Dinesh Shah
J. Peters
ArXivPDFHTML
Abstract

It is a common saying that testing for conditional independence, i.e., testing whether whether two random vectors XXX and YYY are independent, given ZZZ, is a hard statistical problem if ZZZ is a continuous random variable (or vector). In this paper, we prove that conditional independence is indeed a particularly difficult hypothesis to test for. Valid statistical tests are required to have a size that is smaller than a predefined significance level, and different tests usually have power against a different class of alternatives. We prove that a valid test for conditional independence does not have power against any alternative. Given the non-existence of a uniformly valid conditional independence test, we argue that tests must be designed so their suitability for a particular problem may be judged easily. To address this need, we propose in the case where XXX and YYY are univariate to nonlinearly regress XXX on ZZZ, and YYY on ZZZ and then compute a test statistic based on the sample covariance between the residuals, which we call the generalised covariance measure (GCM). We prove that validity of this form of test relies almost entirely on the weak requirement that the regression procedures are able to estimate the conditional means XXX given ZZZ, and YYY given ZZZ, at a slow rate. We extend the methodology to handle settings where XXX and YYY may be multivariate or even high-dimensional. While our general procedure can be tailored to the setting at hand by combining it with any regression technique, we develop the theoretical guarantees for kernel ridge regression. A simulation study shows that the test based on GCM is competitive with state of the art conditional independence tests. Code is available as the R package GeneralisedCovarianceMeasure on CRAN.

View on arXiv
Comments on this paper