Nonparametric Two-Sample Tests for Equality of Distributions Using Projections

Xu Kai,Zhu Liping
DOI: https://doi.org/10.1360/ssm-2020-0317
2022-01-01
Scientia Sinica Mathematica
Abstract:We propose a nonparametric two-sample test, which generalizes the Cramér-von Mises test through projections, to test for equality of two distributions in high dimensions. The population version of our proposed generalized Cramér-von Mises statistic is nonnegative and equals zero if and only if the two distributions are identical, ensuring that our proposed test is consistent against all the fixed alternatives. In addition, our proposed test statistic has an explicit form and is completely free of tuning parameters. It requires no moment conditions and hence is robust to the presence of outliers and heavy-tail observations. We study the asymptotic behaviors of our proposed test under both the “large sample size, fixed dimension" and the “fixed sample size, large dimension" paradigms. In the former paradigm, we show that the asymptotic power of our proposed test does not depend on the size ratio of the two random samples. This ensures that our proposed test can be readily applied to imbalanced samples. In the latter paradigm, we observe that, surprisingly, the two distributions are equal if and only if their first two moments are equal. In this paradigm, we suggest tailoring our proposed test to detect location shifts and scale differences, which further enhances the power performance of our proposed test significantly. Numerical studies confirm that our proposals are superior to many existing tests in high-dimensional two-sample test problems.
What problem does this paper attempt to address?