Search arXiv⌕ Search

arXiv · 2611.41657

The exact null distribution of the discrete total variation

Abstract

The discrete total variation (DTV) $d=\sum_i|X_{i+1}-X_i|$ of a multinomial histogram, and its version $d_{\mathbf r}$ centered at a specified rational null $\mathbf r$, have exact null laws that can be computed by dynamic programming. We describe the recurrence for both nulls in one generic form, give a running-sum version that needs $O(nN^3)$ arithmetic operations for $d$ instead of $O(nN^4)$ (and $O(nLN^3)$ for $d_{\mathbf r}$), and prove an error bound for its floating-point version. We then determine the lattice on which the exact law lives: for $r_i=q_i/L$ ($q_i$ positive integers with $\gcd_iq_i=1$), $d_{\mathbf r}=0$ is possible if and only if $L\mid N$; for $n\ge3$ the support lies on a lattice of step $s/L$, with $s$ an explicit gcd that depends on $N$ modulo $L$, and this is the exact step for all large $N$, though not always for small $N$; we also give the parity law and the maximum. For three cells the uniform law has a permanent period-$3$ sawtooth, which we describe by a local limit theorem, and in general the masses of the residue classes of $L\,d_{\mathbf r}$ modulo $L$ converge, along each class of $N$ modulo $L$, to sums of Gaussian orthant probabilities. The exact cumulants agree numerically with the limits of the companion paper. Finally we calibrate continuous approximations against exact tables. With exact finite-sample moments, a gamma-based Cornish--Fisher quantile with a half-span lattice shift gives the exact critical value in five illustrative uniform cases, but not uniformly on a wider grid; under general nulls it is exact in only $39$--$53\%$ of $182$ tables (the normal-based Cornish--Fisher quantile is exact more often at the levels $1\%$ and $0.1\%$), and it can fail completely when some expected counts are small. We therefore recommend the exact law, or at least an exact check of the tail, whenever the level must be controlled.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Nikola Banić, Neven Elezović. 2026-11-30. The exact null distribution of the discrete total variation. https://searcharxiv.org/abs/2611.41657

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

On isomorphism testing of strongly regular direction graphs

Let $\mathbb{F}$ be a finite field of order $q$. For $D\subseteq\mathrm{PG}(1,\mathbb{F})$, the direction graph $X(\mathbb{F},D)$ has vertex set $\mathbb{F}^2$, with two distinct vertices adjacent if and only if the line joining them in $\mathrm{AG}(2,\mathbb{F})$ has direction in $D$. We identify a class containing almost all direction graphs as $q\to\infty$ through prime powers. Every isomorphism from a graph in this class to any direction graph over the same field belongs to $\mathrm{AΓL}(2,\mathbb{F})$. This yields an isomorphism test running in time polynomial in $q$, with the field and direction sets given explicitly. We also prove that isomorphism testing takes polynomial time whenever the degree of $\mathbb{F}$ over its prime subfield is bounded. Finally, it is shown that almost all direction graphs have no automorphisms other than translations and nonzero scalar multiplications.

cs.DM↗

Entanglement from Expansion: Deterministic Graphs of Large Rank-Width

We give a degree-five $n$-vertex graph family with rank-width at least $n/15$. This family yields deterministically constructible graph states of linear entanglement width preparable in at most six CZ layers under all-to-all connectivity. We also prove that the $k$-dimensional hypercube has rank-width $Θ(2^k/\sqrt{k})$, the corresponding states providing better entanglement width values for NISQ-accessible numbers of qubits. Our bounds use an expansion-to-rank-width transfer, and a stronger matching construction for Cartesian products.

cs.DM↗

Bi-sequence Degree Realization with a Minimum Dominating Set

The input to the Bi-sequence Degree Realization problem is a pair $a=(a_1, \ldots, a_n)$ and $b = (b_1, \ldots, b_m)$ of two integer sequences (or a bi-sequence), and the goal is to find a bipartite graph $G =(V,W,E)$, such that the degree sequences of $V$ and $W$ are $a$ and $b$, respectively, or to decide that such a realization does not exist. There are well-known polynomial time algorithms for this problem, and there exists a characterization, based on a set of $O(n)$ inequalities that can be used to determine whether a solution exists for a given bi-sequence. A bi-sequence $(a,b)$ may have several realizations, and some of them may be preferable to others with respect to some measure. In this paper, focusing on the measure of dominating set size, we study the problem of Bi-sequence Degree Realization with respect to the Min Dominating Set problem, where the goal is to compute a realization of the input bi-sequence $(a,b)$ with the smallest possible dominating set among all the realizations of $(a,b)$. Our first contribution is a polynomial-time realization algorithm for Bi-sequence Degree Realization with respect to Min Dominating Set. We also provide a characterization for the existence of a realization with a dominating set of size $γ$ consisting of $O(nm(n+m)γ)$ inequalities.

cs.DM↗