Statistics for Bayesian analysis of historical functional linear models with application to air pollution forecasting