Crandore Hub

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

Versions across snapshots

VersionRepositoryFileSize
0.3.4 rolling source/ R- mcp_0.3.4.tar.gz 507.3 KiB
0.3.4 rolling linux/jammy R-4.5 mcp_0.3.4.tar.gz 738.5 KiB
0.3.4 rolling linux/noble R-4.5 mcp_0.3.4.tar.gz 738.5 KiB
0.3.4 latest source/ R- mcp_0.3.4.tar.gz 507.3 KiB
0.3.4 latest linux/jammy R-4.5 mcp_0.3.4.tar.gz 738.5 KiB
0.3.4 latest linux/noble R-4.5 mcp_0.3.4.tar.gz 738.5 KiB
0.3.4 2026-04-23 source/ R- mcp_0.3.4.tar.gz 507.3 KiB
0.3.4 2026-04-09 windows/windows R-4.5 mcp_0.3.4.zip 743.2 KiB
0.3.4 2025-04-20 source/ R- mcp_0.3.4.tar.gz 507.3 KiB

Dependencies (latest)

Imports

Suggests