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/042799.html below:

[Python-Dev] Accumulation module

[Python-Dev] Accumulation module [Python-Dev] Accumulation moduleRaymond Hettinger python at rcn.com
Thu Feb 26 20:04:23 EST 2004
> > * 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 sandbox contains the latest and greatest version which computes the
standard deviation in a single pass using a recurrence formula that has
much better numerical performance than the textbook approach.


Raymond Hettinger


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