Tag: mean

Calculating the mean and standard deviation in one pass
It is possible to calculate the mean and the standard deviation of a serie of double values while iterating only once on the whole set of data. This approach is thus also suitable for streaming data; it could update the mean and standard deviation onthefly. Here I present an implementation of the algorithm shown by…