Bayesian multiple change-point detection‎: ‎A methodological comparison of exact dynamic programming and nonparametric hidden Markov approaches

Document Type : Original Scientific Paper

Author

Department of Statistics‎, ‎Faculty of Mathematical Sciences‎, ‎Shahid Beheshti University‎, ‎Tehran‎, ‎Iran

10.22034/jsmta.2026.23821.1200

Abstract

Detecting structural breaks is crucial for understanding time series dynamics‎, ‎particularly in highly volatile financial markets‎. ‎This study systematically compares two prominent Bayesian change-point methodologies‎: ‎an exact dynamic programming approach that eliminates Markov chain Monte Carlo sampling‎, ‎and a Dirichlet process hidden Markov model that flexibly infers latent regime counts and persistence‎. ‎Analyzing daily S&P 500 returns spanning 2000 to 2024-a period encompassing major upheavals like the global financial crisis and the COVID-19 pandemic-we evaluate both models across detection accuracy‎, ‎parameter estimation‎, ‎computational efficiency‎, ‎and predictive performance‎. ‎Despite fundamentally different assumptions‎, ‎the models exhibit striking concordance‎, ‎identifying major macroeconomic shifts with timing differences of mere days and parameter variations of under 0.01%‎. ‎However‎, ‎a clear trade-off emerges‎: ‎the exact method is approximately 90 times faster‎, ‎whereas the Dirichlet process hidden Markov model provides marginally superior predictive accuracy‎. ‎These insights offer actionable guidelines for selecting the optimal framework based on computational and predictive priorities.

Keywords

Main Subjects


Adams, R.P. and MacKay, D.J. (2007). Bayesian online changepoint detection. arXiv preprint arXiv:0710.3742.
Asgharian, M. and Wolfson, D.B. (2014). A hazard-based parameterization for multivariate change-point problems. Canadian Journal of Statistics, 42(4):532–548.
Bai, J. and Perron, P. (1998). Estimating and testing linear models with multiple structural changes. Econometrica, 66(1):47–78.
Barry, D. and Hartigan, J.A. (1993). A Bayesian analysis for change point problems. Journal of the American Statistical Association, 88(421):309–319.
Carlin, B.P., Gelfand, A.E. and Smith, A.F. (1992). Hierarchical Bayesian analysis of changepoint problems. Journal of the Royal Statistical Society: Series C (Applied Statistics), 41(2):389–405.
Chib, S. (1998). Estimation and comparison of multiple change-point models. Journal of Econometrics, 86(2):221–241.
Csörgő, M. and Horváth, L. (1997). Limit Theorems in Change-Point Analysis. John Wiley & Sons.
Erdman, C. and Emerson, J.W. (2007). bcp: An R package for performing a Bayesian analysis of change point problems. Journal of Statistical Software, 23(3):1–13.
Fearnhead, P. (2006). Exact and efficient Bayesian inference for multiple changepoint problems. Statistics and Computing, 16(2):203–213.
Fisch, A.T., Eckley, I.A. and Fearnhead, P. (2019). A linear time method for the detection of point and collective anomalies. Statistical Analysis and Data Mining: The ASA Data Science Journal, 15(4):494–508.
Geweke, J. and Jiang, Y. (2011). Inference and prediction in a multiple-structural-break model. Journal of Econometrics, 163(2):172–185.
Giordani, P. and Kohn, R. (2008). Efficient Bayesian inference for multiple change-point and mixture innovation models. Journal of Business & Economic Statistics, 26(1):66–77.
Green, P.J. (1995). Reversible jump Markov chain Monte Carlo computation and Bayesian model determination. Biometrika, 82(4):711–732.
Horváth, L. and Rice, G. (2024). Change Point Analysis for Time Series. Springer.
Inclán, C. and Tiao, G.C. (1994). Use of cumulative sums of squares for retrospective detection of changes of variance. Journal of the American Statistical Association, 89(427):913–923.
Jewell, S., Fearnhead, P. and Witten, D. (2022). Testing for a change in mean after changepoint detection. Journal of the Royal Statistical Society Series B: Statistical Methodology, 84(4):1082–1104.
Kang, S.G., Lee, W.D. and Kim, Y. (2025). Bayesian multiple changing-points detection. AIMS Mathematics, 10(3):4662–4708.
Killick, R., Fearnhead, P. and Eckley, I.A. (2012). Optimal detection of changepoints with a linear computational cost. Journal of the American Statistical Association, 107(500):1590–1598.
Ko, S.I., Chong, T.T. and Ghosh, P. (2015). Dirichlet process hidden Markov multiple change-point model. Bayesian Analysis, 10(2):275–296.
Lavielle, M. and Lebarbier, É. (2001). An application of MCMC methods for the multiple change-points problem. Signal Processing, 81(1):39–53.
Lavielle, M. and Moulines, E. (2000). Least-squares estimation of an unknown number of shifts in a time series. Journal of Time Series Analysis, 21(1):33–59.
Liu, J., Yang, D., Zhang, K., Gao, H. and Li, J. (2023). Anomaly and change point detection for time series with concept drift. World Wide Web, 26(5):3229–3252.
Loschi, R.H. and Cruz, F.R. (2005). Extension to the product partition model: computing the probability of a change. Computational Statistics & Data Analysis, 48(2):255–268.
Padilla, O.H.M., Yu, Y., Wang, D. and Rinaldo, A. (2021). Optimal nonparametric multivariate change point detection and localization. IEEE Transactions on Information Theory, 68(3):1922–1944.
Maheu, J.M. and Song, Y. (2018). An efficient Bayesian approach to multiple structural change in multivariate time series. Journal of Applied Econometrics, 33(2):251–270.
Majidizadeh, M. (2024). Bayesian analysis of the COVID-19 pandemic using a Poisson process with change-points. Monte Carlo Methods and Applications, 30(4):449–465.
Majidizadeh, M. (2026). Efficient and exact Bayesian inference for Dirichlet process hidden Markov multiple change-point models. Statistical Papers, 67(5):102.
Majidizadeh, M. and Taheriyoun, A.R. (2024). Bayesian multiple change-points detection in autocorrelated binary process with application to COVID-19 infection pattern. Journal of Statistical Computation and Simulation, 94(17):3723–3749.
Perreault, L., Bernier, J., Bobée, B. and Parent, É. (2000). Bayesian change-point analysis in hydrometeorological time series. Part 1. The normal model revisited. Journal of Hydrology, 235(3-4):221–241.
Ruggieri, E. and Antonellis, M. (2016). An exact approach to Bayesian sequential change point detection. Computational Statistics & Data Analysis, 97:71–86.
Shi, X., Gallagher, C., Lund, R. and Killick, R. (2022). A comparison of single and multiple changepoint techniques for time series data. Computational Statistics & Data Analysis, 170:107433.
Shohoudi, A., Khalili, A., Wolfson, D.B. and Asgharian, M. (2022). Simultaneous variable selection and de-coarsening in multi-path change-point models. Biometrics, 78(4):1534–1547.
Stephens, D.A. (1994). Bayesian retrospective multiple-changepoint identification. Journal of the Royal Statistical Society: Series C (Applied Statistics), 43(1):159–178.
Western, B. and Kleykamp, M. (2004). A Bayesian change point model for historical time series analysis. Political Analysis, 12(4):354–374.