fts
object. The
function uses optimal orthonormal principal components obtained from a
principal components decomposition.ftsm(y, order = 6, ngrid = max(500, ncol(y$y)), method = c("classical",
"M", "rapca"), mean = TRUE, level = FALSE, lambda = 3,
weight = FALSE, beta = 0.1, ...)
fts
object, which can be obtained from colnames(y$y)
.fts
object, which can be obtained from y$x
.y$x
(one column for each principal component).
The first column is the fitted mean or median.fts
containing the fitted values.fts
containing the regression residuals (difference between observed and fitted).method = "classical"
, then standard functional principal component decomposition is used, as described by
Ramsay and Dalzell (1991).
If method = "rapca"
, then the robust principal component algorithm of Hubert, Rousseeuw and Verboven (2002) is used.
If method = "M"
, then the hybrid algorithm of Hyndman and Ullah (2005) is used.ftsmweightselect
, forecast.ftsm
, plot.fm
, plot.ftsf
, residuals.fm
, summary.fm
ftsm(y = ElNino)
ftsm(y = ElNino, weight = TRUE)
Run the code above in your browser using DataLab