Is there an automatic way (a function perhaps) to calculate a forward moving average? I have a variable rff and I would like to construct a series rff_forward = (rff+rff(1)+rff(2)+......+rff(119))/120.
The @movav does not seem to work for forward moving averages. Any advice?
forward looking moving average
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: forward looking moving average
@movav(rff(120))
Who is online
Users browsing this forum: No registered users and 1 guest
