String to Equation

For questions regarding programming in the EViews programming language.

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

Mgatmait
Posts: 8
Joined: Fri Jun 28, 2019 6:42 am

String to Equation

Postby Mgatmait » Mon Jul 08, 2019 5:26 am

Hi, i'm trying to make it so i can make a string which contains an equation with IV, DV, ARIMA terms and their lags. Then put that into an equation, does anyone know how to go about doing that? I've been stuck trying to put the String into "equation eql.ls string" but it doesnt work and i would need to know the data type.

EViews Matt
EViews Developer
Posts: 563
Joined: Thu Apr 25, 2013 7:48 pm

Re: String to Equation

Postby EViews Matt » Mon Jul 08, 2019 8:55 am

Hello,

You have a string object that contains the equation specification, yes? Use string substitution, e.g.,

Code: Select all

equation eql.ls {string}


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 36 guests