rolling window forecast

choose the best forecast of an AR(p) model, by comparing all AR(p) forecast with realized values
416 download
Aggiornato 7 lug 2015

Visualizza la licenza

This function split the time series into rolling windows. Then, for each of these rolling windows, the algorithm analyzes some AR(p) processes. Then it produces a forecast for each of these processes and for each of the rolling windows. These forecast are compared with the realized values of the time series, and then the function looks for the "best" p-order. This "best" p is chosen by minimizing the quadratic loss function, that is, the squared difference between the forecast and the realized values. the model with smallest quadratic loss function is the best selected, and the it is performed a direct forecast in order to produce the final forecast.
Minimizing the quadratic loss function means that the best model is the one with less distance from the observed values.

Cita come

raffaele (2026). rolling window forecast (https://it.mathworks.com/matlabcentral/fileexchange/52011-rolling-window-forecast), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2014a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Versione Pubblicato Note della release
1.0.0.0