import data, solve model and export solution

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

step
Posts: 2
Joined: Wed Jul 11, 2012 8:28 am

import data, solve model and export solution

Postby step » Mon Jul 23, 2012 1:11 am

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: import data, solve model and export solution

Postby EViews Gareth » Mon Jul 23, 2012 8:06 am

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


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest