English

The conditional permutation test for independence while controlling for confounders

Methodology 2019-05-08 v2 Statistics Theory Statistics Theory

Abstract

We propose a general new method, the conditional permutation test, for testing the conditional independence of variables XX and YY given a potentially high-dimensional random vector ZZ that may contain confounding factors. The proposed test permutes entries of XX non-uniformly, so as to respect the existing dependence between XX and ZZ and thus account for the presence of these confounders. Like the conditional randomization test of Cand\`es et al. (2018), our test relies on the availability of an approximation to the distribution of XZX \mid Z. While Cand\`es et al. (2018)'s test uses this estimate to draw new XX values, for our test we use this approximation to design an appropriate non-uniform distribution on permutations of the XX values already seen in the true data. We provide an efficient Markov Chain Monte Carlo sampler for the implementation of our method, and establish bounds on the Type I error in terms of the error in the approximation of the conditional distribution of XZX\mid Z, finding that, for the worst case test statistic, the inflation in Type I error of the conditional permutation test is no larger than that of the conditional randomization test. We validate these theoretical results with experiments on simulated data and on the Capital Bikeshare data set.

Keywords

Cite

@article{arxiv.1807.05405,
  title  = {The conditional permutation test for independence while controlling for confounders},
  author = {Thomas B. Berrett and Yi Wang and Rina Foygel Barber and Richard J. Samworth},
  journal= {arXiv preprint arXiv:1807.05405},
  year   = {2019}
}

Comments

31 pages, 4 figures

R2 v1 2026-06-23T03:01:26.033Z