Description Usage Arguments Value Note References
This function carries out the joint thresholding algorithm described in
section 5 of Evers and Heaton (2009). Though the function, in principle,
can work any sequence of arrays, it is designed to work with blocks of
wavelet coefficients. These can be extracted from an
wd
or imwd
object
using the function extract.coefficients
.
1 |
data |
A list containing the arrays to be thresholded. The elements
of the array have to be arrays of the same number of dimensions. The
arrays can be of different sizes, however the ratio of their side
lengths has to be the same. Can be a list of wavelet coefficients
extracted using |
beta |
Instead of using the original |
weights |
The different elements of the list can be weighted. This allows for giving greater weight to certain arrays. By default, no weights are used. |
control |
A list that allows the user to tweak the behaviour of
|
wtthresh
returns an object of the class c("wtthresh")
,
which is a list containing the following elements:
splits |
A table describing the structure of the fitted tree together with the local loglikelihoods required for the pruning. |
details |
A table giving the details about where the split was carried out for each of the arrays (i.e. for each block of coefficients). |
w |
The weights w of the mixture component corresponding to
the signal for each region as described by the corresponding row of |
t |
The corresponding hard threshold t for each region as described by the corresponding row of |
membership |
A list of the same length as |
beta |
The values of beta for each coefficient (as a list). |
data |
The data used (as a list). |
weights |
The weights used for each array of observations/coefficients. |
control |
The control list of tuning options used. (see argument |
For an example of the use of wtthresh
, see coefficients
.
Evers, L. and Heaton T. (2009) Locally Adaptive Tree-Based Thresholding, Journal of Computational and Graphical Statistics 18 (4), 961-977. Evers, L. and Heaton T. (2017) Locally Adaptive Tree-Based Thresholding, Journal of Statistical Software, Code Snippets, 78(2), 1-22.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.