extend a series with a moving average
Posted: Fri Oct 09, 2015 4:37 am
Hello.
I have a workfile 2010m1 2015m12 (it is a monthly series, so).
It contains a series myser with values from 2010m1 to 2013m12.
I created a new series aveser as
It returned values from 2010m1 to 2013m12 while I hoped it 'extends' up to the last date in the workfile that is 2015m12.
How can I do that, please`?
I have a workfile 2010m1 2015m12 (it is a monthly series, so).
It contains a series myser with values from 2010m1 to 2013m12.
I created a new series aveser as
Code: Select all
series aveser = @movav(myser, 12) How can I do that, please`?