Forecasting Costa Rican inflation with machine learning methods

We present a first assessment of the predictive ability of machine learning methods for inflation forecasting in Costa Rica. We compute forecasts using two variants of k-nearest neighbors, random forests, extreme gradient boosting and a long short-term memory (LSTM) network. We evaluate their proper...

Full description

Bibliographic Details
Main Author: Adolfo Rodríguez-Vargas
Format: Article
Language:English
Published: Elsevier 2020-01-01
Series:Latin American Journal of Central Banking
Subjects:
E31
C45
C49
C53
Online Access:http://www.sciencedirect.com/science/article/pii/S2666143820300120
id doaj-f853a59f4e634ca297eabac6af23de48
record_format Article
spelling doaj-f853a59f4e634ca297eabac6af23de482021-06-10T04:57:11ZengElsevierLatin American Journal of Central Banking2666-14382020-01-0111100012Forecasting Costa Rican inflation with machine learning methodsAdolfo Rodríguez-Vargas0Central Bank of Costa Rica, Costa RicaWe present a first assessment of the predictive ability of machine learning methods for inflation forecasting in Costa Rica. We compute forecasts using two variants of k-nearest neighbors, random forests, extreme gradient boosting and a long short-term memory (LSTM) network. We evaluate their properties according to criteria from the optimal forecast literature, and we compare their performance with that of an average of univariate inflation forecasts currently used by the Central Bank of Costa Rica. We find that the best-performing forecasts are those of LSTM, univariate KNN and, to a lesser extent, random forests. Furthermore, a combination performs better than the individual forecasts included in it and the average of the univariate forecasts. This combination not biased; its forecast errors show appropriate properties, and it improves the forecast accuracy at all horizons, both for the level of inflation and for the direction of its changes.http://www.sciencedirect.com/science/article/pii/S2666143820300120E31C45C49C53
collection DOAJ
language English
format Article
sources DOAJ
author Adolfo Rodríguez-Vargas
spellingShingle Adolfo Rodríguez-Vargas
Forecasting Costa Rican inflation with machine learning methods
Latin American Journal of Central Banking
E31
C45
C49
C53
author_facet Adolfo Rodríguez-Vargas
author_sort Adolfo Rodríguez-Vargas
title Forecasting Costa Rican inflation with machine learning methods
title_short Forecasting Costa Rican inflation with machine learning methods
title_full Forecasting Costa Rican inflation with machine learning methods
title_fullStr Forecasting Costa Rican inflation with machine learning methods
title_full_unstemmed Forecasting Costa Rican inflation with machine learning methods
title_sort forecasting costa rican inflation with machine learning methods
publisher Elsevier
series Latin American Journal of Central Banking
issn 2666-1438
publishDate 2020-01-01
description We present a first assessment of the predictive ability of machine learning methods for inflation forecasting in Costa Rica. We compute forecasts using two variants of k-nearest neighbors, random forests, extreme gradient boosting and a long short-term memory (LSTM) network. We evaluate their properties according to criteria from the optimal forecast literature, and we compare their performance with that of an average of univariate inflation forecasts currently used by the Central Bank of Costa Rica. We find that the best-performing forecasts are those of LSTM, univariate KNN and, to a lesser extent, random forests. Furthermore, a combination performs better than the individual forecasts included in it and the average of the univariate forecasts. This combination not biased; its forecast errors show appropriate properties, and it improves the forecast accuracy at all horizons, both for the level of inflation and for the direction of its changes.
topic E31
C45
C49
C53
url http://www.sciencedirect.com/science/article/pii/S2666143820300120
work_keys_str_mv AT adolforodriguezvargas forecastingcostaricaninflationwithmachinelearningmethods
_version_ 1721385634724052992