Near-Optimal Bounds for Testing Histogram Distributions

Clément L. Canonne, Ilias Diakonikolas, Daniel M. Kane, Sihan Liu
7/14/2022
cs.DScs.LGmath.ST

No confident code implementation found for this paper.

Abstract

We investigate the problem of testing whether a discrete probability distribution over an ordered domain is a histogram on a specified number of bins. One of the most common tools for the succinct approximation of data, $k$-histograms over $[n]$, are probability distributions that are piecewise constant over a set of $k$ intervals. The histogram testing problem is the following: Given samples from an unknown distribution $\mathbf{p}$ on $[n]$, we want to distinguish between the cases that $\mathbf{p}$ is a $k$-histogram versus $\varepsilon$-far from any $k$-histogram, in total variation distance. Our main result is a sample near-optimal and computationally efficient algorithm for this testing problem, and a nearly-matching (within logarithmic factors) sample complexity lower bound. Specifically, we show that the histogram testing problem has sample complexity $\widetilde Θ(\sqrt{nk} / \varepsilon + k / \varepsilon^2 + \sqrt{n} / \varepsilon^2)$.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{canonne2022nearoptimal,
  title  = {Near-Optimal Bounds for Testing Histogram Distributions},
  author = {Clément L. Canonne and Ilias Diakonikolas and Daniel M. Kane and Sihan Liu},
  year   = {2022},
  eprint = {2207.06596},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.06596v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.06596.svg)](https://codeofpaper.com/paper/2207.06596)

Discussion