Skip to content

On weighted Kolmogorov-Smirnov-type tests for the two-sample problem

Teresa Ledwina

stat.ME

Abstract

Testing whether two samples come from the same distribution is a fundamental problem in statistics, data science, and machine learning. We consider two unspecified continuous distribution functions on R and revisit the weighted two-sample test proposed by Canner (1975). We show how test of Canner fits into a class of distribution-free tests based on maxima of the absolute value of a weighted empirical process over selected grids. In simulations, tests in this class have higher empirical power than several standard tests for some alternatives, particularly when the distributions differ in the tails. The same framework provides a graphical way to identify where the two distributions differ and to quantify those differences. We also briefly discuss possible extensions of this class of tests to the multivariate setting.

Create a lesson