2 For Loops Operating Simultaneously
Posted: Thu Nov 13, 2014 7:29 am
Hello,
I have the following code:
As it runs now, the !i loop is treated as nested, however I want both the !i and !j loops to run simultaneously. Is there a way to do this in EViews 8?
If not, do you have any suggestions at how to get around this problem?
Thanks,
Dave
I have the following code:
Code: Select all
for !j=1 to 89
for !i=0 to 88
for %g f m
series nm{%g}{!j}
nm{%g}{!j}=p{%g}{!j}-(p{%g}{!i}(-1)-d{%g}{!j})
nm{%g}{!j}.setformat f.0
next
next
nextIf not, do you have any suggestions at how to get around this problem?
Thanks,
Dave