EconPapers    
Economics at your fingertips  
 

Forecasting inflation with the hedged random forest

Elliot Beck and Michael Wolf

No 2025-07, Working Papers from Swiss National Bank

Abstract: Accurately forecasting inflation is critical for economic policy, financial markets, and broader societal stability. In recent years, machine learning methods have shown great potential for improving the accuracy of inflation forecasts; specifically, the random forest stands out as a particularly effective approach that consistently outperforms traditional benchmark models in empirical studies. Building on this foundation, this paper adapts the hedged random forest (HRF) framework of Beck et al. (2024) for the task of forecasting inflation. Unlike the standard random forest, the HRF employs non-equal (and even negative) weights of the individual trees, which are designed to improve forecasting accuracy. We develop estimators of the HRF's two inputs, the mean and the covariance matrix of the errors corresponding to the individual trees, that are customized for the task at hand. An extensive empirical analysis demonstrates that the proposed approach consistently outperforms the standard random forest.

Keywords: Exponentially weighted moving average; Linear shrinkage; Machine learning (search for similar items in EconPapers)
JEL-codes: C21 C31 C53 E47 (search for similar items in EconPapers)
Pages: 46 pages
Date: 2025
New Economics Papers: this item is included in nep-ets, nep-for and nep-mon
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.snb.ch/en/publications/research/workin ... orking_paper_2025_07 (text/html)

Related works:
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:snb:snbwpa:2025-07

Access Statistics for this paper

More papers in Working Papers from Swiss National Bank Contact information at EDIRC.
Bibliographic data for series maintained by Enzo Rossi ().

 
Page updated 2025-06-14
Handle: RePEc:snb:snbwpa:2025-07