ELLIS header
University of Stuttgart Logo
Max Planck Institute for Intelligent Systems Logo

Approximate Leave-future-out Cross-validation for Bayesian Time Series Models

Paul-Christian Bürkner, Jonah Gabry, Aki Vehtari

Journal of Statistical Computation and Simulation, 90(14), pp. 2499–2523, 2020.


One of the common goals of time series analysis is to use the observed series to inform predictions for future observations. In the absence of any actual new data to predict, cross-validation can be used to estimate a model’s future predictive accuracy, for instance, for the purpose of model comparison or selection. Exact cross-validation for Bayesian models is often computationally expensive, but approximate cross-validation methods have been developed, most notably methods for leave-one-out cross-validation (LOO-CV). If the actual prediction task is to predict the future given the past, LOO-CV provides an overly optimistic estimate because the information from future observations is available to influence predictions of the past. To properly account for the time series structure, we can use leave-future-out cross-validation (LFO-CV). Like exact LOO-CV, exact LFO-CV requires refitting the model many times to different subsets of the data. Using Pareto smoothed importance sampling, we propose a method for approximating exact LFO-CV that drastically reduces the computational costs while also providing informative diagnostics about the quality of the approximation.



@article{buerkner20_jscs, title = {Approximate Leave-future-out Cross-validation for Bayesian Time Series Models}, author = {Bürkner, Paul-Christian and Gabry, Jonah and Vehtari, Aki}, year = {2020}, journal = {Journal of Statistical Computation and Simulation}, volume = {90}, number = {14}, pages = {2499–2523}, doi = {10.1080/00949655.2020.1783262} }