Package welford implements a one-pass algorithm for computing mean and
variance. Knuth attributes this algorithm to B.P. Welford in The Art
Of Computer Programming, Volume 2.
Package stats implements Welford's one-pass algorithm for computing
the mean and variance of a set of numbers. For more information see
Knuth (TAOCP Vol 2, 3rd ed, pg 232).