FcAutoARIMA | R Documentation |
Automatic autoregressive and moving average modelling with difference filter
FcAutoARIMA(DataVec, SplitAt, ForecastHorizon, Time, PlotIt = TRUE,
Seasonal=TRUE,PlotBackwardInd, main = "", xlab = "Time", ylab =
"Data", ...)
DataVec |
[1:n] numerical vector of regular (equidistant) time series data. |
SplitAt |
Integer, splits data in test and train at this index. If not given n is used |
ForecastHorizon |
Number of Forecast units of time |
Time |
[1:n] character vector of Time in the length of data |
PlotIt |
Optional, if TRUE: Plots result |
Seasonal |
Optional, if FALSE: no seasonality in data an one step forecast only |
PlotBackwardInd |
Optional, how many units to plot back in time? |
main |
see |
xlab |
see |
ylab |
see |
... |
further arguments passed on to see |
- Autoregressive part (AR) with Lag 4 w.r.t signal term
- Difference Filter (I): 1 Lag, because noon stationary TS (time dependent expectation value of time series)
- Moving Average (MA) with Lag 4 w.r.t noise term
- requires homoscedastic time series - variance does not depend on time
If n-SplitAt=ForecastHorizon
then forecast is completely on test data.
If ForecastHorizon>n-SplitAt
then a real forecast is made of ForecastHorizon-(n-SplitAt)
steps.
If SplitAt=n
then the complete data set is used in estimating the forecast.
List of
Forecast |
[1:ForecastHorizon] of test data Y, test time and forecast FF |
ArimaObject |
Forecast object, the output of |
Model |
Model, the output of |
in mode invisible
wrapper for auto.arima
Michael Thrun
Hyndman, RJ and Khandakar, Y (2008) "Automatic time series forecasting: The forecast package for R", Journal of Statistical Software, 26(3).
Wang, X, Smith, KA, Hyndman, RJ (2006) "Characteristic-based clustering for time series data", Data Mining and Knowledge Discovery, 13(3), 335-364.
auto.arima
data("TempMelbourneAustralia")
res = FcAutoARIMA(TempMelbourneAustralia$Temp, SplitAt = length(TempMelbourneAustralia$Temp)-250,ForecastHorizon = 250, Time=TempMelbourneAustralia$Time)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.