Here is an alternate algorithm for mean and variance that does not keep any sample history. It is the Knuth ( from Welford) algorithm from https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance.
-Jim
Here is an alternate algorithm for mean and variance that does not keep any sample history. It is the Knuth ( from Welford) algorithm from https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance.
-Jim