Submitted:
06 May 2026
Posted:
07 May 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. The Benchmark - Recalling Characteristics of the HP Filter
3. Data-Driven Local Polynomial Trend Estimation
3.1. Local Polynomial Trend Estimation
3.2. Data-Driven Iterative Plug-in Algorithm for Bandwidth Selection
4. Comparing Local Linear Trend and HP Trend: A Simulation Study
5. Comparing Local Linear Trend and HP Trend: Real Data
5. Conclusions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| GDP | Gross Domestic Product |
| MT | Moving Trend |
| IPI | Iterative plug-in |
Appendix A
Appendix A.1
| Institution | Trend Estimation |
| IMF | HP filter |
| OECD | HP filter, Phase-Average-Trend |
| EU Commission | HP filter, structural time series models |
| EU Economic and Financial Affairs Directorate | HP filter |
| ECB | HP filter |
| Banque de France | HP filter, etc. |
| Federal Reserve Board | HP filter, structural time series models, etc. |
| Bank of Japan | HP filter, etc. |
| Central Bank of Costa Rica | HP filter |
| ME1 | Trend | |||||||||
| Size | ||||||||||
| 0.4900 | 0.4900 | 0.4900 | 0.1302 | 0.1133 | 0.0987 | 0.0836 | 0.0728 | 0.0634 | ||
| Alg.A | 0.1204 | 0.1467 | 0.1577 | 0.0983 | 0.0943 | 0.0876 | 0.0898 | 0.0678 | 0.0592 | |
| 0.0473 | 0.0647 | 0.0673 | 0.0166 | 0.0135 | 0.0097 | 0.0159 | 0.0119 | 0.0066 | ||
| MSE( | 0.1388 | 0.1220 | 0.1149 | 0.0013 | 0.0005 | 0.0002 | 0.0003 | 0.0002 | 0.0001 | |
| MSE-LLR | 0.0038 | 0.0019 | 0.0010 | 0.0045 | 0.0026 | 0.0014 | 0.0062 | 0.0036 | 0.0021 | |
| Alg.B | 0.2221 | 0.2449 | 0.2560 | 0.1157 | 0.1090 | 0.0988 | 0.1021 | 0.0959 | 0.0871 | |
| 0.0796 | 0.0786 | 0.0821 | 0.0143 | 0.0104 | 0.0072 | 0.0071 | 0.0063 | 0.0053 | ||
| MSE | 0.0781 | 0.0662 | 0.0615 | 0.0004 | 0.0104 | 0.0001 | 0.0004 | 0.0006 | 0.0006 | |
| MSE-LLR | 0.0026 | 0.0013 | 0.0007 | 0.0043 | 0.0025 | 0.0014 | 0.0065 | 0.0041 | 0.0025 | |
| MSE( | 0.0066 | 0.0066 | 0.0066 | 0.0068 | 0.0065 | 0.0066 | 0.0068 | 0.0066 | 0.0065 | |
| MSE( | 0.0043 | 0.0041 | 0.0040 | 0.0044 | 0.0041 | 0.0040 | 0.0050 | 0.0041 | 0.0040 | |
| MSE( | 0.0033 | 0.0031 | 0.0030 | 0.0036 | 0.0031 | 0.0030 | 0.0075 | 0.0032 | 0.0029 | |
| MSE( | 0.0026 | 0.0023 | 0.0022 | 0.0046 | 0.0023 | 0.0022 | 0.0223 | 0.0032 | 0.0022 | |
| LR MSE-LR | 0.0013 | 0.0006 | 0.0006 | 0.0704 | 0.0697 | 0.010 | 0.1007 | 0.0991 | 0.0983 | |
| ME2 | Trend | |||||||||
| Size | ||||||||||
| 0.4900 | 0.4900 | 0.4900 | 0.1572 | 0.1369 | 0.1191 | 0.1010 | 0.0879 | 0.0765 | ||
| Alg.A | 0.1329 | 0.1553 | 0.1609 | 0.1115 | 0.1080 | 0.1016 | 0.0957 | 0.0838 | 0.0729 | |
| 0.0574 | 0.0663 | 0.0692 | 0.0229 | 0.0189 | 0.0138 | 0.0183 | 0.0155 | 0.0102 | ||
| MSE( | 0.1308 | 0.1164 | 0.1131 | 0.0026 | 0.0012 | 0.0005 | 0.0004 | 0.0003 | 0.0001 | |
| MSE-LLR | 0.0089 | 0.0046 | 0.0024 | 0.0105 | 0.0061 | 0.0033 | 0.0127 | 0.0081 | 0.0046 | |
| Alg.B | 0.2357 | 0.2461 | 0.2569 | 0.1317 | 0.1261 | 0.1149 | 0.1061 | 0.1009 | 0.0933 | |
| 0.0836 | 0.0827 | 0.0848 | 0.0165 | 0.0134 | 0.0095 | 0.0099 | 0.0082 | 0.0060 | ||
| MSE | 0.0717 | 0.0663 | 0.0615 | 0.0009 | 0.0003 | 0.0001 | 0.0001 | 0.0002 | 0.0003 | |
| MSE-LLR | 0.0063 | 0.0033 | 0.0017 | 0.0095 | 0.0056 | 0.0031 | 0.0123 | 0.0080 | 0.0047 | |
| MSE( | 0.0171 | 0.0168 | 0.0171 | 0.0175 | 0.0172 | 0.0164 | 0.0175 | 0.0174 | 0.0168 | |
| MSE( | 0.0106 | 0.0103 | 0.0103 | 0.0110 | 0.0105 | 0.0101 | 0.0115 | 0.0107 | 0.0101 | |
| MSE( | 0.0082 | 0.0078 | 0.0077 | 0.0088 | 0.0080 | 0.0085 | 0.0124 | 0.0083 | 0.0075 | |
| MSE( | 0.0064 | 0.0059 | 0.0057 | 0.0086 | 0.0060 | 0.0055 | 0.0259 | 0.0069 | 0.0056 | |
| LR MSE-LR | 0.0033 | 0.0017 | 0.0009 | 0.0724 | 0.0708 | 0.0699 | 0.1027 | 0.1002 | 0.0989 | |


References
- Irwin, M. The Impact of Unemployment Insurance and Unsecured Credit on Business Cycles. J. Political Econ. Macroecon. 2025, 3(2), 199–240. [Google Scholar] [CrossRef] [PubMed]
- Quast, J.; Wolters, M. H. The Federal Reserve's output gap: The unreliability of real-time reliability tests. J. Appl. Econom. 2023, 38(7), 1101–1111. [Google Scholar] [CrossRef]
- Morley, J. C.; Piger, J. The Asymmetric Business Cycle. Rev. Econ. Stat. 2012, 94(1), 208–221. [Google Scholar] [CrossRef]
- Metz, R. Der Einsatz des Hodrick-Prescott Filters zur Trendbestimmung in ökonomischen Zeitreihen. Hist. Soc. Res. 21 1996, 48–80. [Google Scholar]
- Business Dictionary (2025). Available online: http://www.businessdictionary.com/definition/economic-trend.html (accessed on 14 December 2025).
- Pollock, D. S. G. Trend Estimation and De-Trending via Rational Square-Wave Filters. J. Econom. 99 2000, 317–334. [Google Scholar] [CrossRef]
- Hodrick, R. J.; Prescott, E. C. Postwar U.S. Business Cycles: An Empirical Investigation. J. Money Credit Bank. 29 1997, 1–16. [Google Scholar] [CrossRef]
- Beveridge, S.; Nelson, C. R. A New Approach to Decomposition of Economic Time Series into Permanent and Transitory Components with Particular Attention to Measurement of the Business Cycle. J. Monet. Econ. 7 1981, 151–174. [Google Scholar] [CrossRef]
- Baxter, M.; King, R. G. Measuring Business Cycles: Approximate Band-Pass Filters for Economic Time Series. Rev. Econ. Stat. 81 1999, 573–593. [Google Scholar] [CrossRef]
- Harvey, A. C.; Trimbur, T. M. General Model-Based Filters for Extracting Cycles and Trends in Economic Time Series. Rev. Econ. Stat. 85 2003, 244–255. [Google Scholar] [CrossRef]
- Morley, J. C.; Piger, J. Trend/cycle Decomposition of Regime-Switching Processes. J. Econom. 146 2008, 220–226. [Google Scholar] [CrossRef]
- Paige, R. L.; Trindade, A. A. The Hodrick-Prescott Filter: A Special Case of Penalized Spline Smoothing. Electron. J. Stat. 4 2010, 856–874. [Google Scholar] [CrossRef]
- Ravn, M. O.; Uhlig, H. Notes: On Adjusting the Hodrick-Prescott Filter for the Frequency of Observations. Rev. Econ. Stat. 84 2002, 371–380. [Google Scholar] [CrossRef]
- Phillips, P. C. B.; Jin, S. Business Cycles, Trend Elimination, and the HP Filter. Int. Econ. Rev. 2021, 62(2), 469–520. [Google Scholar] [CrossRef]
- Harvey, A. C.; Jaeger, A. Detrending, Stylized Facts and the Business Cycle. J. Appl. Econom. 8 1993, 231–247. [Google Scholar] [CrossRef]
- King, R. G.; Rebelo, S. T. Low Frequency Filtering and Real Business Cycles. J. Econ. Dyn. Control 17 1993, 207–231. [Google Scholar] [CrossRef]
- Hamilton, J. D. Why You Should Never Use the Hodrick-Prescott Filter. Rev. Econ. Stat. 100 2018, 831–843. [Google Scholar] [CrossRef]
- Hodrick, R. J. NBER Working Paper No. 26750.; An Exploration of Trend-Cycle Decomposition Methodologies in Simulated Data. 2020.
- Phillips, P. C. B.; Shi, Z. Boosting: Why you can use the HP filter. Int. Econ. Rev. 2021, 62(2), 521–570. [Google Scholar] [CrossRef]
- Feng, Y.; Fritz, M.; Gries, T. Data-driven Local Polynomial Estimation for the Trend and its Derivatives in Economic Time Series. J. Nonparametric Stat. 32 2020, 510–533. [Google Scholar] [CrossRef]
- Álvarez, L. J. Business Cycle Estimation with High-Pass and Band-Pass Local Polynomial Regression. Econom. 5 2017, 1–11. [Google Scholar] [CrossRef]
- Flaig, G. Why We Should Use High Values for the Smoothing Parameter of the Hodrick-Prescott Filter. J. Econ. Stat. (Jahrbuecher fuer Nationaloekonomie und Statistik) 235 2015, 518–538. [Google Scholar] [CrossRef]
- Beran, J.; Feng, Y. Local Polynomial Fitting with Long-Memory, Short Memory and Antipersistent Errors. Ann. Inst. Stat. Math. 54 2002, 291–311. [Google Scholar] [CrossRef]
- Fritz, M.; Gries, T.; Feng, Y. Growth Trends and Systematic Patterns of Booms and Busts -Testing 200 Years of Business Cycle Dynamics-. Oxf. Bull. Econ. Stat. 81 2019a, 62–78. [Google Scholar] [CrossRef]
- Fritz, M.; Gries, T.; Feng, Y. Secular Stagnation? Is There Statistical Evidence of an Unprecedented, Systematic Decline in Growth? Econ. Lett. 181 2019b, 47–50. [Google Scholar] [CrossRef]
- Zarnowitz, V.; Ozyildirim, A. Time Series Decomposition and Measurement of Business Cycles, Trends and Growth Cycles. J. Monet. Econ. 53 2006, 1717–1739. [Google Scholar] [CrossRef]
- Kydland, F. E.; Prescott, E. C. Business Cycles: Real Facts and a Monetary Myth. Fed. Reserve Bank. Minneap. Q. Rev. 14 1990, 3–18. [Google Scholar]
- Backus, D. K.; Kehoe, P. J. International Evidence on the Historical Properties of Business Cycles. Am. Econ. Rev. 82 1992, 864–888. [Google Scholar]
- Giorno, C.; Richardson, P.; Roseveare, D.; van den Noord, P. Potential Output, Output Gaps, and Structural Budget Balances. OECD Econ. Stud. 24 1995, 167–209. [Google Scholar]
- Stamfort, S. Berechnung Trendbereinigter Indikatoren für Deutschland Mithilfe von Filterverfahren. Diskuss. Reihe 1 Volkswirtschaftliche Stud. 2005, Nr. 19/2005, 1–148. [Google Scholar]
- Kaiser, R.; Maravall, A. Estimation of the Business Cycle: A Modified Hodrick-Prescott Filter. Span. Econ. Rev. 1999, 1, 175–206. [Google Scholar] [CrossRef]
- Maravall, A.; del Río, A. Temporal Aggregation, Systematic Sampling, and the Hodrick-Prescott Filter. Comput. Stat. Data Anal. 52 2007, 975–998. [Google Scholar] [CrossRef]
- Wynne, M. A.; Koo, J. Business Cycles under Monetary Union: a Comparison of the EU and US. Econ. 67 2000, 347–374. [Google Scholar] [CrossRef]
- Correia, I. H.; Neves, J. L.; Rebelo, S. T. Business Cycles from 1850-1950: New Facts about Old Data. Eur. Econ. Rev. 36 1992, 459–467. [Google Scholar] [CrossRef]
- De Jong, R.M.; Sakarya, N. The Econometrics of the Hodrick-Prescott Filter. Rev. Econ. Stat. 98 2016, 310–317. [Google Scholar] [CrossRef]
- Doorn, D. Consequences of Hodrick–Prescott Filtering for Parameter Estimation in a Structural Model of Inventory Behaviour. Appl. Econ. 38 2006, 1863–1875. [Google Scholar] [CrossRef]
- Kauermann, G.; Krivobokova, T.; Semmler, W. Filtering Time Series with Penalized Splines. Stud. Nonlinear Dyn. Econom. 15 2011, 1–26. [Google Scholar] [CrossRef]
- Pedersen, T. M. The Hodrick-Prescott Filter, the Slutzky Effect, and the Distortionary Effect of Filters. J. Econ. Dyn. Control 25 2001, 1081–1101. [Google Scholar] [CrossRef]
- Cornea-Madeira, A. The Explicit Formula for the Hodrick-Prescott Filter in a Finite Sample. Rev. Econ. Stat. 99 2017, 314–318. [Google Scholar] [CrossRef]
- Mise, E.; Kim, T.H.; Newbold, P. On Suboptimality of the Hodrick-Prescott Filter at Time Series Endpoints. J. Macroecon. 2005, 27, 53–67. [Google Scholar] [CrossRef]
- Cogley, T.; Nason, J. M. Effects of the Hodrick-Prescott Filter on Trend and Difference Stationary Time Series: Implications for Business Cycle Research. J. Econ. Dyn. Control 19 1995, 253–278. [Google Scholar] [CrossRef]
- Bühlmann, P. Locally Adaptive lag-window Spectral Estimation. J. Time Ser. Anal. 17 1996, 247–270. [Google Scholar] [CrossRef]
- Hamilton, J. D. Analysis of Time Series Subject to Changes in Regime. J. Econom. 45 1990, 39–70. [Google Scholar] [CrossRef]
- Francisco-Fernández, M.; Vilar-Fernández, J. M. Bandwidth selection for the local polynomial estimator under dependence: a simulation study. Comput. Stat. 2005, 20(4), 539–558. [Google Scholar] [CrossRef]
- Jones, C. I. Sources of U.S. Economic Growth in a World of Ideas. Am. Econ. Rev. 92 2002, 220–239. [Google Scholar] [CrossRef]
- US Bureau of Economic Analysis. Real Gross Domestic Product. Federal Reserve Bank of St. Louis, 2016. Available online: https://research.stlouisfed.org/fred2/series/GDPC1 (accessed on 24 April 2019).
- Johnston, L.; Williamson, S. H. “What Was the U.S. GDP Then?”. Measuring Worth 2011. The data bank can be accessed under. 2016. Available online: http://www.measuringworth.org/usgdp/ (accessed on 15 June 2016).
- Federal Reserve Bank of St. Louis. U.S. / U.K. Foreign Exchange Rate, U.S. Dollars to One British Pound, Monthly, Not Seasonally Adjusted. 2017. Available online: https://fred.stlouisfed.org/series/EXUSUK (accessed on 20 November 2017).
- McCallum, B. T. No. w7725.; Alternative Monetary Policy Rules: A Comparison with Historical Settings for the United States, the United Kingdom, and Japan. National Bureau of Economic Research, 2000.
- De Brouwer, G. Estimating Output Gaps. Research Discussion Paper 9809 Reserve Bank of Australia., 1998. [Google Scholar]
- Orphanides, A.; van Norden, S. The Unreliability of Output-Gap Estimates in Real Time. Rev. Econ. Stat. 84 2002, 569–583. [Google Scholar] [CrossRef]
- Feng, Y.; Forstinger, S.; Peitz, C. On the Iterative Plug-In Algorithm for Estimating Diurnal Patterns of Financial Trade Durations. J. Stat. Comput. Simul. 86 2016, 2291–2307. [Google Scholar] [CrossRef]








Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).