Haar density estimator
ID: haar-density-estimator
A Haar density estimator estimates the Haar scaling function coefficients by sample averages. It is exactly the histogram with cells of width . Its expectation is the Haar projection of the density. If the density has bounded derivative and is bounded by , its pointwise expected absolute error is at most : the first term is the Haar projection error for a Lipschitz function, and the second follows from the variance of a cell count and the Cauchy-Schwarz inequality. Choosing gives error while preserving nonnegativity and integral one.
New to topics? Read the docs here!