Type: Package
Package: dsp
Title: Dynamic Shrinkage Process and Change Point Detection
Version: 1.2.0
Authors@R: c(
    person("Daniel R.", "Kowal", , "daniel.kowal@rice.edu", role = c("aut", "cph")),
    person("Haoxuan", "Wu", , "hw399@cornell.edu", role = c("aut")),
    person("Toryn", "Schafer", , "toryn27@gmail.com", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0001-5594-7697")),
    person("Jason B.", "Cho", , "bc454@cornell.edu", role = "aut"),
    person("David S.", "Matteson", , "matteson@cornell.edu", role = "aut")
  )
Description: 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 (2024) <doi:10.48550/arXiv.2408.11315>.
License: GPL (>= 3)
Depends: R (>= 4.1.0)
Imports: coda, fda, graphics, grDevices, Matrix, MCMCpack, methods,
        msm, pgdraw, Rcpp, RcppZiggurat, spam, progress, stats,
        stochvol, BayesLogit, truncdist, mgcv, purrr, rlang, lifecycle,
        glue
Suggests: ggplot2, testthat (>= 3.0.0)
LinkingTo: Rcpp, RcppArmadillo, RcppEigen
Encoding: UTF-8
RoxygenNote: 7.3.2
Config/testthat/edition: 3
URL: https://github.com/schafert/dsp
BugReports: https://github.com/schafert/dsp/issues
NeedsCompilation: yes
Packaged: 2025-07-31 16:57:44 UTC; torynschafer
Author: Daniel R. Kowal [aut, cph],
  Haoxuan Wu [aut],
  Toryn Schafer [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-5594-7697>),
  Jason B. Cho [aut],
  David S. Matteson [aut]
Maintainer: Toryn Schafer <toryn27@gmail.com>
Repository: CRAN
Date/Publication: 2025-08-19 15:00:13 UTC
Built: R 4.6.0; x86_64-w64-mingw32; 2025-10-11 03:57:46 UTC; windows
Archs: x64
