Page 1 of 1

Filter Loop

Posted: Sun Nov 18, 2012 10:44 am
by jenny
Why can't I loop through a filter? What am I doing wrong?

for !j=1 to 100
var.bpf(type=cfasym,low=20,high=21+!j,iorder=0,detrend=t,W=CCFX1) bpfilter1
next

Thank you.

Re: Filter Loop

Posted: Sun Nov 18, 2012 11:16 am
by EViews Gareth
Try:

Code: Select all

for !j=1 to 100 !i = !j+21 var.bpf(type=cfasym,low=20,high=!i,iorder=0,detrend=t,W=CCFX1) bpfilter1 next