Hi everyone,
I want to evaluate forecasting accuracy of ARIMA (1,1,1) model. I use only one variable, so it is univariate. I have variable X with 1000 observations.
On first iteration I want to estimate this model by using only 900 observations from the sample. Then I want to obtain one step ahead forecast for 901st observation, calculate forecasting error by using 901st actual observation, store this error. On next iteration I want to estimate the model by using 901 actual observations, obtain forecast for 902nd observation, obtain forecasting error by using 902nd actual observation, store this error and so on until the last iteration.
As the result, in the end I will have 100 forecasting errors and will be able to calculate RMSE for this model. I will appreciate a lot if someone can help me with the code for this loop.
0 Response to Model's forecast accuracy evaluation
Post a Comment