tidychangepoint: a unified framework for analyzing changepoint detection in univariate time series
Authors/Creators
Description
We present tidychangepoint, a new R package for changepoint detection analysis. tidychangepoint leverages existing packages like changepoint, GA, tsibble, and broom to provide tidyverse-compliant tools for segmenting univariate time series using various changepoint detection algorithms. In addition, tidychangepoint also provides model-fitting procedures for commonly-used parametric models, tools for computing various penalized objective functions, and graphical diagnostic displays. tidychangepoint wraps both deterministic algorithms like PELT, and also flexible, randomized, genetic algorithms that can be used with any compliant model-fitting function and any penalized objective function. By bringing all of these disparate tools together in a cohesive fashion, tidychangepoint facilitates comparative analysis of changepoint detection algorithms and models.
Files
index.pdf
Files
(318.7 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:1dcb0c7cb949732f3faea996841d5c33
|
318.7 kB | Preview Download |
Additional details
Dates
- Submitted
-
2024-07-19
Software
- Repository URL
- https://github.com/beanumber/tidychangepoint
- Programming language
- R
- Development Status
- Active
References
- Aminikhanghahi, Samaneh, and Diane J Cook. 2017. "A Survey of Methods for Time Series Change Point Detection." Knowledge and Information Systems 51 (2): 339–67. https://doi.org/10.1007/s10115-016-0987-z.
- Auger, Ivan E, and Charles E Lawrence. 1989. "Algorithms for the Optimal Identification of Segment Neighborhoods." Bulletin of Mathematical Biology 51 (1): 39–54. https://doi.org/10.1016/S0092-8240(89)80047-3.
- Bai, Jushan, and Pierre Perron. 1998. "Estimating and Testing Linear Models with Multiple Structural Changes." Econometrica, 47–78. https://doi.org/10.2307/2998540.
- Baranowski, Rafal, and Piotr Fryzlewicz. 2019. Wbs: Wild Binary Segmentation for Multiple Change-Point Detection.
- Barry, Daniel, and John A Hartigan. 1993. "A Bayesian Analysis for Change Point Problems." Journal of the American Statistical Association 88 (421): 309–19. https://doi.org/10.1080/01621459.1993.10594323.
- Baumer, Benjamin S., Biviana Marcela Suarez Sierra, Arrigo Coen, and Carlos A. Taimal. 2024. Tidychangepoint: A Tidy Framework for Changepoint Detection Analysis. https://beanumber.github.io/tidychangepoint/.
- Cho, Haeran. 2016. "Change-point detection in panel data via double CUSUM statistic." Electronic Journal of Statistics 10 (2): 2000–2038. https://doi.org/10.1214/16-EJS1155.
- Cho, Haeran, and Piotr Fryzlewicz. 2015. "Multiple-Change-Point Detection for High Dimensional Time Series via Sparsified Binary Segmentation." Journal of the Royal Statistical Society Series B: Statistical Methodology 77 (2): 475–507. https://doi.org/10.1111/rssb.12079.
- Erdman, Chandra, and John W Emerson. 2008. "Bcp: An R Package for Performing a Bayesian Analysis of Change Point Problems." Journal of Statistical Software 23: 1–13. https://doi.org/10.18637/jss.v023.i03.
- Guédon, Yann. 2015. "Segmentation Uncertainty in Multiple Change-Point Models." Statistics and Computing 25 (2): 303–20. https://doi.org/10.1007/s11222-013-9433-1.
- Haynes, Kaylea, and Rebecca Killick. 2022. Changepoint.np: Methods for Nonparametric Changepoint Detection.
- Hocking, Toby, Guillem Rigaill, Jean-Philippe Vert, and Francis Bach. 2013. "Learning Sparse Penalties for Change-Point Detection Using Max Margin Interval Regression." In International Conference on Machine Learning, edited by Sanjoy Dasgupta and David McAllester, 28:172–80. Proceedings of Machine Learning Research 3. Atlanta, Georgia, USA: PMLR. https://proceedings.mlr.press/v28/hocking13.html.
- Jackson, Brad, Jeffrey D Scargle, David Barnes, Sundararajan Arabhi, Alina Alt, Peter Gioumousis, Elyus Gwin, Paungkaew Sangtrakulcharoen, Linda Tan, and Tun Tao Tsai. 2005. "An Algorithm for Optimal Partitioning of Data on an Interval." IEEE Signal Processing Letters 12 (2): 105–8. https://doi.org/10.1109/LSP.2001.838216.
- James, Bill. 2014. Fools Rush Inn: More Detours on the Way to Conventional Wisdom. ACTA Publications.
- James, Nicholas A., Wenyu Zhang, and David S. Matteson. 2023. Ecp: Non-Parametric Multiple Change-Point Analysis of Multivariate Data.
- Killick, Rebecca, and Idris A. Eckley. 2014. "changepoint: An R Package for Changepoint Analysis." Journal of Statistical Software 58 (3): 1–19. 10.18637/jss.v058.i03.
- Killick, Rebecca, Paul Fearnhead, and Idris A Eckley. 2012. "Optimal Detection of Changepoints with a Linear Computational Cost." Journal of the American Statistical Association 107 (500): 1590–98. https://doi.org/10.1080/01621459.2012.737745.
- Killick, Rebecca, and Kaylea Haynes. 2022. Changepoint: Methods for Changepoint Detection. https://github.com/rkillick/changepoint/.
- Li, Shanghong, and Robert Lund. 2012. "Multiple Changepoint Detection via Genetic Algorithms." Journal of Climate 25 (2): 674–86. https://doi.org/10.1175/2011JCLI4055.1.
- Müller, Kirill, and Hadley Wickham. 2023. Tibble: Simple Data Frames. https://tibble.tidyverse.org/.
- R Core Team. 2024. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing. https://www.R-project.org/.
- Schwarz, Gideon. 1978. "Estimating the Dimension of a Model." The Annals of Statistics, March, 461–64. https://doi.org/10.1214/aos/1176344136.
- Scott, Andrew Jhon, and Martin Knott. 1974. "A Cluster Analysis Method for Grouping Means in the Analysis of Variance." Biometrics 30 (3): 507–12. https://doi.org/10.2307/2529204.
- Scrucca, Luca. 2017. Qcc: Quality Control Charts. https://github.com/luca-scr/qcc. ———. 2024. GA: Genetic Algorithms. https://luca-scr.github.io/GA/.
- Shi, Xueheng, Claudie Beaulieu, Rebecca Killick, and Robert Lund. 2022. "Changepoint Detection: An Analysis of the Central England Temperature Series." Journal of Climate 35 (19): 6329–42. https://doi.org/10.1175/JCLI-D-21-0489.1.
- Suárez-Sierra, Biviana Marcela, Arrigo Coen, and Carlos Alberto Taimal. 2023. "Genetic Algorithm with a Bayesian Approach for Multiple Change-Point Detection in Time Series of Counting Exceedances for Specific Thresholds." Journal of the Korean Statistical Society 52 (4): 982–1024. https://doi.org/10.1007/s42952-023-00227-2.
- Taimal, Carlos A, Biviana Marcela Suárez-Sierra, and Juan Carlos Rivera. 2023. "An Exploration of Genetic Algorithms Operators for the Detection of Multiple Change-Points of Exceedances Using Non-Homogeneous Poisson Processes and Bayesian Methods." In Colombian Conference on Computing, 230–58. Springer. https://doi.org/10.1007/978-3-031-47372-2_20.
- Wang, Earo, Dianne Cook, and Rob J Hyndman. 2020. "A New Tidy Data Structure to Support Exploration and Modeling of Temporal Data." Journal of Computational and Graphical Statistics 29 (3): 466–78. https://doi.org/10.1080/10618600.2019.1695624.
- Wickham, Hadley, and Lionel Henry. 2023. Purrr: Functional Programming Tools. https://purrr.tidyverse.org/.
- Woltring, Mitchell T, Jim K Rost, and Colby B Jubenville. 2018. "Examining Perceptions of Baseball's Eras: A Statistical Comparison." Sport Journal. https://thesportjournal.org/article/examining-perceptions-of-baseballs-eras/.
- Yu, Youzhi. 2022. Ggchangepoint: Combines Changepoint Analysis with Ggplot2. Zhang, Nancy R, and David O Siegmund. 2007. "A Modified Bayes Information Criterion with Applications to the Analysis of Comparative Genomic Hybridization Data." Biometrics 63 (1): 22–32. https://doi.org/10.1111/j.1541-0420.2006.00662.x.