Dyadic partition Created 2026-10-06 Updated 2026-10-07
A dyadic partition of at level consists of equal cells of length . Each cell splits into two cells at the next level. Use left-closed, right-open cells, adding the endpoint to the final cell when a pointwise representative is needed. These nested partitions underlie the Haar scaling functions and Haar wavelets.
Haar density estimator 2026-10-14
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.
Haar projection Created 2026-10-06 Updated 2026-10-14
The Haar projection at level is the orthogonal projection onto the functions constant on level- dyadic intervals. On each cell it replaces by its cell average. This is the closest cellwise-constant approximation in the L2 norm, because choosing a constant on a cell minimizes at its cell average.
On , take the step function with values on successive quarter-intervals. At level zero, its Haar projection is the constant . At level one, it has values and on the two halves. At level two, it recovers the four original values exactly. With normalized Haar wavelets, these approximations are
The coefficients are L2 inner products, so they differ from the discrete vector coefficients by the factor . Their squared sum also has a direct meaning:
The approximation errors in squared L2 norm of are respectively : each added detail removes exactly its own squared coefficient from the error.
Figure 1.
Coarse mean, half-interval contrasts and quarter-interval details reconstruct the same four-step function
. Details.
The Haar projection can be expressed using level- Haar scaling functions, or through a coarse scaling family and the Haar wavelets at intermediate levels. On with lowest level zero, that coarse family is the single constant function . On the whole real line, use the integer translates of a coarse Haar scaling function instead; one global constant is not square-integrable. Refinement improves the representation while retaining the earlier coefficients.
Haar projection estimator in Gaussian white noise Created 2026-10-06 Updated 2026-10-07
In the Gaussian white noise model, estimate a Haar scaling function coefficient by . The resulting Haar projection estimator is an unbiased estimator with independent coefficient errors of variance . On each cell it is the observed path increment divided by the cell length. This gives a finite-dimensional estimator without imposing smoothness on the drift.
Haar refinement identity Created 2026-10-07 Updated 2026-10-14
The normalized Haar scaling functions and wavelets obey
This orthogonal two-by-two transformation gives the multiresolution analysis decomposition . Iterating it expresses a Haar approximation either through level- cell averages or through coarse averages and all wavelet details at lower levels. The identities remain valid locally for coefficient integrals of locally integrable functions, without a global assumption.
Haar scaling function Created 2026-10-06 Updated 2026-10-14
At level , a Haar scaling function is the normalized indicator function of the dyadic interval . Its L2 norm is one because its squared height is and its support length is .
For a real square-integrable function , its coefficient is
Multiplying the coefficient by the Haar scaling function restores the cell average on that interval. The disjoint supports make the functions at one level an orthonormal basis of the cellwise-constant subspace. This normalization is also what turns coefficient variances in the Gaussian white noise model into and cellwise variances into in the Haar projection estimator in Gaussian white noise.
Haar wavelet Created 2026-10-05 Updated 2026-10-14
The Haar wavelet is a signed contrast between two adjacent half-intervals:
It has compact support, zero integral, and unit L2 norm: and . The zero integral is its one vanishing moment. Its Haar scaling function is , which records a coarse value rather than a contrast. Endpoint conventions do not alter the L2 inner products.
The normalized copies compare the halves of the dyadic interval . Narrower copies are taller so that their L2 norms stay one. Thus a coefficient identifies both a location, through , and a scale, through .
Figure 1.
The Haar wavelet and two finer localized contrasts have zero integral and unit L2 norm
. Details.
For a simple step function equal to on and on , its coarse coefficient is , while its first contrast is . Thus . The negative coefficient raises the second half and lowers the first. Finer contrasts vanish because is constant on each half. A jump aligned with this dyadic interval boundary therefore needs only two nonzero coefficients; jumps at other positions can require details at many scales.
Its jump discontinuities make the Haar wavelet particularly transparent for changes between neighbouring regions, while limiting approximation of smooth variation. A Daubechies wavelet uses a more elaborate pattern to obtain additional vanishing moments and, at sufficiently high order, smoother basis functions. The elementary Haar refinement identity has coefficients and explains how the coarse and fine descriptions fit together.
The historical source is Alfred Haar's [ref]. Chapter III, beginning on page 361, constructs the constant function and these localized piecewise-constant orthogonal functions. Its original endpoint assignments differ from the half-open convention used here, without changing L2 inner products.
Orthonormal wavelet Created 2026-09-24 Updated 2026-10-14
An orthonormal wavelet generates an orthonormal basis of through
The factor compensates for the shrinking support of a function, keeping the L2 norm equal to one. Orthogonality makes different coefficients separate squared-norm contributions, and completeness allows the wavelet series to recover any square-integrable function in the L2 norm.
For the Haar wavelet, wavelets at one scale have disjoint supports. At different scales their dyadic intervals are either disjoint or nested. On the support of the finer wavelet, the coarser one is constant, while the finer one has zero integral, so their L2 inner product is zero. Together with the unit L2 norm, this explains orthonormality. On the bounded interval , add the constant Haar scaling function and use , ; the constant function is not an basis element on the whole line.
Let be the scaling function and an orthonormal wavelet, with and . For , the wavelet series at a coarse level is
The series converges in the L2 norm. Its coarse part captures broad variation and successive wavelet levels add finer detail. Truncating at levels produces the orthogonal projection onto ; Parseval identity makes its squared approximation error the sum of the omitted squared coefficients. Merely square-integrable functions need not have pointwise convergence.
For the Haar wavelet, use the cell convention and let be the unique such interval containing . The Haar scaling functions are , so the Haar projection is
For a merely locally integrable function this cell-average formula remains defined, even if a global orthogonal projection is unavailable. If , the mean value theorem gives Lipschitz continuity and, since on the cell,
Thus the requested bound holds with , by the Haar projection error for a Lipschitz function.
To estimate a density, replace each scaling or wavelet coefficient or by the sample average of that basis function. The finite-resolution Haar density estimator is therefore
It is the histogram on the dyadic cells, is nonnegative, and integrates to one. Its expectation is . A density with bounded derivative is bounded: the Lipschitz density height bound gives by integrating the triangular lower envelope . The case cannot be a probability density on the whole real line. Hence .
The cell probability is . The sample count has a binomial distribution, so
The Cauchy-Schwarz inequality bounds the mean centered absolute deviation by the square root of this variance. Adding the projection bias gives
Choose , so . The two terms have the same order, and
This is a bias-variance tradeoff: refining the cells decreases the averaging bias but increases the sampling variance.
The Haar projection averages this normal distribution density on each cell; the finer cells follow its variation more closely. A Haar density estimator replaces these exact cell probabilities by empirical frequencies and therefore also introduces sampling noise.
Use half-open intervals and set
The Haar scaling functions and Haar wavelets are
For fixed , each scaling function has squared integral , and different have disjoint supports, proving that this family is orthonormal. Each wavelet also has norm one and integral zero. At a fixed level, distinct wavelets have disjoint supports. At different levels, their dyadic supports are either disjoint or the finer support lies in a half on which the coarser wavelet is constant. The finer wavelet has integral zero, so their inner product vanishes. Finally, a wavelet with is supported inside a unit interval; it is orthogonal to its containing because its integral is zero, and to all other unit scaling functions because their supports are disjoint. Thus both the scaling family at each fixed level and the complete stated Haar family are orthonormal sets.
The Haar refinement identity is
It shows that the closed scaling spaces satisfy , where is the closed span of the level- wavelets. The union of the is dense in : continuous compactly supported functions can be approximated in by their dyadic cell averages, and such continuous functions are dense in . Hence the orthonormal Haar family is also a complete orthonormal basis.
For a locally integrable function, define the compact-support coefficient integrals
These exist without requiring . The two formulas for the Haar approximation are
For the wavelet sum is empty. For every fixed , these sums are locally finite, so they make sense pointwise and locally in . The refinement identities and their orthogonal two-by-two coefficient transformation establish equality by induction, even for merely locally integrable . If , this is also the orthogonal projection onto .
In particular, for and ,
Now impose the symmetry and monotonicity conditions. The limit zero and decrease on imply for . For , the cell average and every value inside lie between and . Therefore
Summing over the positive half-line telescopes and gives a bound . Reflection maps each dyadic cell to another dyadic cell up to endpoints. Since is even, its Haar approximation is even almost everywhere as well, so the negative half-line has the same error. Consequently
The argument proves integrability of the difference, even if itself is not integrable on the whole line. It is the symmetric monotone case of the Haar approximation error for a function of bounded variation.
In the Gaussian white noise model, observe the entire path
where is standard Brownian motion and the deterministic drift belongs to L2 space on . Equivalently, . For every deterministic , the observed stochastic integral satisfies
The noise is an isonormal Gaussian process. In particular its variance is . Gaussian white noise is interpreted through these integrals, rather than as an ordinary random function with a pointwise value at every time. No smoothness of is needed.
Here is the Gaussian maximum bound without independence. Put . It is integrable since it is bounded by . For every ,
The second inequality uses only the moment-generating function of the standard normal distribution, so independence is unnecessary. Jensen inequality gives , hence
Minimizing at proves
For the dyadic partition, let , , putting the endpoint into the final interval. The Haar scaling functions
form an orthonormal basis of the space of functions constant on each interval. The Haar wavelets can be written as
For , the constant function together with , , is another orthonormal basis of . Indeed, each successive level splits a cell's two constants into their sum and difference; the number of basis elements is . Thus the Haar projection is the orthogonal projection
On cell its value is . The first formula also applies to .
Estimate each coefficient by its observed stochastic integral:
This is the Haar projection estimator in Gaussian white noise. The noise integrals over disjoint intervals form a Gaussian vector with zero off-diagonal covariance. The principle that uncorrelated jointly Gaussian variables are independent then makes these coefficients independent. Therefore
Taking expectations shows that is an unbiased estimator of , both coefficientwise and pointwise for the stated step-function representatives.
Only one scaling function is nonzero in each cell, so the supremum norm of the error has the exact form
The endpoint convention ensures the same identity at . Apply the Gaussian maximum bound without independence with to obtain the supremum norm risk of a Haar projection estimator:
The factor comes from cellwise scaling, while the extra square root of comes from taking the maximum over Gaussian errors.