An Interpretable Machine Learning Workflow with An Application to Economic Forecasting

52 Pages Posted: 8 Jun 2022

Date Written: June 1, 2022

Abstract

We propose a generic workflow for the use of machine learning models to inform decision making and to communicate modelling results with stakeholders. It involves three steps: (1) a comparative model evaluation, (2) a feature importance analysis and (3) statistical inference based on Shapley value decompositions. We discuss the different steps of the workflow in detail and demonstrate each by forecasting changes in US unemployment one year ahead using the well-established FRED-MD dataset. We find that universal function approximators from the machine learning literature, including gradient boosting and artificial neural networks, outperform more conventional linear models. This better performance is associated with greater flexibility, allowing the machine learning models to account for time-varying and nonlinear relationships in the data generating process. The Shapley value decomposition identifies economically meaningful nonlinearities learned by the models. Shapley regressions for statistical inference on machine learning models enable us to assess and communicate variable importance akin to conventional econometric approaches. While we also explore high-dimensional models, our findings suggest that the best trade-off between interpretability and performance of the models is achieved when a small set of variables is selected by domain experts.

Keywords: machine learning, model interpretability, forecasting, unemployment, Shapley values

JEL Classification: C14, C38, C45, C52, C53, C71, E24

Suggested Citation

Buckmann, Marcus and Joseph, Andreas, An Interpretable Machine Learning Workflow with An Application to Economic Forecasting (June 1, 2022). Bank of England Working Paper No. 984, 2022, Available at SSRN: https://ssrn.com/abstract=4130517 or http://dx.doi.org/10.2139/ssrn.4130517

Marcus Buckmann (Contact Author)

Bank of England ( email )

Threadneedle Street
London, EC2R 8AH
United Kingdom

Andreas Joseph

Bank of England ( email )

Threadneedle Street
London, EC2R 8AH
United Kingdom

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
126
Abstract Views
533
Rank
484,152
PlumX Metrics