The concept of an average can be applied to a stream of data as well as a bounded set, the goal being to find a value that recent data clusters about in some way. The stream may be distributed in time, as in samples taken by some data acquisition system from which we want to remove noise, or in space, as in pixels in an image from which we want to extract some property. An easy-to-understand and widely used application of average to a stream is the simple moving average in which we compute the arithmetic mean of the most recent N data items in the stream. To advance one position in the stream, we add 1/N times the new data item and subtract 1/N times the data item N places back in the stream.

formula_10

AM, GM, HM ల మధ్య సంబంధం
In data streams
మధ్యగతం
యితర రకాలు