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
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.
Create a lesson
Related papers
tsspiral: An R Package to Create Circular Versions of Time Series Plots
Shared title terminology · Thiyanga S. Talagala
Scalable Bayesian inference for time-discretised Markov jump processes via exchangeable particle Gibbs
Shared title terminology · Lanya Yang, Lloyd A. C. Chapman, Chris Sherlock
conformalForecast: An R package for sequential conformal prediction in time series
Shared title terminology · Xiaoqian Wang, Daniele Girolimetto
Interval-valued circular time series: A cylindrical score-driven approach with an application to wind direction
Shared title terminology · Thasmika Mohan, Najmeh Nakhaei Rad, Sphiwe Skhosana et al.
fastC-GC and fastC-GC*: Efficient RCCP-Guided Graph Estimation for Time Series
Shared title terminology · S. A. Adedayo
Bayesian Treed Vecchia Gaussian Process Emulation via Sequential Monte Carlo
Shared title terminology · Cong Ye, Pulong Ma