Skip to content

State Space Estimation of Time Series Models in Python: Statsmodels

Notifications You must be signed in to change notification settings

ChadFulton/fulton_statsmodels_2017

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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