Metraipolis › archive › dc_462529e80fad
PTED: A multi-dimensional two-sample test for scientific inference and generative machine learning — arXiv:2609.38388
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.38388
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T15:50:12.624Z
- SHA-256 of the archived text
f27621a4c5dc2e0533378d0895653fe0704b3b9b03098ad53c245935f015a2de- Stable URL of this page
https://metraipolis.com/documento/dc_462529e80fad
How to cite
PTED: A multi-dimensional two-sample test for scientific inference and generative machine learning — arXiv:2609.38388 — arXiv (en), https://arxiv.org/abs/2609.38388 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_462529e80fad (Metraipolis archive dc_462529e80fad, sha256 f27621a4c5dc2e0533378d0895653fe0704b3b9b03098ad53c245935f015a2de)
BibTeX
@misc{dc462529e80fad,
title = {PTED: A multi-dimensional two-sample test for scientific inference and generative machine learning — arXiv:2609.38388},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.38388},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_462529e80fad; sha256 f27621a4c5dc2e0533378d0895653fe0704b3b9b03098ad53c245935f015a2de},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.38388. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Two-sample tests are widely applicable in inference and generative modelling, yet users frequently fall back on heuristics and visual inspection due to lack of an accessible test that operates in multiple dimensions. I present Permutation Test using the Energy Distance (PTED), a Python implementation of a powerful two-sample test described in Székely and Rizzo [2004]. The test statistic is the energy distance, a metric on probability distributions that admits a natural sample estimator built from pairwise distances. A permutation test is run on energy distances to produce an exact two-sample test. Because the statistic depends on the data only through pairwise distances, the test applies in high dimensions, on learned feature representations, at large or small or imbalanced sample sizes, and to any data type on which a distance can be defined. An approximation to the formula allows PTED to scale linearly with both number of dimensions and samples while retaining most discriminative power. I highlight a number of instructive sensitivity tests on PTED alongside other multi-dimensional two-sample tests for comparison. PTED is the only method that is sensitive to all tests, though conventional Maximum Mean Discrepancy is identical for all but an over-fitting test. Tema degli esploratori: statistica e scienza dei dati (retro-catalogo arXiv: annunci del 2026-10-01 in physics.data-an). Categorie arXiv: Instrumentation and Methods for Astrophysics (astro-ph.IM) ; Data Analysis, Statistics and Probability (physics.data-an); Machine Learning (stat.ML). Pagina del lavoro: https://arxiv.org/abs/2609.38388 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T15:23:51.534Z dalla pagina https://arxiv.org/catchup/physics.data-an/2026-10-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).