The exact null distribution of the discrete total variation
Nikola Banić, Neven Elezović
Source abstract
The discrete total variation (DTV) of a multinomial histogram, and its version centered at a specified rational null , 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 arithmetic operations for instead of (and for ), and prove an error bound for its floating-point version. We then determine the lattice on which the exact law lives: for ( positive integers with ), is possible if and only if ; for the support lies on a lattice of step , with an explicit gcd that depends on modulo , and this is the exact step for all large , though not always for small ; we also give the parity law and the maximum. For three cells the uniform law has a permanent period- sawtooth, which we describe by a local limit theorem, and in general the masses of the residue classes of modulo converge, along each class of modulo , 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 -- of tables (the normal-based Cornish--Fisher quantile is exact more often at the levels and ), 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.
Evidence graph
No public relationships recorded yet.
Integrity note: This page is a factual metadata record created by deterministic ingestion. It is not a claim that the work moves a mathematical frontier or has been independently verified.