Skip to main content
QUICK REVIEW

[Paper Review] Nonparametric testing of conditional independence by means of the partial copula

Wicher Bergsma|arXiv (Cornell University)|Jan 24, 2011
Statistical Methods and InferenceMathematics20 references24 citations
TL;DR

This paper proposes a nonparametric method to test conditional independence between two random variables Y and Z given a third variable X using the partial copula. By transforming Y and Z into their conditional ranks via the estimated conditional cumulative distribution functions, the method reduces conditional independence testing to ordinary independence testing on the transformed variables, with asymptotically valid inference despite estimation error.

ABSTRACT

We propose a new method to test conditional independence of two real random variables $Y$ and $Z$ conditionally on an arbitrary third random variable $X$. %with $F_{.|.}$ representing conditional distribution functions, The partial copula is introduced, defined as the joint distribution of $U=F_{Y|X}(Y|X)$ and $V=F_{Z|X}(Z|X)$. We call this transformation of $(Y,Z)$ into $(U,V)$ the partial copula transform. It is easy to show that if $Y$ and $Z$ are continuous for any given value of $X$, then $Y\ind Z|X$ implies $U\ind V$. Conditional independence can then be tested by (i) applying the partial copula transform to the data points and (ii) applying a test of ordinary independence to the transformed data. In practice, $F_{Y|X}$ and $F_{Z|X}$ will need to be estimated, which can be done by, e.g., standard kernel methods. We show that under easily satisfied conditions, and for a very large class of test statistics for independence which includes the covariance, Kendall's tau, and Hoeffding's test statistic, the effect of this estimation vanishes asymptotically. Thus, for large samples, the estimation can be ignored and we have a simple method which can be used to apply a wide range of tests of independence, including ones with consistency for arbitrary alternatives, to test for conditional independence. A simulation study indicates good small sample performance. Advantages of the partial copula approach compared to competitors seem to be simplicity and generality.

Motivation & Objective

  • To develop a general, nonparametric method for testing conditional independence of continuous random variables Y and Z given an arbitrary confounder X.
  • To address the challenge that marginal dependencies between Y, Z and X can obscure conditional dependence structures.
  • To provide a method that maintains asymptotic validity even when conditional distribution functions are estimated from data.
  • To enable the use of a wide range of existing independence test statistics (e.g., correlation, Kendall’s tau, Hoeffding’s statistic) for conditional independence testing via a transformation.
  • To demonstrate the method’s practical utility through simulation studies and real data analysis, showing good type I error control and power.

Proposed method

  • Define the partial copula as the joint distribution of U = F_{Y|X}(Y|X) and V = F_{Z|X}(Z|X), where F_{Y|X} and F_{Z|X} are the conditional cumulative distribution functions.
  • Apply the partial copula transform to data, converting each (X_i, Y_i, Z_i) into (U_i, V_i) using estimated conditional CDFs.
  • Use standard nonparametric tests of independence (e.g., correlation, Kendall’s tau, Hoeffding’s test) on the transformed (U_i, V_i) pairs to test H_0: Y ⊥⊥ Z | X.
  • Establish that the asymptotic null distribution of a broad class of test statistics (including covariance-based and rank-based) is unaffected by the estimation of F_{Y|X} and F_{Z|X}, under mild regularity conditions.
  • Estimate conditional CDFs using Nadaraya-Watson kernel regression with bandwidths selected via a data-driven formula h = 1.75√(λ/n).
  • Apply permutation tests to compute p-values for the transformed data, ensuring robustness under the null.

Experimental results

Research questions

  • RQ1Can a general, nonparametric method be developed to test conditional independence that is robust to estimation of conditional distributions?
  • RQ2Does the asymptotic distribution of common test statistics remain valid when conditional CDFs are estimated rather than known?
  • RQ3How does the method perform in small samples, particularly in terms of type I error control and power?
  • RQ4Can standard independence tests (e.g., Kendall’s tau, Hoeffding’s test) be effectively repurposed for conditional independence via the partial copula transformation?
  • RQ5What is the impact of bandwidth selection and noise-to-signal ratio on the performance of the method in finite samples?

Key findings

  • The asymptotic null distribution of a wide class of test statistics (including covariance, Kendall’s tau, and Hoeffding’s Δ) is unaffected by the estimation of conditional CDFs, enabling valid inference in large samples.
  • Simulation results show that for n = 20 and n = 100, the method maintains type I error rates close to the nominal 0.05 level across various noise-to-signal ratios (λ ∈ {0.1, 0.3, 0.5, 0.7}).
  • Power loss due to conditioning is minimal for n = 100 and moderate λ, with power curves approaching those of unconditional independence tests.
  • The method breaks down when λ is very small (i.e., strong overfitting), as bandwidth selection becomes unstable and estimation error dominates.
  • For n = 100, a wide range of bandwidths yields acceptable type I error rates, indicating robustness to bandwidth choice.
  • In the digoxin data application, p-values for the partial copula-based tests ranged from 0.018 (Pearson correlation) to 0.107 (Hoeffding’s Δ), suggesting evidence against conditional independence for most test statistics.

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.