Hi,
I have multiple tabs (for different countries) and for each I want to
- create a y variable, which is a ratio of 2 series in each tab
- then run a SS hp filter like this:
@signal y = tr + cyc
@state tr=2*tr(-1) - tr_lag(-1) + e1
@state tr_lag = tr(-1)
@state cyc=e2
@ename e1
@ename e2
@evar var(e1)=exp(c(1))
@evar var(e2)=exp(c(1))*1600
Is there any way to do this all at once for all countries?
How to run an action on multiple tabs at once?
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
augustus_octavian
- Posts: 3
- Joined: Tue Apr 14, 2015 2:57 am
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13585
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How to run an action on multiple tabs at once?
You'll have to write a loop that loops through all your pages and does the actions one at a time. Use the pageselect command to switch pages.
Who is online
Users browsing this forum: No registered users and 2 guests
