Change point analysis is concerned with detecting and locating structural breaks in the underlying model of a sequence of observations ordered by time, space or other variables. A widely adopted approach for change point analysis is to minimize an objective function with a penalty term on the number of change points. This framework includes several well-established procedures, such as the penalized log-likelihood using the (modified) Bayesian information criterion or the minimum description length. The resulting optimization problem can be solved in polynomial time by dynamic programming or its improved version, such as the pruned exact linear time (PELT) algorithm (Killick, Fearnhead, and Eckley 2012). However, existing computational methods often suffer from two primary limitations: (1) methods based on direct implementation of dynamic programming or PELT are often time-consuming for long data sequences due to repeated computation of the cost value over different segments of the data sequence; (2) state-of-the-art R packages do not provide enough flexibility for users to handle different change point settings and models. In this work, we present the fastcpd package, aiming to provide an efficient and versatile framework for change point detection in several commonly encountered settings. The core of our algorithm is built upon PELT and the sequential gradient descent method recently proposed by Zhang and Dawn (2023). We illustrate the usage of the fastcpd package through several examples, including mean/variance changes in a (multivariate) Gaussian sequence, parameter changes in regression models, structural breaks in ARMA/GARCH/VAR models, and changes in user-specified models.
Change point analysis is concerned with detecting and locating structural breaks in the underlying model of a sequence of observations ordered by time, space or other variables. A widely adopted approach for change point analysis is to minimize an objective function with a penalty term on the number of change points. This framework includes several well-established procedures, such as the penalized log-likelihood using the (modified) Bayesian information criterion or the minimum description length. The resulting optimization problem can be solved in polynomial time by dynamic programming or its improved version, such as the pruned exact linear time (PELT) algorithm (Killick, Fearnhead, and Eckley 2012). However, existing computational methods often suffer from two primary limitations: (1) methods based on direct implementation of dynamic programming or PELT are often time-consuming for long data sequences due to repeated computation of the cost value over different segments of the data sequence; (2) state-of-the-art R packages do not provide enough flexibility for users to handle different change point settings and models. In this work, we present the fastcpd package, aiming to provide an efficient and versatile framework for change point detection in several commonly encountered settings. The core of our algorithm is built upon PELT and the sequential gradient descent method recently proposed by Zhang and Dawn (2023). We illustrate the usage of the fastcpd package through several examples, including mean/variance changes in a (multivariate) Gaussian sequence, parameter changes in regression models, structural breaks in ARMA/GARCH/VAR models, and changes in user-specified models.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | BCDAG: An R Package for Bayesian Structure and Causal Learning of Gaussian DAGs | 0 | 3.84 | 24-07-2026 |
| 2 | collapse: Advanced and Fast Statistical Computing and Data Transformation in R | 0 | 8.06 | 31-05-2026 |
| 3 | Group LASSO for multiple change-point detection in a generalized integer-valued autoregressive model | 0 | 9.18 | 24-07-2026 |
| 4 | BayesMultiMode: Bayesian Mode Inference in R | 0 | 5.45 | 05-06-2026 |
| 5 | CPU- and GPU-Based Distributed Sampling in Dirichlet Process Mixtures for Large-Scale Analysis | 0 | 8.44 | 31-05-2026 |
| 6 | cv: An R Package for Cross-Validating Regression Models | 0 | 7.3 | 15-06-2026 |
| 7 | Adaptive Nonparametric Perturbations of Parametric Models with Generalized Bayes | 0 | 4.62 | 17-08-2026 |
| 8 | Simulating Complex Cross-Sectional and Longitudinal Data Using the simDAG R Package | 0 | 7 | 31-05-2026 |
| 9 | A Data-Augmented Contrastive Learning Approach to Nonparametric Density Estimation | 0 | 8.4 | 17-08-2026 |
| 10 | Policy Learning with the polle Package | 0 | 6.3 | 31-05-2026 |