uh | R Documentation |
Given an input vector of the form “signal + iid Gaussian noise”, the function
estimates the noise level via Median Absolute Deviation, finds the best top-down
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.
uh(x, criterion = inner.prod.max)
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 |
an estimate of the signal
Piotr Fryzlewicz
P. Fryzlewicz (2007) “Unbalanced Haar technique for nonparametric function estimation”. Journal of the American Statistical Association, 102, 1318-1327.
uh.bu
, best.unbal.haar
, inner.prod.max
, inner.prod.max.p
,
hard.thresh
, reconstr
x <- c(rep(0, 100), rep(1, 200)) + rnorm(300) est <- uh(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.