Skip to content

ChadFulton/fulton_statsmodels_2017

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 28, 2017 15:42
January 28, 2017 15:27
January 28, 2017 15:27
January 28, 2017 15:27

Estimating time series models by state space methods in Python: Statsmodels

This repository houses the source and Python scripts producing the paper "Estimating time series models by state space methods in Python: Statsmodels".

Paper PDF

A PDF version of the paper can be found in the repository, and also at: https://github.com/ChadFulton/fulton_statsmodels_2017/raw/master/fulton_statsmodels_2017_v1.pdf

Notebooks

There are three Jupyter notebooks with code showing maximum likelihood and Bayesian estimation of three example models:

Build

The paper is written using Sphinx. In particular, see:

  • paper/source for the reStructuredText files of text
  • paper/source/sections/code for all of the code that is referenced in the text and that produces the output and figures. To run all code and produce all output, run python run_all.py in that directory.
  • notebooks for Jupyter notebooks that flesh out the three examples in the paper (ARMA(1, 1), local level, and a simple real business cycle model)

To build the paper, in a terminal from the base directory, you must:

>>> cd paper/source/sections/code
>>> python run_all.py
>>> cd ../../../
>>> make html
>>> make latex

About

State Space Estimation of Time Series Models in Python: Statsmodels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published