Page 1 of 1

looping through series error

Posted: Fri Jun 14, 2019 3:52 am
by mivan
Hey

I have 152 series F1,F2..F152 and 152 series L1..L152. I want to create a new series MR= (L-F)/F for the 152 series.

I have the following code which returns a syntax error.

for !i =1 to 152
series mr{!i} =((L{!i}-F{!i}/F{!i})
next

Could you please help me?

Re: looping through series error

Posted: Fri Jun 14, 2019 5:37 am
by EViews Gareth
You’re missing a close parenthesis