Simultaneous FOR LOOP
Posted: Wed Jan 14, 2009 1:16 pm
Hi I am new to Eviews and I would like to generate series using two control variables that need to be advanced at the same time. I have two pools comm and compr
for !i=1 to comm.@ncross %cm=comm.@idname(!i) !j=1 to compr.@ncross %cmpr=compr.@idname(!j)
genr {%cm}pch = (@elem({%cmpr},"2008m12")/ @elem({%cmpr},"2007m12")-1)*100
next
The syntax is wrong and gives me an error message
Thanks
for !i=1 to comm.@ncross %cm=comm.@idname(!i) !j=1 to compr.@ncross %cmpr=compr.@idname(!j)
genr {%cm}pch = (@elem({%cmpr},"2008m12")/ @elem({%cmpr},"2007m12")-1)*100
next
The syntax is wrong and gives me an error message
Thanks