Skip to content

Multivariate forecasting using StructTS/Unobserved Components model without MLE param estimation.

License

Notifications You must be signed in to change notification settings

vshulyak/simd-structts

Repository files navigation

simd-structts

pypi PyPI - Python Version Build Status codecov Code style: black License: MIT Contributions welcome Multivariate forecasting using StructTS/Unobserved Components model without MLE param estimation.

🤦🏾‍ Motivation

I love structts model and Kalman filters for forecasting. Sometimes you just want a model that works out of the box without designing a model with a Kalman filter, especially if you need to use long seasonalites and exog variables. Defining all these state space matrices gets tedious pretty quickly...

The code in this repo is an attempt to bring a familiar API to multivariate StructTS model, currently with the simdkalman library as a backend.

👩🏾‍🚀 Installation

  pip install simd-structts

📋 WIP:

  • Statsmodels and simdkalman backend implementation.
  • Equal filtered/smoothed/predicted states for level/trend models.
  • Proper testing for multiple python versions.
  • Equal filtered/smoothed/predicted states for exog components.
  • Equal filtered/smoothed/predicted states for long seasonal fourier components.
  • Passing tests for statsmodels-like initialization of model.
  • Pretty API with ABC and stuff.
  • Example notebook
  • Gradient methods for finding optimal params

About

Multivariate forecasting using StructTS/Unobserved Components model without MLE param estimation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages