IDEAS home Printed from https://ideas.repec.org/p/wpa/wuwpem/0311002.html
   My bibliography  Save this paper

Signal Extraction in Continuous Time and the Generalized Hodrick- Prescott Filter

Author

Listed:
  • Roberto Iannaccone

    (Istat)

  • Edoardo Otranto

    (DEIR-Università di Sassari)

Abstract

A widely used filter to extract a signal in a time series, in particular in the business cycle analysis, is the Hodrick-Prescott filter. The model that underlies the filter considers the data series as the sum of two unobserved component (signal and non signal) and a smoothing parameter which for quarterly series is set to a specified value. This paper proposes a generalization of the Hodrick-Prescott filter to a continuous time support, using the well-established relationship between cubic splines and state-space models. The spline formulation of the filter leads to a state space model with several practical advantages: first, the smoothing parameter can be either pre-specified or estimated as the other parameters in the model; second, the unobserved components can be modelled by the addition of particular ARIMA structures; lastly the model is capable of working in the presence of missing values or for irregular surveys. Monte Carlo experiments support these considerations.

Suggested Citation

  • Roberto Iannaccone & Edoardo Otranto, 2003. "Signal Extraction in Continuous Time and the Generalized Hodrick- Prescott Filter," Econometrics 0311002, University Library of Munich, Germany.
  • Handle: RePEc:wpa:wuwpem:0311002
    Note: Type of Document - PDF; pages: 20. PDF document submitted via ftp
    as

    Download full text from publisher

    File URL: https://econwpa.ub.uni-muenchen.de/econ-wp/em/papers/0311/0311002.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. C. K. Carter & R. Kohn, 1997. "Semiparametric Bayesian Inference for Time Series with Mixed Spectra," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 59(1), pages 255-268.
    2. Marianne Baxter & Robert G. King, 1999. "Measuring Business Cycles: Approximate Band-Pass Filters For Economic Time Series," The Review of Economics and Statistics, MIT Press, vol. 81(4), pages 575-593, November.
    3. Pollock, D. S. G., 2003. "Improved frequency selective filters," Computational Statistics & Data Analysis, Elsevier, vol. 42(3), pages 279-297, March.
    4. Juan J. Dolado & Miguel Sebastián & Javier Vallés, 1993. "Ciclical patterns of the spanish economy," Investigaciones Economicas, Fundación SEPI, vol. 17(3), pages 445-473, September.
    5. Backus, David K & Kehoe, Patrick J, 1992. "International Evidence of the Historical Properties of Business Cycles," American Economic Review, American Economic Association, vol. 82(4), pages 864-888, September.
    6. Hodrick, Robert J & Prescott, Edward C, 1997. "Postwar U.S. Business Cycles: An Empirical Investigation," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 29(1), pages 1-16, February.
    7. Koopman, Siem Jan & Harvey, Andrew, 2003. "Computing observation weights for signal extraction and filtering," Journal of Economic Dynamics and Control, Elsevier, vol. 27(7), pages 1317-1333, May.
    8. Harvey, A C & Jaeger, A, 1993. "Detrending, Stylized Facts and the Business Cycle," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 8(3), pages 231-247, July-Sept.
    9. Morten O. Ravn & Harald Uhlig, 2002. "On adjusting the Hodrick-Prescott filter for the frequency of observations," The Review of Economics and Statistics, MIT Press, vol. 84(2), pages 371-375.
    10. Siem Jan Koopman & Neil Shephard & Jurgen A. Doornik, 1999. "Statistical algorithms for models in state space using SsfPack 2.2," Econometrics Journal, Royal Economic Society, vol. 2(1), pages 107-160.
    11. Cogley, Timothy, 2001. "Alternative definitions of the business cycle and their implications for business cycle models: A reply to Torben Mark Pederson," Journal of Economic Dynamics and Control, Elsevier, vol. 25(8), pages 1103-1107, August.
    12. Beveridge, Stephen & Nelson, Charles R., 1981. "A new approach to decomposition of economic time series into permanent and transitory components with particular attention to measurement of the `business cycle'," Journal of Monetary Economics, Elsevier, vol. 7(2), pages 151-174.
    13. Stephen Pollock, 2001. "Improved Frequency-selective Filters," Working Papers 449, Queen Mary University of London, School of Economics and Finance.
    14. Víctor Gómez & Agustín Maravall, 1998. "Seasonal Adjustment and Signal Extraction in Economic Time Series," Working Papers 9809, Banco de España.
    15. King, Robert G. & Rebelo, Sergio T., 1993. "Low frequency filtering and real business cycles," Journal of Economic Dynamics and Control, Elsevier, vol. 17(1-2), pages 207-231.
    16. Cogley, Timothy & Nason, James M., 1995. "Effects of the Hodrick-Prescott filter on trend and difference stationary time series Implications for business cycle research," Journal of Economic Dynamics and Control, Elsevier, vol. 19(1-2), pages 253-278.
    17. Jahyeong Koo & Mark A. Wynne, 1997. "Business cycles under monetary union: EU and US business cycles compared," Working Papers 9707, Federal Reserve Bank of Dallas.
    18. Nelson, Charles R. & Plosser, Charles I., 1982. "Trends and random walks in macroeconmic time series : Some evidence and implications," Journal of Monetary Economics, Elsevier, vol. 10(2), pages 139-162.
    19. Agustín Maravall & Ana del Río, 2001. "Time Aggregation and the Hodrick-Prescott Filter," Working Papers 0108, Banco de España.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Binoy B. Nair & V. P. Mohandas & Nikhil Nayanar & E. S. R. Teja & S. Vigneshwari & K. V. N. S. Teja, 2015. "A Stock Trading Recommender System Based on Temporal Association Rule Mining," SAGE Open, , vol. 5(2), pages 21582440155, April.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Maravall, A. & del Rio, A., 2007. "Temporal aggregation, systematic sampling, and the Hodrick-Prescott filter," Computational Statistics & Data Analysis, Elsevier, vol. 52(2), pages 975-998, October.
    2. Tawadros, George B., 2011. "The stylised facts of Australia's business cycle," Economic Modelling, Elsevier, vol. 28(1), pages 549-556.
    3. Aadland, David, 2005. "Detrending time-aggregated data," Economics Letters, Elsevier, vol. 89(3), pages 287-293, December.
    4. Melina Dritsaki & Chaido Dritsaki, 2022. "Comparison of HP Filter and the Hamilton’s Regression," Mathematics, MDPI, vol. 10(8), pages 1-18, April.
    5. Thomas M. Trimbur, 2006. "Detrending economic time series: a Bayesian generalization of the Hodrick-Prescott filter," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 25(4), pages 247-273.
    6. Joël CARIOLLE, 2012. "Measuring macroeconomic volatility - Applications to export revenue data, 1970-2005," Working Papers I14, FERDI.
    7. Mr. Andreas Billmeier, 2004. "Ghostbusting: Which Output Gap Measure Really Matters?," IMF Working Papers 2004/146, International Monetary Fund.
    8. Robert J. Hodrick, 2020. "An Exploration of Trend-Cycle Decomposition Methodologies in Simulated Data," NBER Working Papers 26750, National Bureau of Economic Research, Inc.
    9. Athanasios Orphanides & Simon van Norden, 2002. "The Unreliability of Output-Gap Estimates in Real Time," The Review of Economics and Statistics, MIT Press, vol. 84(4), pages 569-583, November.
    10. Joël CARIOLLE, 2012. "Mesurer l’instabilité macroéconomique - Applications aux données de recettes d’exportation, 1970-2005," Working Papers I14, FERDI.
    11. David E. Giles & Chad N. Stroomer, 2004. "Identifying the Cycle of a Macroeconomic Time-Series Using Fuzzy Filtering," Econometrics Working Papers 0406, Department of Economics, University of Victoria.
    12. Alain Guay & Pierre St-Amant, 1996. "Do Mechanical Filters Provide a Good Approximation of Business Cycles?," Technical Reports 78, Bank of Canada.
    13. Michaelides, Panayotis G. & Papageorgiou, Theofanis & Vouldis, Angelos T., 2013. "Business cycles and economic crisis in Greece (1960–2011): A long run equilibrium analysis in the Eurozone," Economic Modelling, Elsevier, vol. 31(C), pages 804-816.
    14. Leo Butler, 1996. "The Bank of Canada's New Quarterly Porjection Model Part 4 : A Semi- Structural Method to Estimate Potential Output : Combining Economic Theory with a Time-Series Filter," Technical Reports 77, Bank of Canada.
    15. Hall, Viv B & Thomson, Peter, 2022. "A boosted HP filter for business cycle analysis: evidence from New Zealand’s small open economy," Working Paper Series 9473, Victoria University of Wellington, School of Economics and Finance.
    16. Woitek, Ulrich, 2003. "Height cycles in the 18th and 19th centuries," Economics & Human Biology, Elsevier, vol. 1(2), pages 243-257, June.
    17. Kaiser, Regina & Maravall, Agustin, 2005. "Combining filter design with model-based filtering (with an application to business-cycle estimation)," International Journal of Forecasting, Elsevier, vol. 21(4), pages 691-710.
    18. Blonigen, Bruce A. & Piger, Jeremy & Sly, Nicholas, 2014. "Comovement in GDP trends and cycles among trading partners," Journal of International Economics, Elsevier, vol. 94(2), pages 239-247.
    19. James D. Hamilton, 2017. "Why You Should Never Use the Hodrick-Prescott Filter," NBER Working Papers 23429, National Bureau of Economic Research, Inc.
    20. Alfred A. Haug & William G. Dewald, 2012. "Money, Output, And Inflation In The Longer Term: Major Industrial Countries, 1880–2001," Economic Inquiry, Western Economic Association International, vol. 50(3), pages 773-787, July.

    More about this item

    Keywords

    smoothing parameter; cubic spline; state-space model; irregular surveys.;
    All these keywords.

    JEL classification:

    • C1 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General
    • C3 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables
    • C5 - Mathematical and Quantitative Methods - - Econometric Modeling

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:wpa:wuwpem:0311002. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: EconWPA (email available below). General contact details of provider: https://econwpa.ub.uni-muenchen.de .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.