CRAN/E | mcp

mcp

Regression with Multiple Change Points

Installation

About

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.

Citation mcp citation info
lindeloev.github.io/mcp/
Bug report File report

Key Metrics

Version 0.3.4
R ≥ 3.5.0
Published 2024-03-17 219 days ago
Needs compilation? no
License GPL-2
CRAN checks mcp results
Language en-US

Downloads

Yesterday 8 0%
Last 7 days 105 -4%
Last 30 days 480 +0%
Last 90 days 1.492 -11%
Last 365 days 6.965 +13%

Maintainer

Maintainer

Jonas Kristoffer Lindeløv

Authors

Jonas Kristoffer Lindeløv

aut / cre

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

mcp archive

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

Reverse Suggests

fastcpd