User Tools

Site Tools


notes:running_mean

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

notes:running_mean [2013/08/30 13:39] (current)
andy created
Line 1: Line 1:
 +====== Running Mean ======
 +
 +Often there is a need to calculate the mean of a list of values of indeterminate length. This can be done by keeping a running sum and a count separately, but this may risk overflows. Instead, it's possible to derive an expression for the new mean in terms of the previous mean.
 +
  
notes/running_mean.txt ยท Last modified: 2013/08/30 13:39 by andy