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
Generalised Ordered Logit (gologit2) with Categorical Nonparallel VariableHello, I am currently studying the relationship between firm size and access to finance by using th…
Position twoway labels in between two ticksHi, What do I have? A twoway graph with a line plot and an area plot. On the x-axis are dates (from…
coefficent of variationHello, I have run my dataset only discovered that my CV are more that 30 percent and some are even 4…
matching husband-wife and father-daughter observations and generating new variablesDear Statlisters I am working on household survey data. Here I have variables on responses by house…
Lagged VariablesDear all, in a lot of econometric studies in finance they use lagged variables. Why would they do t…
Subscribe to:
Post Comments (Atom)
0 Response to Model's forecast accuracy evaluation
Post a Comment