dsp: An R Package for Bayesian Time Series Modeling with the Dynamic Shrinkage Process
Jason B. Cho, Daniel R. Kowal, Haoxuan Wu, David S. Matteson, Toryn L. J. Schafer
Key points
From the paper's conclusion- dsp provides a unified state-space framework for modeling nonstationary time series using the Dynamic Shrinkage Process (DSP), a class of global-local shrinkage priors.
Abstract
dsp provides a unified state-space framework for modeling nonstationary time series using the Dynamic Shrinkage Process (DSP), a class of global-local shrinkage priors. DSP adaptively regularizes time-varying parameters to shrink noise while preserving abrupt changes and other local structure. The package supports Gaussian and count-data smoothing, changepoint detection, time-varying parameter regression, and volatility estimation, with posterior predictive draws available for missing-value imputation and forecasting. Nonstationary time series often contain periods of relative stability punctuated by abrupt changes in mean or variance. dsp offers a common interface for model specification, posterior computation, summarization, and visualization across models that were previously developed separately in the literature. Core functionality is implemented in C++ via Rcpp for computational efficiency. We describe the underlying models, package design, and the main functions for fitting, summarizing, and plotting posterior results.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Local Inference for High-dimensional Time SeriesarXiv · 2026
- Online Change-Point Detection in Vector Autoregressive Models: A Score-Driven Bayesian Approach.Entropy (Basel, Switzerland) · 2026
- Time-partitioning Gaussian Process Mixture ModelarXiv · 2026
- Model Selection Confidence Sets for General Time-Series Changepoint ModelsCalifornia Digital Library · 2026
- Multifractal Volatility Models: Beyond the Binary CaseJournal of Financial Econometrics · 2026
- Distributional change point analysis: high dimensionality, nonstationary dependence, and computational constraintsarXiv · 2026