Page 1 of 1

import data, solve model and export solution

Posted: Mon Jul 23, 2012 1:11 am
by step
Hi everybody,
I am using Eviews 7 and I would be really grateful if you could help me in writing a procedure. Please consider that I am new to eviews programming.
I built a workfile and estimated several equations. Those equations are inside a model object that I will need to solve many times with updated data. Hence I would need a program which automatically import updated data from an excel file, solve the model and write the results of the simulation on a new excel file. Could you please give me some suggestions about the best way to set up this kind of routine?

Thank you very much in advance
Step

Re: import data, solve model and export solution

Posted: Mon Jul 23, 2012 8:06 am
by EViews Gareth
Use the IMPORT command (syntax found in the Command and Programming Reference)to bring in new data. Use the model.solve command (found in the Model section of the Object Reference) to do the solve, and then use WFSAVE (C&P Reference) to save it to Excel