I want to import a model containing hundreds of eqonometric equations and thousands of identities. A program that reads the identities from a text file and performs the necessary substitutions work ok. But how can I import equations from a text file where each line looks something like
DEL(1:LOG(BH10)) = bhr11+bhr.11+bh.11[1]+bh.11[2]*DEL(1:LOG(BH10(1)))+...
into an equation object? (Don't mind the different syntax, that can be changed by substitution)
Import eqonometric equations
Moderators: EViews Gareth, EViews Jason, EViews Moderator

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

 Posts: 4
 Joined: Mon Jul 17, 2017 3:49 am
Re: Import eqonometric equations
Thanks, but it does not work declareing an econometric Equation object and then append the equation formulation read from a text file and edited into EViews syntax. Even this does not work:
equation eq1
eq1.append h10 c dum904 jk72
But this does:
%eq_bh10 = "h10 c dum904 jk72"
equation eq_bh10.ls {%eq}
It seems like the estimation method has to be predetermined to be a property of the equation object and the equation formulation read from file has to be transformed to EViews syntax by string manipulation. Is that that true?
equation eq1
eq1.append h10 c dum904 jk72
But this does:
%eq_bh10 = "h10 c dum904 jk72"
equation eq_bh10.ls {%eq}
It seems like the estimation method has to be predetermined to be a property of the equation object and the equation formulation read from file has to be transformed to EViews syntax by string manipulation. Is that that true?

 Fe ddaethom, fe welon, fe amcangyfrifon
 Posts: 11776
 Joined: Tue Sep 16, 2008 5:38 pm
Who is online
Users browsing this forum: No registered users and 8 guests