Compact Python library for math statistics

Dave Benjamin ramen at lackingtalent.com
Tue Apr 6 15:54:47 EDT 2004


In article <c3835e5f.0404051841.2812a40d at posting.google.com>, Chris Fonnesbeck wrote:
> Gerrit <gerrit at nl.linux.org> wrote in message news:<mailman.267.1080904644.20120.python-list at python.org>...
>> wrote:
>> > I'm looking for a Python library for math statistics. This must be a cl
>> ear set of general statistics functions like 'average', 'variance', 'cova
>> riance' etc.
>> 
>> The next version of Python will have a 'statistics' module. It is
>> probably usable in Python 2.3 as well. You can find it in CVS:
>> 
>> http://cvs.sourceforge.net/viewcvs.py/*checkout*/python/python/nondist/sa
>> ndbox/statistics/statistics.py
>> 
>> I'm not sure whether it's usable in current CVS, though. You may have to
>> tweak it a little.
> 
> I'm hoping there will be more functions added to this module (e.g.
> median, quantiles, skewness, kurtosis). It wouldnt take much to
> include at least the basic summary stats. I would be more than happy
> to contribute.

I'd really like to see linear regression in the Python stats module. I've
used the one from stats.py successfully - this may be a good source of
ideas, too:

http://www.nmr.mgh.harvard.edu/Neural_Systems_Group/gary/python.html

(see stats.py)
(apologies if this has already been pointed out somewhere)

-- 
.:[ dave benjamin: ramen/[sp00] -:- spoomusic.com -:- ramenfest.com ]:.
:  please talk to your son or daughter about parametric polymorphism. :



More information about the Python-list mailing list