Filter Loop

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

jenny
Posts: 4
Joined: Mon Oct 29, 2012 4:33 pm

Filter Loop

Postby jenny » Sun Nov 18, 2012 10:44 am

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.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Filter Loop

Postby EViews Gareth » Sun Nov 18, 2012 11:16 am

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


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests