Code: Select all
for %var {%var_list}
%v1="firstvariable"
%v2="secondvariable"
series {%var}forecast = 0.5*{%var}
next
But I get a syntax error...
Any ideas?
Thanks
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
Code: Select all
for %var {%var_list}
%v1="firstvariable"
%v2="secondvariable"
series {%var}forecast = 0.5*{%var}
next
Code: Select all
create u 100
series x=nrnd
series y=nrnd
series z=nrnd
series w=nrnd
%var_list = "x y z w"
for %var {%var_list}
%v1="firstvariable"
%v2="secondvariable"
series {%var}forecast = 0.5*{%var}
next
Users browsing this forum: No registered users and 60 guests