The Macroeconomy as a Random Forest
75 Pages Posted: 15 Jul 2020 Last revised: 24 May 2021
Date Written: June 22, 2020
Abstract
I develop Macroeconomic Random Forest (MRF), an algorithm adapting the canonical Machine Learning (ML) tool to flexibly model evolving parameters in a linear macro equation. Its main output, Generalized Time-Varying Parameters (GTVPs), is a versatile device nesting many popular nonlinearities (threshold/switching, smooth transition, structural breaks/change) and allowing for sophisticated new ones. The approach delivers clear forecasting gains over numerous alternatives, predicts the 2008 drastic rise in unemployment, and performs well for inflation. Unlike most ML-based methods, MRF is directly interpretable — via its GTVPs. For instance, the successful unemployment forecast is due to the influence of forward-looking variables (e.g., term spreads, housing starts) nearly doubling before every recession. Interestingly, the Phillips curve has indeed flattened, and its might is highly cyclical.
Keywords: Trees, Machine Learning, Forecasting, Time-Varying Parameters, Econometrics, Phillips curve
JEL Classification: C53, C55, E37, C32
Suggested Citation: Suggested Citation
0 References
0 Citations
Do you have a job opening that you would like to promote on SSRN?

- Citations
- Citation Indexes: 21
- Policy Citations: 1
- Usage
- Abstract Views: 4835
- Downloads: 1938
- Captures
- Readers: 26
- Mentions
- News Mentions: 1

- Citations
- Citation Indexes: 21
- Policy Citations: 1
- Usage
- Abstract Views: 4835
- Downloads: 1938
- Captures
- Readers: 26
- Mentions
- News Mentions: 1