statsmodels package focuses on statistical modeling. We can integrate it with NumPy and pandas (more about pandas later in this chapter).
Source and binaries can be downloaded from http://statsmodels.sourceforge.net/install.html. If you are installing from source, run the following command:
$ python setup.py install
If you are using
setuptools, the command is as follows:
$ easy_install statsmodels