The Hodrick-Prescott Filter A Special Case of Penalized Spline Smoothing

We prove that the Hodrick-Prescott Filter (HPF), a commonly used method for smoothing econometric time series, is a special case of a linear penalized spline model with knots placed at all observed time points (except the first and last) and uncorrelated residuals. This equivalence then furnishes a rich variety of existing data-driven parameter estimation meth- ods, particularly restricted maximum likelihood (REML) and generalized cross-validation (GCV). This has profound implications for users of HPF who have hitherto typically relied on subjective choice, rather than estima- tion, for the smoothing parameter. By viewing estimates as roots of an ap- propriate quadratic estimating equation, we also present a new approach for constructing confidence intervals for the smoothing parameter. The method is akin to a parametric bootstrap where Monte Carlo simulation is replaced by saddlepoint approximation, and provides a fast and accurate alternative to exact methods, when they exist, e.g. REML. More importantly, it is also the only computationally feasible method when no other methods, exact or otherwise, exist, e.g. GCV. The methodology is demonstrated on the Gross National Product (GNP) series originally analyzed by Hodrick and Prescott (1997). With proper attention paid to residual correlation struc- ture, we show that REML-based estimation delivers an appropriate smooth for both the GNP series and its returns.

[1]  G. Kauermann,et al.  A Note on Penalized Spline Smoothing With Correlated Errors , 2007 .

[2]  A. Harvey,et al.  TREND ESTIMATION AND THE HODRICK-PRESCOTT FILTER , 2008 .

[3]  A. Harvey,et al.  Detrending, stylized facts and the business cycle , 1993 .

[4]  Trevor Hastie,et al.  The Elements of Statistical Learning , 2001 .

[5]  D. Harville Maximum Likelihood Approaches to Variance Component Estimation and to Related Problems , 1977 .

[6]  R. Christensen Plane Answers to Complex Questions: The Theory of Linear Models. , 1997 .

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

[8]  Ekkehart Schlicht Trend Extraction from Time Series with Structural Breaks and Missing Observations , 2008 .

[9]  Boualem Djehiche,et al.  A Consistent Estimator of the Smoothing Parameter in the Hodrick-Prescott Filter , 2008 .

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

[11]  D. Ruppert,et al.  On the asymptotics of penalized splines , 2008 .

[12]  Alfred Greiner Estimating penalized spline regressions: theory and application to economics , 2005 .

[13]  M. Wand,et al.  Exact likelihood ratio tests for penalised splines , 2005 .

[14]  Yuhong Yang,et al.  Nonparametric Regression with Correlated Errors , 2001 .

[15]  Robert Tibshirani,et al.  The Elements of Statistical Learning: Data Mining, Inference, and Prediction, 2nd Edition , 2001, Springer Series in Statistics.

[16]  Stephen P. Boyd,et al.  1 Trend Filtering , 2009, SIAM Rev..

[17]  B. Silverman,et al.  Some Aspects of the Spline Smoothing Approach to Non‐Parametric Regression Curve Fitting , 1985 .

[18]  R. Eubank Nonparametric Regression and Spline Smoothing , 1999 .

[19]  D. Ruppert,et al.  Local Asymptotics of P-Spline Smoothing , 2009, 0912.1824.

[20]  D. Ruppert,et al.  Likelihood ratio tests in linear mixed models with one variance component , 2003 .

[21]  David Ruppert,et al.  Semiparametric regression during 2003-2007. , 2009, Electronic journal of statistics.

[22]  Thomas M. Trimbur,et al.  Detrending economic time series: a Bayesian generalization of the Hodrick–Prescott filter , 2006 .

[23]  R. Paige,et al.  Saddlepoint‐Based Bootstrap Inference for Quadratic Estimating Equations , 2008 .

[24]  Paul H. C. Eilers,et al.  Flexible smoothing with B-splines and penalties , 1996 .

[25]  David Ruppert,et al.  Variable Selection and Function Estimation in Additive Nonparametric Regression Using a Data-Based Prior: Comment , 1999 .

[26]  M. Kenward,et al.  A COMPARISON OF MIXED MODEL SPLINES FOR CURVE FITTING , 2007 .

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

[28]  M. Wand,et al.  Semiparametric Regression: Parametric Regression , 2003 .