ewspec(x, filter.number = 10, family = "DaubLeAsymm",
UseLocalSpec = TRUE, DoSWT = TRUE, WPsmooth = TRUE, verbose = FALSE,
smooth.filter.number = 10, smooth.family = "DaubLeAsymm", smooth.levels = 3:(nlevelsWT(WPwst) - 1), smooth.dev = madmad, smooth.policy =
"LSuniversal", smooth.value = 0, smooth.by.level = FALSE, smooth.type = "soft", smooth.verbose = FALSE, smooth.cvtol = 0.01, smooth.cvnorm = l2norm, smooth.transform = I, smooth.inverse = I)
DaubExPhase
and DaubLeAsymm
.x
then this argument should always be T
. (However, you can precompute the modulus of the non-decimated wavelet transform yourself and supply it as x
in which case the
x
then this argument should always be T
. (However, you can precompute the non-decimated wavelet transform yourself and supply it as x
in which case the wd
call within the fWPsmooth=F
is you do not want any wavelet periodogram smoothing (correction is still done).T
then informative messages are printed as the function progresses.filter.select
for further details on which wavelets you can use. Generally speaking it is a good idfilter.select
for further details on which wavelets you can use. There is no need to use the same family as you used to analyse the time series.threshold
for TI-smoothing and choice of potential policies. For EWS estimation LSuniversal
is recommended for thi Chi-sqthreshold
for more information.TRUE
then the wavelet shrinkage is performed by computing and applying a separate threshold to each level in the non-decimated wavelet transform of each scale. Note that each scale in the EWS is smoothed separately and independently: and eT
then informative messages concerning the TI-transform wavelet shrinkage are printed.smooth.policy="cv"
) is used then this argument supplies the cross-validation tolerance.log
transform can pull the coefficients towards normality so that a smooth.policy
smooth.transform
.x
. This object is of class wd
and so can be plotted, printed in the usual way.x
. The EWS estimate (above) is the smoothed corrected version of the wavelet periodgram. The wavelet periodogram is of class wd
and so can be plotted, printed in the usual way.ipndacw
function.To display the EWS use the plot
function on the S
component, see the examples below.
It is possible to supply the non-decimated wavelet transform of the time series and set DoSWT=F
or to supply the squared modulus of the non-decimated wavelet transform using LocalSpec
and setting UseLocalSpec=F
. This facility saves time because the function is then only used for smoothing and correction.
Baby Data
, filter.select
, ipndacw
, LocalSpec
, threshold
wd
wd.object
#
# Apply the EWS estimate function to the baby data
#
Run the code above in your browser using DataLab