statsmodels¶
Aims & Outcomes:
Run a Gravity Model
Use NumPy to verify statsmodels
statsmodels is the package for econometric
type statistics in python
.
Resources
The statsmodels getting started guide and the
user guide are good places to learn more about
what statsmodels
can do.
We will work through the following statsmodels
demo notebook.
Local Option¶
You can download the notebook from here
You will also need to download the
supplementary data file
and save this file in a folder called data
where you have saved the notebook such as:
intro-to-statsmodels.ipynb
data/gravity_dataset_2013.csv
then browse to this folder
and load jupyter:
jupyter notebook intro-to-statsmodels.ipynb
Cloud Based Option¶
You can launch the notebook