CWCV
.)WaveletCV(ynoise, x = 1:length(ynoise), filter.number = 10, family =
"DaubLeAsymm", thresh.type = "soft", tol = 0.01, verbose = 0,
plot.it = TRUE, ll=3)
ynoise
values.
Further this argument is returned by this function which can
be useful for later processors.CWCV
is available.
It takes the same arguments (although it has one extra minor argument) and returns the same values.Compute the two-fold cross-validated wavelet shrunk estimate given the noisy data ynoise according to the description given in Nason, 1996.
You must specify a primary resolution given by ll
. This must be specified individually on each data set and can itself be estimated using cross-validation (although I haven't written the code to do this).
Note. The two-fold cross-validation method performs very badly if the input data is correlated. In this case I would advise using other methods.
CWCV
,Crsswav
,rsswav
,threshold.wd
#
# This function is best used via the policy="cv" option in
# the threshold.wd function.
# See examples there.
#
Run the code above in your browser using DataLab