The Macroeconomy as a Random Forest
- URL: http://arxiv.org/abs/2006.12724v3
- Date: Thu, 4 Mar 2021 22:08:25 GMT
- Title: The Macroeconomy as a Random Forest
- Abstract summary: I develop an algorithm adapting the canonical Machine Learning (ML) tool to flexibly model evolving parameters in a linear macro equation.
The approach delivers clear forecasting gains over numerous alternatives, predicts the 2008 drastic rise in unemployment, and performs well for inflation.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- 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.
Related papers
- LGB+: A Macroeconomic Forecasting Road Test [0.0]
This paper proposes LGB+, a boosting procedure operating on a more inclusive set of basis functions.<n>LGB+ evaluates a tree and a linear candidate at each step against out-of-bag data.<n>Because the prediction is the sum of a linear and a tree component, forecasts decompose into linear and nonlinear contributions.
arXiv Detail & Related papers (2026-05-10T20:27:50Z) - Improved Mean Flows: On the Challenges of Fastforward Generative Models [81.10827083963655]
MeanFlow (MF) has recently been established as a framework for one-step generative modeling.<n>Here, we address key challenges in both the training objective and the guidance mechanism.<n>Our reformulation yields a more standard regression problem and improves the training stability.<n>Overall, our $textbfimproved MeanFlow$ ($textbfiMF$) method, trained entirely from scratch, achieves $textbf1.72$ FID with a single function evaluation (1-NFE) on ImageNet 256$times$256.
arXiv Detail & Related papers (2025-12-01T18:59:49Z) - History Rhymes: Macro-Contextual Retrieval for Robust Financial Forecasting [1.8911049192403768]
We introduce macro-contextual retrieval, a retrieval-augmented forecasting framework that grounds each prediction in historically analogous macroeconomic regimes.<n>We trained on seventeen years of S&P 500 data (2007-2023) and evaluated OOD on AAPL (2024) and XOM (2024), and the framework consistently narrows the CV to OOD performance gap.<n>By operationalizing the principle that "financial history may not repeat, but it often rhymes," this work demonstrates that macro-aware retrieval yields robust, explainable forecasts under distributional change.
arXiv Detail & Related papers (2025-11-12T21:34:23Z) - Generalized Linear Bandits: Almost Optimal Regret with One-Pass Update [60.414548453838506]
We study the generalized linear bandit (GLB) problem, a contextual multi-armed bandit framework that extends the classical linear model by incorporating a non-linear link function.<n>GLBs are widely applicable to real-world scenarios, but their non-linear nature introduces significant challenges in achieving both computational and statistical efficiency.<n>We propose a jointly efficient algorithm that attains a nearly optimal regret bound with $mathcalO(1)$ time and space complexities per round.
arXiv Detail & Related papers (2025-07-16T02:24:21Z) - A Simplified Analysis of SGD for Linear Regression with Weight Averaging [64.2393952273612]
Recent work bycitetzou 2021benign provides sharp rates for SGD optimization in linear regression using constant learning rate.<n>We provide a simplified analysis recovering the same bias and variance bounds provided incitepzou 2021benign based on simple linear algebra tools.<n>We believe our work makes the analysis of gradient descent on linear regression very accessible and will be helpful in further analyzing mini-batching and learning rate scheduling.
arXiv Detail & Related papers (2025-06-18T15:10:38Z) - A Stochastic Approach to Bi-Level Optimization for Hyperparameter Optimization and Meta Learning [74.80956524812714]
We tackle the general differentiable meta learning problem that is ubiquitous in modern deep learning.
These problems are often formalized as Bi-Level optimizations (BLO)
We introduce a novel perspective by turning a given BLO problem into a ii optimization, where the inner loss function becomes a smooth distribution, and the outer loss becomes an expected loss over the inner distribution.
arXiv Detail & Related papers (2024-10-14T12:10:06Z) - Nowcasting Madagascar's real GDP using machine learning algorithms [0.0]
We investigate the predictive power of different machine learning algorithms to nowcast Madagascar's gross domestic product (GDP)
We trained popular regression models, including linear regularized regression (Ridge, Lasso, Elastic-net), dimensionality reduction model (principal component regression), k-nearest neighbors algorithm (k-NN regression)
We measured the nowcast accuracy of each model by calculating the root mean square error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE)
arXiv Detail & Related papers (2023-12-24T20:40:54Z) - Bayesian Nonlinear Regression using Sums of Simple Functions [0.0]
This paper proposes a new Bayesian machine learning model that can be applied to large datasets arising in macroeconomics.
In simulations, we show that our approach produces accurate point and density forecasts.
arXiv Detail & Related papers (2023-12-04T13:24:46Z) - Generative Fractional Diffusion Models [53.36835573822926]
We introduce the first continuous-time score-based generative model that leverages fractional diffusion processes for its underlying dynamics.
Our evaluations on real image datasets demonstrate that GFDM achieves greater pixel-wise diversity and enhanced image quality, as indicated by a lower FID.
arXiv Detail & Related papers (2023-10-26T17:53:24Z) - Sparse high-dimensional linear regression with a partitioned empirical
Bayes ECM algorithm [62.997667081978825]
We propose a computationally efficient and powerful Bayesian approach for sparse high-dimensional linear regression.
Minimal prior assumptions on the parameters are used through the use of plug-in empirical Bayes estimates.
The proposed approach is implemented in the R package probe.
arXiv Detail & Related papers (2022-09-16T19:15:50Z) - Time varying regression with hidden linear dynamics [74.9914602730208]
We revisit a model for time-varying linear regression that assumes the unknown parameters evolve according to a linear dynamical system.
Counterintuitively, we show that when the underlying dynamics are stable the parameters of this model can be estimated from data by combining just two ordinary least squares estimates.
arXiv Detail & Related papers (2021-12-29T23:37:06Z) - A Variational Inference Approach to Inverse Problems with Gamma
Hyperpriors [60.489902135153415]
This paper introduces a variational iterative alternating scheme for hierarchical inverse problems with gamma hyperpriors.
The proposed variational inference approach yields accurate reconstruction, provides meaningful uncertainty quantification, and is easy to implement.
arXiv Detail & Related papers (2021-11-26T06:33:29Z) - Can Machine Learning Catch the COVID-19 Recession? [0.0]
It seems the most promising avenue for forecasting during the pandemic is to allow for general forms of nonlinearity by using machine learning (ML) methods.
But not all nonlinear ML methods are alike. For instance, some do not allow to extrapolate (like regular trees and forests) and some do.
This and other crucial aspects of ML-based forecasting in unprecedented times are studied in an extensive pseudo-out-of-sample exercise.
arXiv Detail & Related papers (2021-03-01T18:47:46Z) - Cauchy-Schwarz Regularized Autoencoder [68.80569889599434]
Variational autoencoders (VAE) are a powerful and widely-used class of generative models.
We introduce a new constrained objective based on the Cauchy-Schwarz divergence, which can be computed analytically for GMMs.
Our objective improves upon variational auto-encoding models in density estimation, unsupervised clustering, semi-supervised learning, and face analysis.
arXiv Detail & Related papers (2021-01-06T17:36:26Z) - How is Machine Learning Useful for Macroeconomic Forecasting? [0.0]
We study the usefulness of the underlying features driving ML gains over standard macroeconometric methods.
We distinguish four so-called features (nonlinearities, regularization, cross-validation and alternative loss function) and study their behavior in both the data-rich and data-poor environments.
This suggests that Machine Learning is useful for macroeconomic forecasting by mostly capturing important nonlinearities that arise in the context of uncertainty and financial frictions.
arXiv Detail & Related papers (2020-08-28T04:23:52Z) - Macroeconomic Data Transformations Matter [0.0]
In a low-dimensional linear regression setup, considering linear transformations/combinations of predictors does not alter predictions.
This is precisely the fabric of the machine learning (ML) macroeconomic forecasting environment.
It is found that traditional factors should almost always be included as predictors.
arXiv Detail & Related papers (2020-08-04T17:34:43Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.