February 2025 Cross-validation for change-point regression: Pitfalls and solutions
Florian Pein, Rajen D. Shah
Author Affiliations +
Bernoulli 31(1): 388-411 (February 2025). DOI: 10.3150/24-BEJ1732

Abstract

Cross-validation is the standard approach for tuning parameter selection in many non-parametric regression problems. However its use is less common in change-point regression, perhaps as its prediction error-based criterion may appear to permit small spurious changes and hence be less well-suited to estimation of the number and location of change-points. We show that in fact the problems of cross-validation with squared error loss are more severe and can lead to systematic under- or over-estimation of the number of change-points, and highly suboptimal estimation of the mean function in simple settings where changes are easily detectable. We propose two simple approaches to remedy these issues, the first involving the use of absolute error rather than squared error loss, and the second involving modifying the holdout sets used. For the latter, we provide conditions that permit consistent estimation of the number of change-points for a general change-point estimation procedure. We show these conditions are satisfied for least squares estimation using new results on its performance when supplied with the incorrect number of change-points. Numerical experiments show that our new approaches are competitive with common change-point methods using classical tuning parameter choices when error distributions are well-specified, but can substantially outperform these in misspecified models. An implementation of our methodology is available in the R package crossvalidationCP on CRAN.

Funding Statement

The authors were supported by EPSRC grant EP/N031938/1.

Acknowledgments

The authors would like to thank the associate editor and two anonymous referees for their valuable feedback that helped us to improve the manuscript.

Citation

Download Citation

Florian Pein. Rajen D. Shah. "Cross-validation for change-point regression: Pitfalls and solutions." Bernoulli 31 (1) 388 - 411, February 2025. https://doi.org/10.3150/24-BEJ1732

Information

Received: 1 May 2023; Published: February 2025
First available in Project Euclid: 30 October 2024

Digital Object Identifier: 10.3150/24-BEJ1732

Keywords: change-point regression , cross-validation , sample-splitting , segment neighbourhood , selection consistency , tuning parameter selection

Vol.31 • No. 1 • February 2025
Back to Top