A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-February/042772.html below:

[Python-Dev] Accumulation module

[Python-Dev] Accumulation module [Python-Dev] Accumulation moduleGareth McCaughan gmccaughan at synaptics-uk.com
Thu Feb 26 13:18:22 EST 2004
On Wednesday 2004-02-25 19:23, Tony Vignaux wrote:

> Raymond,
>
> You asked:
> > * Is there a way to compute the standard deviation without multiple
> > passes over the data (one to compute the mean and a second to sum the
> > squares of the differences from the mean?
>
> I do not understand the problem in getting stdev in a single pass.
> Perhaps I not understood your problem. If you have a series of values
> you merely have to calculate their sum and sum-of-squares and use the
> usual formula.

The trouble with that is that it's numerically horrible.
There are better ways, some of which were discussed in python-dev
a few weeks ago.

-- 
g



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4