Optimal rates for independence testing via -statistic permutation tests

We study the problem of independence testing given independent and identically distributed pairs taking values in a -finite, separable measure space. Defining a natural measure of dependence as the squared -distance between a joint density and the product of its marginals, we first show that there is no valid test of independence that is uniformly consistent against alternatives of the form . We therefore restrict attention to alternatives that impose additional Sobolev-type smoothness constraints, and define a permutation test based on a basis expansion and a -statistic estimator of that we prove is minimax optimal in terms of its separation rates in many instances. Finally, for the case of a Fourier basis on , we provide an approximation to the power function that offers several additional insights. Our methodology is implemented in the R package USP.
View on arXiv