Usage
AutoBestBW(x, filter.number = 1, family = "DaubExPhase",
smooth.dev = var, AutoReflect = TRUE, tol = 0.1, maxits = 5,
plot.it = FALSE, verbose = 0, ReturnAll = FALSE)Arguments
x
Time series you want to analyze.
filter.number
The wavelet filter used to carry out smoothing operations.
family
The wavelet family used to carry out smoothing operations.
smooth.dev
The deviance estimate used for the smoothing (see ewspec help)
AutoReflect
Mitigate periodic boundary conditions of wavelet transforms
by reflecting time series about RHS end before taking
transforms (and is undone before returning the answer).
tol
Tolerance for golden section search for the best bandwidth
maxits
Maximum number of iterations for the golden section search
plot.it
Plot the values of the bandwidth and its closeness of the
linear smooth to the wavelet smooth, if TRUE.
verbose
If nonzero prints out informative messages about the progress
of the golden section search. Higher integers produce more
messages.
ReturnAll
If TRUE then return the best bandwidth (in the ans component),
the wavelet smooth (in EWS.wavelet) and the closest linear
smooth (EWS.linear). If FALSE then just the bandwidth is returned.