Boosting the Hodrick-Prescott Filter

The Hodrick-Prescott (HP) filter is one of the most widely used econometric methods in applied macroeconomic research. The technique is nonparametric and seeks to decompose a time series into a trend and a cyclical component unaided by economic theory or prior trend specification. Like all nonparametric methods, the HP filter depends critically on a tuning parameter that controls the degree of smoothing. Yet in contrast to modern nonparametric methods and applied work with these procedures, empirical practice with the HP filter almost universally relies on standard settings for the tuning parameter that have been suggested largely by experimentation with macroeconomic data and heuristic reasoning about the form of economic cycles and trends. As recent research has shown, standard settings may not be adequate in removing trends, particularly stochastic trends, in economic data. This paper proposes an easy-to-implement practical procedure of iterating the HP smoother that is intended to make the filter a smarter smoothing device for trend estimation and trend elimination. We call this iterated HP technique the boosted HP filter in view of its connection to L_2-boosting in machine learning. The paper develops limit theory to show that the boosted HP filter asymptotically recovers trend mechanisms that involve unit root processes, deterministic polynomial drifts, and polynomial drifts with structural breaks – the most common trends that appear in macroeconomic data and current modeling methodology. In doing so, the boosted filter provides a new mechanism for consistently estimating multiple structural breaks. A stopping criterion is used to automate the iterative HP algorithm, making it a data-determined method that is ready for modern data-rich environments in economic research. The methodology is illustrated using three real data examples that highlight the differences between simple HP filtering, the data-determined boosted filter, and an alternative autoregressive approach. These examples show that the boosted HP filter is helpful in analyzing a large collection of heterogeneous macroeconomic time series that manifest various degrees of persistence, trend behavior, and volatility.

[1]  Wilbert G. Fritz,et al.  Statistical Testing of Business-Cycle Theories, Volume II: Business Cycles in the United States of America 1919-1932. , 1940 .

[2]  Ekkehart Schlicht Estimating the Smoothing Parameter in the So-Called Hodrick-Prescott Filter , 2004 .

[3]  Mehmet Caner,et al.  Asymptotically Honest Confidence Regions for High Dimensional Parameters by the Desparsified Conservative Lasso , 2014, 1410.4208.

[4]  Serena Ng,et al.  Working Paper Series , 2019 .

[5]  Edmund Taylor Whittaker On a New Method of Graduation , 1922, Proceedings of the Edinburgh Mathematical Society.

[6]  R. Tibshirani Regression Shrinkage and Selection via the Lasso , 1996 .

[7]  Sergio Rebelo,et al.  Low Frequency Filtering And Real Business Cycles , 1993 .

[8]  Victor Chernozhukov,et al.  Inference on Treatment Effects after Selection Amongst High-Dimensional Controls , 2011 .

[9]  Yoav Freund,et al.  A decision-theoretic generalization of on-line learning and an application to boosting , 1995, EuroCOLT.

[10]  P. Phillips Understanding spurious regressions in econometrics , 1986 .

[11]  Jianqing Fan,et al.  Power Enhancement in High Dimensional Cross-Sectional Tests , 2013, Econometrica : journal of the Econometric Society.

[12]  E. Prescott,et al.  Postwar U.S. Business Cycles: An Empirical Investigation , 1997 .

[13]  P. Phillips Testing for a Unit Root in Time Series Regression , 1988 .

[14]  D. Ruppert The Elements of Statistical Learning: Data Mining, Inference, and Prediction , 2004 .

[15]  Francis X. Diebold,et al.  Unit-Root Tests Are Useful for Selecting Forecasting Models , 1999 .

[16]  J. Robins,et al.  Twicing Kernels and a Small Bias Property of Semiparametric Estimators , 2004 .

[17]  Lothar Reichel,et al.  Tridiagonal Toeplitz matrices: properties and novel applications , 2013, Numer. Linear Algebra Appl..

[18]  R. Schapire The Strength of Weak Learnability , 1990, Machine Learning.

[19]  B. Hansen,et al.  Extracting Cycles from Nonstationary Data , 2006 .

[20]  Zhentao Shi Econometric Estimation with High-Dimensional Moment Equalities , 2016 .

[21]  Mark Aguiar,et al.  Emerging Market Business Cycles: The Cycle Is the Trend , 2004, Journal of Political Economy.

[22]  A. Cornea-Madeira,et al.  The Explicit Formula for the Hodrick-Prescott Filter in a Finite Sample , 2017, Review of Economics and Statistics.

[23]  Marianne Baxter,et al.  Measuring Business Cycles: Approximate Band-Pass Filters for Economic Time Series , 1995, Review of Economics and Statistics.

[24]  Jonathan H. Wright,et al.  Forecasting With Model Uncertainty: Representations and Risk Reduction , 2017 .

[25]  C. Granger,et al.  Spurious regressions in econometrics , 1974 .

[26]  G. Tutz,et al.  Generalized Additive Modeling with Implicit Variable Selection by Likelihood‐Based Boosting , 2006, Biometrics.

[27]  M. Braga,et al.  Exploratory Data Analysis , 2018, Encyclopedia of Social Network Analysis and Mining. 2nd Ed..

[28]  C. Leser A Simple Method of Trend Construction , 1961 .

[29]  Serena Ng Viewpoint: Boosting Recessions (Prévoir les Recessions) , 2014 .

[30]  P. Phillips,et al.  Sequentially Testing Polynomial Model Hypotheses Using Power Transforms of Regressors , 2016 .

[31]  R. Tibshirani,et al.  Linear Smoothers and Additive Models , 1989 .

[32]  Martin Spindler,et al.  $L_2$Boosting for Economic Applications , 2017, 1702.03244.

[33]  A PROPERTY OF THE HODRICK–PRESCOTT FILTER AND ITS APPLICATION , 2020, Econometric Theory.

[34]  Robert L. Paige,et al.  The Hodrick-Prescott Filter A Special Case of Penalized Spline Smoothing , 2010 .

[35]  P. Phillips,et al.  Testing Linearity Using Power Transforms of Regressors , 2013 .

[36]  P. Phillips,et al.  Business Cycles, Trend Elimination, and the HP Filter , 2015, International Economic Review.

[37]  Martin J. Wainwright,et al.  Early stopping for non-parametric regression: An optimal data-dependent stopping rule , 2011, 2011 49th Annual Allerton Conference on Communication, Control, and Computing (Allerton).

[38]  Christian Hansen,et al.  Post-Selection and Post-Regularization Inference in Linear Models with Many Controls and Instruments , 2015, 1501.03185.

[39]  R. D. de Jong,et al.  The Econometrics of the Hodrick-Prescott Filter , 2016, Review of Economics and Statistics.

[40]  James D. Hamilton Why You Should Never Use the Hodrick-Prescott Filter , 2017, Review of Economics and Statistics.

[41]  Timothy Cogley,et al.  Effects of the Hodrick-Prescott filter on trend and difference stationary time series Implications for business cycle research , 1995 .

[42]  Gilles Blanchard,et al.  Optimal Adaptation for Early Stopping in Statistical Inverse Problems , 2018, SIAM/ASA J. Uncertain. Quantification.

[43]  F. Diebold,et al.  Globalization, the Business Cycle, and Macroeconomic Monitoring , 2010, NBER International Seminar on Macroeconomics.

[44]  F. Diebold,et al.  Real-Time Macroeconomic Monitoring: Real Activity, Inflation, and Interactions , 2010 .

[45]  Serena Ng,et al.  Boosting diffusion indices , 2009 .

[46]  D. Kozbur Testing-Based Forward Model Selection , 2015 .

[47]  B. Yu,et al.  Boosting with the L_2-Loss: Regression and Classification , 2001 .

[48]  Peter Buhlmann Boosting for high-dimensional linear models , 2006, math/0606789.

[49]  A. Belloni,et al.  SPARSE MODELS AND METHODS FOR OPTIMAL INSTRUMENTS WITH AN APPLICATION TO EMINENT DOMAIN , 2012 .

[50]  W. B.,et al.  The Calculus of Observations: a Treatise on Numerical Mathematics , 1924, Nature.

[51]  Harald Uhlig,et al.  On Adjusting the Hodrick-Prescott Filter for the Frequency of Observations , 2002, Review of Economics and Statistics.