EconPapers    
Economics at your fingertips  
 

Machine Learning and Oil Price Point and Density Forecasting

Alexandre Costa, Pedro Ferreira, Wagner Gaglianone, Osmani Guillén, João Issler and Yihao Lin

No 544, Working Papers Series from Central Bank of Brazil, Research Department

Abstract: The purpose of this paper is to explore machine learning techniques to forecast the oil price. In the era of big data, we investigate whether new automated tools can improve over traditional approaches in terms of forecast accuracy. Oil price point and density forecasts are built from 22 methods, including regression trees (random forest, quantile regression forest, xgboost), regularization procedures (elastic net, lasso, ridge), standard econometric models and forecast combinations, besides the structural factor model of Schwartz and Smith (2000). The database contains 315 macroeconomic and financial variables, used to build high-dimensional models. To evaluate the predictive power of each method, an extensive pseudo out-of-sample forecasting exercise is built, in monthly and quarterly frequencies, with horizons from one month up to five years. Overall, the results indicate a good performance of the machine learning methods in the short run. Up to six months, the lasso-based models, oil future prices, and the Schwartz-Smith model provide the best forecasts. At longer horizons, forecast combinations also become relevant. In several cases, the accuracy gains in respect to the random walk forecast are statistically significant and reach two-digit figures, in percentage terms, using the R2 out-of-sample statistic; an expressive achievement compared to the previous literature.

Date: 2021-02
New Economics Papers: this item is included in nep-big, nep-cmp, nep-dcm and nep-for
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (11)

Downloads: (external link)
https://www.bcb.gov.br/content/publicacoes/WorkingPaperSeries/wps544.pdf (application/pdf)

Related works:
Journal Article: Machine learning and oil price point and density forecasting (2021) Downloads
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:bcb:wpaper:544

Access Statistics for this paper

More papers in Working Papers Series from Central Bank of Brazil, Research Department
Bibliographic data for series maintained by Rodrigo Barbone Gonzalez ().

 
Page updated 2025-03-30
Handle: RePEc:bcb:wpaper:544