mcp: Regression with Multiple Change Points
Flexible and informed regression with Multiple Change Points. 'mcp' can infer change points in means, variances, autocorrelation structure, and any combination of these, as well as the parameters of the segments in between. All parameters are estimated with uncertainty and prediction intervals are supported - also near the change points. 'mcp' supports hypothesis testing via Savage-Dickey density ratio, posterior contrasts, and cross-validation. 'mcp' is described in Lindeløv (submitted) <doi:10.31219/osf.io/fzqxv> and generalizes the approach described in Carlin, Gelfand, & Smith (1992) <doi:10.2307/2347570> and Stephens (1994) <doi:10.2307/2986119>.
Version: |
0.3.4 |
Depends: |
R (≥ 3.5.0) |
Imports: |
parallel, future (≥ 1.16), future.apply (≥ 1.4), rjags (≥
4.9), coda (≥ 0.19.3), loo (≥ 2.1.0), bayesplot (≥ 1.7.0), tidybayes (≥ 3.0.0), dplyr (≥ 1.1.1), magrittr (≥ 1.5), tidyr (≥ 1.0.0), tidyselect (≥ 0.2.5), tibble (≥ 2.1.3), stringr (≥ 1.4.0), ggplot2 (≥ 3.2.1), patchwork (≥ 1.0.0), stats, rlang (≥ 0.4.1) |
Suggests: |
hexbin, testthat (≥ 3.1.0), purrr (≥ 0.3.4), knitr, rmarkdown |
Published: |
2024-03-17 |
DOI: |
10.32614/CRAN.package.mcp |
Author: |
Jonas Kristoffer Lindeløv
[aut, cre] |
Maintainer: |
Jonas Kristoffer Lindeløv <jonas at lindeloev.dk> |
BugReports: |
https://github.com/lindeloev/mcp/issues |
License: |
GPL-2 |
URL: |
https://lindeloev.github.io/mcp/ |
NeedsCompilation: |
no |
Language: |
en-US |
Citation: |
mcp citation info |
Materials: |
README NEWS |
CRAN checks: |
mcp results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=mcp
to link to this page.