method = "arima"
), an AR model (method = "ar"
),
an exponential smoothing method (method = "ets"
), a linear exponential smoothing
method allowing missing values (method = "ets.na"
), or a random walk with drift model
(method = "rwdrift"
). The forecast coefficients are then multiplied by the principal
components to obtain a forecast curve.## S3 method for class 'ftsm':
forecast(object, h = 10, method = c("ets", "arima", "ar", "ets.na",
"rwdrift", "rw", "struct", "arfima"), level = 80, jumpchoice = c("fit",
"actual"), pimethod = c("parametric", "nonparametric"), B = 100,
usedata = nrow(object$coeff), adjust = TRUE, model = NULL,
damped = NULL, stationary = FALSE, ...)
fts
containing point forecasts.fts
containing lower bound for prediction intervals.fts
containing upper bound for prediction intervals.fts
of one-step-ahead forecasts for historical data.fts
of one-step-ahead errors for historical data.forecast
containing the coefficients and their forecasts.ftsm
model.ftsm
, forecastfplsr
, plot.ftsf
, plot.fm
, residuals.fm
, summary.fm
forecast(object = ftsm(ElNino))
forecast(object = ftsm(ElNino, weight = TRUE))
Run the code above in your browser using DataLab