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.
Related Posts with Model's forecast accuracy evaluation
Test for PoolabilityHello! My name is Evgeny and i ask you to help me to understand what is the Poolability test in stat…
Calculating date from day of year and yearHi there, I have a day-of-year variable (1 - 366), and year variable (4- digit, i.e. - 2012, etc) a…
PSM with psmatch2 and xtregHello everyone, I'm trying to do a difference in difference regression on matched data. However, I …
Panel dataHello everyone! My name is Tobi and i want to ask you to help me. In my panel data a RE model was ch…
New version of kmest on SSC (AGAIN)Thanks once again to Kit Baum, a new version of the kmest package (superseding yesterday's version) …
Subscribe to:
Post Comments (Atom)
0 Response to Model's forecast accuracy evaluation
Post a Comment