1
$\begingroup$

I have a distribution that will continuously have numbers added to it as they are measured. I want to keep only knowledge of the mean, the standard deviation, and the number of values so far in the distribution.
How would I go about adding a new value to the distribution and correctly recalculating the standard deviation? (I can do the mean).
Thanks!

1 Answers 1