robsplinedecomp
decomposes a vector into trend, season and irregular component by robustified spline approach; a time series attribute is lost
robsplinedecomp
decomposes a vector into trend, season and irregular component by robustified spline approach; a time series attribute is lostrobsplinedecomp(y, d, alpha, beta, Plot = FALSE)
y
: the series, a vector or a time seriesd
: seasonal periodalpha
: smoothing parameter for trend component (the larger alpha is, the smoother will the smooth component g be)beta
: smoothing parameter for seasonal componentPlot
: logical, should a plot be produced?out list with the elements trend, season, residual
data(GDP) out <- robsplinedecomp(GDP,4,2,10,Plot=FALSE)
Useful links