The Exact Equivalence of Distance and Kernel Methods for Hypothesis Testing
Preprint
Abstract
Distance-based tests, also called "energy statistics", are leading methods for two-sample and independence tests from the statistics community. Kernel-based tests, developed from "kernel mean embeddings", are leading methods for two-sample and independence tests from the machine learning community. In this manuscript we prove that the two-sample statistics are special cases of the independence statistics via an auxiliary label vector, and the distance-based statistics are equivalent to the kernel-based statistics via a bijective transformation between metrics and kernels. The proposed bijection ensures sample equivalence for the biased, unbiased, and normalized statistics, and guarantees a positive definite kernel to a negative type semimetric and vice versa, among other properties. In other words, upon creating a proper label vector and setting the kernel or metric to be bijective of each other, running any of the four methods will yield the exact same testing result up to numerical precision. This deepens and unifies the understanding of interpoint comparison based methods, and enables a rich literature of distance-based and kernel-based methodologies to directly communicate with each other.Keywords
All Related Versions
This publication has 24 references indexed in Scilit:
- A fast algorithm for computing distance correlationComputational Statistics & Data Analysis, 2019
- Large-scale kernel methods for independence testingStatistics and Computing, 2017
- Fast Computing for Distance CovarianceTechnometrics, 2016
- An iterative approach to distance correlation-based sure independence screeningJournal of Statistical Computation and Simulation, 2014
- Energy statistics: A class of statistics based on distancesJournal of Statistical Planning and Inference, 2013
- The distance correlation-test of independence in high dimensionJournal of Multivariate Analysis, 2013
- Feature Screening via Distance Correlation LearningJournal of the American Statistical Association, 2012
- A multivariate nonparametric test of independenceJournal of Multivariate Analysis, 2006
- Hierarchical Clustering via Joint Between-Within Distances: Extending Ward's Minimum Variance MethodJournal of Classification, 2005
- Permutation, Parametric and Bootstrap Tests of Hypotheses2005