Hi,
I am trying to calculate the exponential weighted moving average for a time series. Is there any function available already? if not can you help me out writing one please ?
Thank you
Exponential weighted moving average
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Re: Exponential weighted moving average
Code: Select all
scalar alpha = 0.95 'assign the weight
smooth(s,alpha) your_series smoothed_seriesWho is online
Users browsing this forum: No registered users and 2 guests
