My favorites | Sign in
Project Logo
                
Code license: MIT License
Labels: python, statistics
Feeds:

The goal of the project is to combine several python statistics modules into a single package. This project is being run under the auspices of the Python Project for the Google Highly Open Participation Contest

Typical use case:

from statlib import stats

a = [1, 2, 3, 4 ]
# mean and standard deviation
print stats.mean(a), stats.stdev(a)

# vector operations
from statlib.matfunc import Vec
a = Vec( [ 4, -2,  5 ] ) 
b = Vec( [ 3, 10, -6 ] )

# vector dot and cross products
print a * b, a.cross(b)

For more information see the following pages:

Note: This a pure-python package with no other dependency. For high performance numerical/scientific computing we recommend numpy.

Installation

If you have setuptools installed (see easy_install) simply type:

easy_install statlib

Otherwise visit the download page and download the version for your operating system.

Credits

See the Contributors page

Change Log

Version 1.1, Dec 19, 2007

Version 1.0, Dec 17, 2007









Hosted by Google Code