Version control of equations and coefficients

For technical support, tips and tricks, suggestions, or any other information regarding the EViews model object.

Moderators: EViews Gareth, EViews Moderator

wj_pgh
Posts: 3
Joined: Tue Aug 14, 2012 1:03 pm

Version control of equations and coefficients

Postby wj_pgh » Tue Aug 14, 2012 1:23 pm

Hello,

I periodically run an Eviews model using a program, and would like the program to save the model's equations and the equations' coefficients each time the program runs.

To do this manually, I could open the model, click Proc > Links > Break all links - make equations inline, then click Text, and copy and paste the contents of the window.

Is there a way to program it?

I'm running Eviews 7 on Windows XP 2002 sp3.

Thanks!

Bill

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

Re: Version control of equations and coefficients

Postby EViews Gareth » Tue Aug 14, 2012 2:46 pm

Unfortunately there isn't really a way to do that programmatically, currently.
Follow us on Twitter @IHSEViews

wj_pgh
Posts: 3
Joined: Tue Aug 14, 2012 1:03 pm

Re: Version control of equations and coefficients

Postby wj_pgh » Wed Aug 15, 2012 9:39 am

Thanks for the reply. I guess please add that to the user feature wishlist, then :) Before I give up and do it by hand - is there instead a way to write a program to copy individual equations into a text file or the equivalent, capturing the equation specification and its coefficients?

EViews Glenn
EViews Developer
Posts: 2672
Joined: Wed Oct 15, 2008 9:17 am

Re: Version control of equations and coefficients

Postby EViews Glenn » Wed Aug 15, 2012 9:45 am

Just a couple of random thoughts on this. [...this was written prior to your last response...]

If you can get somehow get a list of the equations in the model, then you can loop over the equations and get their substituted coefficients view directly from each equation using the @subst member. In the simple case where all of the equations in the workfile are used in the model, you can do something like

Code: Select all

string alleqs = @wlookup("*", "equation")

to get the initial list.

wj_pgh
Posts: 3
Joined: Tue Aug 14, 2012 1:03 pm

Re: Version control of equations and coefficients

Postby wj_pgh » Wed Aug 15, 2012 1:26 pm

Thanks, I'll give that a try!


Return to “Models”

Who is online

Users browsing this forum: No registered users and 8 guests