Comment Comment by nwhitehead My favorite is Welford's Algorithm [1] which lets you compute mean and standard deviation in one pass. Every programmer should be aware of it.[1]: https://en.wikipedia.org/wiki/Algorithms_for_calculating_var... parent nwhitehead 6 years ago
[1]: https://en.wikipedia.org/wiki/Algorithms_for_calculating_var...