uh {unbalhaar}R Documentation

Denoising via Unbalanced Haar

Description

Given an input vector of the form ``signal + iid Gaussian noise", the function estimates the noise level via Median Absolute Deviation, finds the best Unbalanced Haar decomposition (according to the selection rule criterion), thresholds it with the universal threshold, and performs the inverse Unbalanced Haar transform to yield an estimate of the signal.

Usage

uh(x, criterion = inner.prod.max)

Arguments

x a vector of the form ``signal + iid Gaussian noise"
criterion a function which takes a vector of length n and returns an integer between 1 and n-1

Value

an estimate of the signal

Author(s)

Piotr Fryzlewicz

References

P. Fryzlewicz (2006) ``Unbalanced Haar technique for nonparametric function estimation". Preprint.

See Also

best.unbal.haar, inner.prod.max, inner.prod.max.p, hard.thresh, reconstr

Examples

x <- c(rep(0, 100), rep(1, 200)) + rnorm(300)
est <- uh(x)

[Package unbalhaar version 1.0 Index]