mcp: An R Package for Regression With Multiple Change Points
Year: 2020
Type: preprint
Abstract: The R package mcp does flexible and informed Bayesian regression with change points. mcp can infer the location of changes between regression models on means, variances, autocorrelation structure, and any combination of these. Prior and posterior samples and summaries are returned for all parameters and a rich set of plotting options is available. Bayes Factors can be computed via Savage-Dickey density ratio and posterior contrasts. Cross-validation can be used for more general model comparison. mcp ships with sensible defaults, including priors, but the user can override them to get finer control of the models and outputs. The strengths and limitations of mcp are discussed in relation to existing change point packages in R.
Source: OSF Preprints (OSF Preprints)
Author: Jonas Kristoffer Lindeløv
Institution: Aalborg University
Language: English
Topic: Data Analysis with R
Subfield: Statistics and Probability
Field: Mathematics
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W3003877131
