Scipy
Installation
On Ubuntu, install the "python-scipy" package.
References
- Getting started with the SciPy (Scientific Python) library: http://www.codeproject.com/KB/library/scipy.aspx
- Probability distributions in SciPy: http://www.johndcook.com/blog/2009/07/20/probability-distributions-scipy/
- Statistical functions (scipy.stats): http://docs.scipy.org/doc/scipy/reference/stats.html
- Lots of basic numpy functions: http://docs.scipy.org/doc/numpy/reference/routines.html
- NumPy stats functions: http://docs.scipy.org/doc/numpy/reference/routines.statistics.html
Example
import scipy
a = [1, 2, 3, 4]
print scipy.mean # 2.5
from scipy import special # subpackages must be imported separately
print special.erf(2)