Kinel, Michal (2026): Robust Real-Time Macroeconomic Trend Extraction: A Gradient Boosting Approach.
Preview |
PDF
MPRA_paper_128473.pdf Download (96kB) | Preview |
Abstract
Real-time macroeconomic trend extraction is chronically compromised by the end-point problem, a structural vulnerability that violently escalates during extreme exogenous shocks such as the Great Recession and the COVID-19 pandemic. Traditional filters anchored in $L_2$ loss minimization mechanically deform the long-run structural trend to absorb these massive, transitory outliers. To resolve this instability, we introduce the MacroBoost Hybrid (MBH) filter, a novel framework integrating penalized B-splines within a component-wise gradient boosting architecture optimized via an adaptive Huber quasi-likelihood. Through a rigorous quasi-real-time simulation, we demonstrate that ex-ante spectral alignment allows the MBH filter to perfectly match the baseline cyclical volatility of the industry-standard Hodrick-Prescott filter, achieving statistical parity in mean absolute error and exhibiting strictly zero mean bias under normal conditions. Crucially, during black swan events, the MBH filter categorically preserves the long-run trend by isolating the exogenous shock entirely within the cyclical component. This defense mechanism generates heavy tails in the revision distribution, structurally inflating the root mean square error and driving the Noise-to-Signal Ratio to exceed unity—a mathematical penalty we formally conceptualize as the "robustness tax" exacted for ensuring absolute trend integrity.
| Item Type: | MPRA Paper |
|---|---|
| Original Title: | Robust Real-Time Macroeconomic Trend Extraction: A Gradient Boosting Approach |
| Language: | English |
| Keywords: | Real-time estimation, Hodrick-Prescott filter, Gradient Boosting, P-splines, Robust filtering, Business cycles |
| Subjects: | C - Mathematical and Quantitative Methods > C2 - Single Equation Models ; Single Variables > C22 - Time-Series Models ; Dynamic Quantile Regressions ; Dynamic Treatment Effect Models ; Diffusion Processes C - Mathematical and Quantitative Methods > C5 - Econometric Modeling > C53 - Forecasting and Prediction Methods ; Simulation Methods E - Macroeconomics and Monetary Economics > E3 - Prices, Business Fluctuations, and Cycles > E32 - Business Fluctuations ; Cycles |
| Item ID: | 128473 |
| Depositing User: | Michal Kinel |
| Date Deposited: | 14 Jul 2026 23:39 |
| Last Modified: | 14 Jul 2026 23:39 |
| References: | Bühlmann, Peter, and Torsten Hothorn. 2007. “Boosting Algorithms: Regularization, Prediction and Model Fitting.” Statistical Science 22 (4): 477–505. Eilers, Paul HC, and Brian D Marx. 1996. “Flexible Smoothing with b-Splines and Penalties.” Statistical Science 11 (2): 89–121. Friedman, Jerome H. 2001. “Greedy Function Approximation: A Gradient Boosting Machine.” Annals of Statistics, 1189–1232. Hamilton, James D. 2018. “Why You Should Never Use the Hodrick-Prescott Filter.” Review of Economics and Statistics 100 (5): 831–43. Hodrick, Robert J, and Edward C Prescott. 1997. “Postwar US Business Cycles: An Empirical Investigation.” Journal of Money, Credit, and Banking, 1–16. Huber, Peter J. 1964. “Robust Estimation of a Location Parameter.” The Annals of Mathematical Statistics 35 (1): 73–101. Kinel, M. (2026). MacroFilters: High-Performance Robust Trend Extraction in R. R package version 0.1.0. Available at: https://github.com/michal0091/MacroFilters Lenza, Michele, and Giorgio E Primiceri. 2022. “How to Estimate a Vector Autoregression After March 2020.” Journal of Applied Econometrics 37 (4): 688–99. Orphanides, Athanasios, and Simon Van Norden. 2002. “The Reliability of Output Gap Estimates in Real Time.” Review of Economics and Statistics 84 (4): 569–83. |
| URI: | https://mpra.ub.uni-muenchen.de/id/eprint/128473 |

