new.ssa(x,
L = (N - 1) %/% 2,
...,
kind = c("1d-ssa", "2d-ssa", "toeplitz-ssa"),
svd_method = c("nutrlan", "propack", "svd", "eigen"),
force.decompose = TRUE)
decompose
(e.g. neig
).kind
argument):
The main step of the SSA method is the singular decomposition of the
so-called series trajectory matrix. Package provides several
implementations of this procedure (corresponds to different values of
svd_method
) argument:
[object Object],[object Object],[object Object],[object Object]
Usually the new.ssa
function tries to provide the best SVD
implementation for given series length and the window size. In
particular, for small series and window sizes it is better to use
generic black-box routines (as provided by 'svd' and 'eigen'
methods). For long series special-purpose routines are to be used.
Korobeynikov, A. (2010) Computation- and space-efficient implementation of SSA. Statistics and Its Interface, Vol. 3, No. 3, Pp. 257-268
svd
,
decompose
,
ssa
# Decompose 'co2' series with default parameters
s <- new.ssa(co2)
# Reconstruct the series, grouping elementary subseries 2, 3 and 4, 5.
r <- reconstruct(s, groups = list(1, c(2,3), c(4,5)))
Run the code above in your browser using DataLab