From ed0753ad224f0c65133bd7a63180257eecd9f5e3 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Wed, 8 Jan 2025 10:48:09 +0100 Subject: vault backup: 2025-01-08 10:48:09 --- 3 resources/statistics/moving-average.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 3 resources/statistics/moving-average.md (limited to '3 resources/statistics/moving-average.md') diff --git a/3 resources/statistics/moving-average.md b/3 resources/statistics/moving-average.md new file mode 100644 index 0000000..5622d3f --- /dev/null +++ b/3 resources/statistics/moving-average.md @@ -0,0 +1,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 +... +``` -- cgit v1.2.3