1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
Also known as; rolling-average, running-average, moving-mean, running-mean, rolling-mean.
Has three variations: simple, weighted, cumulative.
A type of [[convolution]].
Reduces noisiness in a time-series graph which makes long-term trends or cycles more easily visible.
Keeps averaging a subset of given set and move the subset one space to the right.
Example with sample-size of 3:
```
set: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
i=1: avg([0, 1, 2]) = 1
i=2: avg([1, 2, 3]) = 2
i=3: avg([2, 3, 4]) = 3
...
```
|