Gap-Entropy Testing (GET): A Framework for Structural and Distributional Differences
The classical two-sample problem is framed as the detection of differences in marginal distributions, in terms of location, scale, or overall shape. In this paper, Gap–Entropy Testing (GET) is proposed, a novel nonparametric framework that extends the two-sample paradigm by adding a spacing-sensitive component to conventional distributional analysis. The approach is based on order statistics, log1p-transformed adjacent spacings normalized by their median gap, and entropy estimation using a Vasicek-type estimator. Inference is performed by permutation testing under a common continuous i.i.d. null. Three complementary statistics were developed: GET-V compares spacing-entropy estimates; GET-Plus combines spacing and median-location components; and GET-Ω additionally incorporates energy distance. Under the common i.i.d. null, GET-V has a type-I error close to the nominal 0.05 level and is insensitive to a pure location shift. For the lattice and micro-cluster example, GET-V has large rejection rateσ, which is related to the spacing regularity and the organization of the local gap. GET-V is also sensitive to marginal shape, and individual-label permutation is anti-conservative under matched lattice and shifted-lattice nulls. Application to public benchmark datasets allows us to use GET-V for continuous variables without ties. GET is a reproducible and interpretable framework that adds spacing information to standard two-sample comparisons.
Authors
- Vangelis Karalis (ORCID: https://orcid.org/0000-0003-0492-0712)
Institutions
- National and Kapodistrian University of Athens (GR)
- Foundation for Research and Technology Hellas (GR)
Publication Details
- Journal
- Applied Mathematics and Statistics
- Published
- 2026-09-18
- DOI
- https://doi.org/10.53941/ams.2026.100019
- Primary Topic
- Bayesian Methods and Mixture Models
- Type
- article
- Field-Weighted Citation Impact
- 0.00