Regression with Multiple Change Points

Flexible and informed regression with Multiple Change Points (MCP). '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) and generalizes the approach described in Carlin, Gelfand, & Smith (1992) and Stephens (1994) .


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mcp")

0.3.0 by Jonas Kristoffer Lindeløv, 2 months ago


http://lindeloev.github.io/mcp/


Report a bug at https://github.com/lindeloev/mcp/issues


Browse source code at https://github.com/cran/mcp


Authors: Jonas Kristoffer Lindeløv [aut, cre]


Documentation:   PDF Manual  


GPL-2 license


Imports parallel, future, future.apply, rjags, coda, loo, bayesplot, tidybayes, dplyr, magrittr, tidyr, tidyselect, tibble, stringr, ggplot2, patchwork, stats, rlang

Suggests hexbin, testthat, purrr, knitr, rmarkdown, covr


See at CRAN