On the Consistency of the Shortest Hamiltonian Path Test

Introduced by Biswas et al. (2014), the shortest Hamiltonian path (SHP) test is a popular nonparametric, multivariate 2-sample test which has the much-desired property that it is exactly distribution-free under the null hypothesis. The test constructs a shortest Hamiltonian path on the pooled sample and counts the number of edges connecting points from different samples. For similar distributions, the test statistic should be relatively large, and for dissimilar distributions, the test statistic should be small. The nature of the SHP makes it quite similar to path construction for the Traveling Salesman Problem (TSP), and exact calculation of the SHP is nondeterministic polynomial (NP) complete. In this paper, we use TSP approximation methods to approximate the SHP. We prove that the SHP test is universally consistent under this implementation, that is, the power of the tests converges to 1, as the samples sizes go to infinity, for all fixed alternatives.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-08-15
DOI
https://doi.org/10.5281/zenodo.16879460
Primary Topic
Retinal Diseases and Treatments
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

On the Consistency of the Shortest Hamiltonian Path Test

Zenodo (CERN European Organization for Nuclear Research)
Retinal Diseases and Treatments
article

On the Consistency of the Shortest Hamiltonian Path Test

article en

Abstract

Introduced by Biswas et al. (2014), the shortest Hamiltonian path (SHP) test is a popular nonparametric, multivariate 2-sample test which has the much-desired property that it is exactly distribution-free under the null hypothesis. The test constructs a shortest Hamiltonian path on the pooled sample and counts the number of edges connecting points from different samples. For similar distributions, the test statistic should be relatively large, and for dissimilar distributions, the test statistic should be small. The nature of the SHP makes it quite similar to path construction for the Traveling Salesman Problem (TSP), and exact calculation of the SHP is nondeterministic polynomial (NP) complete. In this paper, we use TSP approximation methods to approximate the SHP. We prove that the SHP test is universally consistent under this implementation, that is, the power of the tests converges to 1, as the samples sizes go to infinity, for all fixed alternatives.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 40%
Retinal Diseases and Treatments
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.