Calculating a Moving Average on Streaming Data
Derivation and sample code for an incremental running average
Tags: javascript, math, statistics, average