I am using Eviews 8.
I try to make a loop in which I create several models that differ in their estimation and forecast samples.
It looks like :
Code: Select all
for !i = 0 to 12
smpl 2000Q1 2010Q4+!i (estimation sample)
model modelname{!i}
(...)
smpl 2011Q1+!i 2011Q4+!i (forecast sample)
modelname{!i}.append ....
modelname{!i}.merge ....
solve(d=s, s=a) modelname{!i}
next
My problem is that Eviews only stores the results of each model "modelname" for the last forecast sample (in the example 2014Q1 2014Q4). Whereas I want to have modelname1 solved only for 2011Q2 2012Q1; modelname2 solved for 2011Q3 2012Q2, etc.
Do you know what is the problem ? How can I force Eviews to store my results each time ?
Thank you very much