Statistical software for the analysis of time series models in state space form, from simple univariate specifications to complex time-varying multivariate models.
SsfPack is a suite of C routines for carrying out computations involving the statistical analysis of time series models in state space form. SsfPack provides functions for likelihood evaluation and signal extraction of arbitrary user-specified linear Gaussian state space models, allowing the estimation of models ranging from simple time-invariant univariate forms to complicated time-varying multivariate specifications.
Basic functions are available for prediction, moment smoothing and simulation smoothing. Additionally, functions are provided which put standard models such as autoregressive moving average (ARMA), non-stationary ARIMA, time-varying regression, unobserved components (UC) and cubic spline models in state space form. These functions are also provided for multivariate extensions of these models including vector autoregressive (VAR) and dynamic factor models.
The functions from SsfPack can be easily used for implementing, fitting and analysing linear Gaussian models relevant to many areas of econometrics, statistics, data science, time series analysis and forecasting. Further, SsfPack provides tools for analysing and estimating non-Gaussian and nonlinear models for binary, count, categorical and heavy-tailed or extreme data, using simulation-based estimation methods such as importance sampling and Markov chain Monte Carlo (MCMC) methods.
SsfPack is primarily developed as a module for the object-oriented matrix programming language Ox. The library is written in C, which greatly improves execution speed compared to implementation on other software platforms. A free version of Ox/SsfPack for academic research and teaching purposes can be downloaded from this website.
In 2026, an initiative is launched to develop the new version 4 of SsfPack that can also be called from other platforms including Python and R. The latest developments are reported on this website.