Abstract
A procedure for sequentially recomputing the mean and standard deviation of a weighted series of numbers as new values are added is given by Hanson [2]. To accommodate the most frequently occurring situation, Cotton [1] expressed Hanson's formulas in terms of unit weights. The result is accurate for updating the mean. However, for updating the standard deviation, Cotton chose to use Hanson's eq. (14), which Hanson rejected as being inaccurate when the new value is close to the mean.
- 1 Cotton, I.W. Remark on stably updating mean and standard deviation. Comm. ACM 18, 8 (Aug. 1975), 458; Corrigendum, Comm. ACM 18, 10 (Oct. 1975), 591. Google ScholarDigital Library
- 2 Hanson, R.J. Stably updating mean and standard deviation of data. Comm. ACM 18, 1 (Jan. 1975), 57-58. Google ScholarDigital Library
- 3 Youngs, E.A., and Cramer, E.M. Some results relevant to choice of sum and sum-of-product algorithms. Technometrics 13, 3 (Aug. 1971), 657-665.Google ScholarCross Ref
Recommendations
Stably updating mean and standard deviation of data
By considering the (sample) mean of a set of data as a fit to this data by a constant function, a computational method is given based on a matrix formulation and Givens transformations. The (sample) mean and standard deviation can be updated as data ...
Remark on stably updating mean and standard deviation of data
Although not published as a numbered algorithm, Hanson's article “Stably Updating Mean and Standard Deviation of Data” in the January, 1975, issue of Communications, [1] describes an algorithm for sequentially recomputing the mean and standard deviation ...
Updating mean and variance estimates: an improved method
A method of improved efficiency is given for updating the mean and variance of weighted sampled data when an additional data value is included in the set. Evidence is presented that the method is stable and at least as accurate as the best existing ...
Comments