Skip to content

mcp

Regression with Multiple Change Points

v0.3.4 · Mar 17, 2024 · GPL-2

Description

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>.

Downloads

500

Last 30 days

7887th

1.4K

Last 90 days

9.7K

Last year

Trend: +4.2% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies future future.apply rjags (>= 4.9) coda loo bayesplot tidybayes dplyr magrittr tidyr tidyselect tibble stringr ggplot2 patchwork +1 more dependencies glossa mcp

Version History

new 0.3.4 Mar 10, 2026
updated 0.3.4 ← 0.3.3 diff Mar 16, 2024
updated 0.3.3 ← 0.3.2 diff Mar 21, 2023
updated 0.3.2 ← 0.3.1 diff Feb 17, 2022
updated 0.3.1 ← 0.3.0 diff Nov 16, 2021
updated 0.3.0 ← 0.2.0 diff Aug 2, 2020
new 0.2.0 Jan 8, 2020