Masthead

Statistics Packages

There are a large number of packages to help with statistics. Two of the most commonly used are NumPy and MatPlotLib.

NumPy and SciPy

NumPy is a vector (array) and matrix based analytical package for Python and is widely used for analysis. NumPy is closely associated, and delivered with, SciPy.

Note: There were some issues installing NumPy and SciPy with Pyton 2.7 but these seem to have been resolved for Python 3.x

You can download NumPy from www.scipy.org. SciPy relies on NumPy so you will want to install it first and then install SciPy if needed.

Fortunately, there are excellent tutorials and extensive examples for NumPy so I will just reference two here:

MatPlotLib

MatplotLib is a library for science-based charting and can be downloaded from matplotlib.org.

Note: There are excellent tutorials on the scipy web site are a great way to get started with plotting. However, the imports are no longer correct for the latest versions of Matplotlib as "matplotlib.numerix" needs to change to "numpy". Be ready for similar types of errors as you dive into other packages.

© Copyright 2018 HSU - All rights reserved.