Saved in:
Bibliographic Details
Main Authors: Banić, Nikola, Elezović, Neven
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2606.01465
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917552982065152
author Banić, Nikola
Elezović, Neven
author_facet Banić, Nikola
Elezović, Neven
contents Histogram uniformity testing is a common statistical task usually performed using Pearson's chi-square test. This paper proposes a new test based on the discrete total variation that is easy to compute and, for comb-like (alternating) deviations, achieves up to 67% higher statistical power than Pearson's chi-square test, making it a complement to standard tests. The exact null distribution is computed via dynamic programming, and a gamma approximation with Monte Carlo estimation extends the test to arbitrarily large sample sizes. Experiments on simulated ADC alternating differential nonlinearity and on rounding bias detection in scientific data confirm the claims. The Python source code and precomputed data are available at https://github.com/DiscreteTotalVariation/CombTest.
format Preprint
id arxiv_https___arxiv_org_abs_2606_01465
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Comb Test: Histogram Uniformity Testing Based on Discrete Total Variation
Banić, Nikola
Elezović, Neven
Methodology
Histogram uniformity testing is a common statistical task usually performed using Pearson's chi-square test. This paper proposes a new test based on the discrete total variation that is easy to compute and, for comb-like (alternating) deviations, achieves up to 67% higher statistical power than Pearson's chi-square test, making it a complement to standard tests. The exact null distribution is computed via dynamic programming, and a gamma approximation with Monte Carlo estimation extends the test to arbitrarily large sample sizes. Experiments on simulated ADC alternating differential nonlinearity and on rounding bias detection in scientific data confirm the claims. The Python source code and precomputed data are available at https://github.com/DiscreteTotalVariation/CombTest.
title Comb Test: Histogram Uniformity Testing Based on Discrete Total Variation
topic Methodology
url https://arxiv.org/abs/2606.01465