Example 3.1 taken from the book "Likelihood-Based-Inference-Cointegrated-Autoregressive-Econometrics"
An easy way to install dependencies is using Anaconda for Python 2.7 (https://www.anaconda.com/distribution/). Additional packages required are:
conda install matplotlib
conda install pandas
conda install statsmodels
conda install jupyter