scarm.filter(x, right.width=15, min.left.width=right.width, min.width=floor(right.width/3), max.width=200, sign.level=0.001, bound.noise.sd=0.01, rtr=TRUE, noise.sd.est.method="Q.adj", autocorrelations="no")scarm.filter returns an object of class scarm.filter.
An object of class scarm.filter is a list containing the
following components:plot to an object of class
scarm.filter returns a plot showing the original time series
with the filtered output.min.width and max.width.
For each time point, the window width is adapted to the current data situation by a test comparing two RM slopes estimated in separated sub-windows, a right-hand and a left-hand window.
A more detailed description of the filter can be found in Borowski and Fried (2011).robreg.filter, adore.filter, madore.filter.# # # # # # # # # #
# Short and noisy time series
data(multi.ts)
x <- multi.ts[,1]
# SCARM Filter
scarm.extr <- scarm.filter(x)
plot(scarm.extr)Run the code above in your browser using DataLab