Near-Optimal Bounds for Testing Histogram Distributions

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, -histograms over , are probability distributions that are piecewise constant over a set of intervals. The histogram testing problem is the following: Given samples from an unknown distribution on , we want to distinguish between the cases that is a -histogram versus -far from any -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 .
View on arXiv