Package: dsp 1.8.0

dsp: Dynamic Shrinkage Process and Change Point Detection

Provides efficient Markov chain Monte Carlo (MCMC) algorithms for dynamic shrinkage processes, which extend global-local shrinkage priors to the time series setting by allowing shrinkage to depend on its own past. These priors yield locally adaptive estimates, useful for time series and regression functions with irregular features. The package includes full MCMC implementations for trend filtering using dynamic shrinkage on signal differences, producing locally constant or linear fits with adaptive credible bands. Also included are models with static shrinkage and normal-inverse-Gamma priors for comparison. Additional tools cover dynamic regression with time-varying coefficients and B-spline models with shrinkage on basis differences, allowing for flexible curve-fitting with unequally spaced data. Some support for heteroscedastic errors, outlier detection, and change point estimation. Methods in this package are described in Kowal et al. (2019) <doi:10.1111/rssb.12325>, Wu et al. (2024) <doi:10.1080/07350015.2024.2362269>, Schafer and Matteson (2024) <doi:10.1080/00401706.2024.2407316>, and Cho and Matteson (2026) <doi:10.1080/07350015.2025.2602846>.

Authors:Daniel R. Kowal [aut, cph], Haoxuan Wu [aut], Toryn Schafer [aut, cre], Jason B. Cho [aut], David S. Matteson [aut]

dsp_1.8.0.tar.gz
dsp_1.8.0.zip(r-4.7-x86_64)dsp_1.8.0.zip(r-4.7-arm64)dsp_1.8.0.zip(r-4.6-x86_64)dsp_1.8.0.zip(r-4.6-arm64)dsp_1.8.0.zip(r-4.5-x86_64)
dsp_1.8.0.tgz(r-4.6-x86_64)dsp_1.8.0.tgz(r-4.6-arm64)dsp_1.8.0.tgz(r-4.5-x86_64)dsp_1.8.0.tgz(r-4.5-arm64)
dsp_1.8.0.tar.gz(r-4.7-arm64)dsp_1.8.0.tar.gz(r-4.7-x86_64)dsp_1.8.0.tar.gz(r-4.6-arm64)dsp_1.8.0.tar.gz(r-4.6-x86_64)
dsp_1.8.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
dsp/json (API)

# Install 'dsp' in R:
install.packages('dsp', repos = c('https://schafert.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/schafert/dsp/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

4.00 score 2 stars 7 scripts 410 downloads 10 exports 80 dependencies

Last updated from:0bd18067e0. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK183
linux-devel-x86_64OK194
source / vignettesOK214
linux-release-arm64OK173
linux-release-x86_64OK227
macos-release-arm64OK206
macos-release-x86_64OK300
macos-oldrel-arm64OK201
macos-oldrel-x86_64OK397
windows-devel-arm64OK301
windows-devel-x86_64OK224
windows-release-arm64OK276
windows-release-x86_64OK141
windows-oldrel-x86_64OK195
wasm-releaseOK121

Exports:as.mcmccredible_bandsDICdsp_fitdsp_specget_specis.dsppar_namessimRegressionsimUnivariate

Dependencies:ashaskpassBayesLogitcliclustercodacolorspacecpp11crayoncurldeSolvedotCall64evdexpmfarverfdafdsFNNgenericsggplot2gluegmpgtablehdrcdehmshttrisobandjsonlitekernlabKernSmoothkslabelinglatticelifecyclelocfitmagrittrMASSMatrixMatrixModelsmclustmcmcMCMCpackmgcvmimemsmmulticoolmvtnormnlmeopensslpcaPPpgdrawpillarpkgconfigpracmaprettyunitsprogresspurrrquantregR6rainbowRColorBrewerRcppRcppArmadilloRcppEigenRcppGSLRcppZigguratrlangS7scalesspamSparseMstochvolsurvivalsystibbletruncdistutf8vctrsviridisLitewithr