Suppose there is a uniformly spaced time series ts:
ts = TimeSeries[{{{2015, 1}, a}, {{2015, 2}, b}, {{2015, 3},
c}, {{2015, 4}, d}, {{2015, 5}, e}}]
The task is to calculate a two-month moving average of this series.
However if we execute the following:
twomonthavg = MovingAverage[ts, {2, "Month"}]
It yields
%["Values"]
{1/3 (a + b + c), 1/3 (b + c + d), 1/3 (c + d + e)}
In general {n,"Month"} MovingAverage yields n+1 month moving average.
Is this the intended behavior?
Wolfram Desktop v11.2