IDEAS home Printed from https://ideas.repec.org/p/mcm/deptwp/2020-06.html
   My bibliography  Save this paper

Sparse HP Filter: Finding Kinks in the COVID-19 Contact Rate

Author

Listed:
  • Sokbae Lee
  • Yuan Liao
  • Myung Hwan Seo
  • Youngki Shin

Abstract

In this paper, we estimate the time-varying COVID-19 contact rate of a Susceptible-Infected-Recovered (SIR) model. Our measurement of the contact rate is constructed using data on actively infected, recovered and deceased cases. We propose a new trend filtering method that is a variant of the Hodrick-Prescott (HP) filter, constrained by the number of possible kinks. We term it the sparse HP filter and apply it to daily data from five countries: Canada, China, South Korea, the UK and the US. Our new method yields the kinks that are well aligned with actual events in each country. We find that the sparse HP filter provides a fewer kinks than the l1 trend filter, while both methods fitting data equally well. Theoretically, we establish risk consistency of both the sparse HP and l1 trend filters. Ultimately, we propose to use time-varying contact growth rates to document and monitor outbreaks of COVID-19.

Suggested Citation

  • Sokbae Lee & Yuan Liao & Myung Hwan Seo & Youngki Shin, 2020. "Sparse HP Filter: Finding Kinks in the COVID-19 Contact Rate," Department of Economics Working Papers 2020-06, McMaster University.
  • Handle: RePEc:mcm:deptwp:2020-06
    as

    Download full text from publisher

    File URL: http://socialsciences.mcmaster.ca/econ/rsrch/papers/archive/2020-06.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Peter C. B. Phillips & Zhentao Shi, 2021. "Boosting: Why You Can Use The Hp Filter," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 62(2), pages 521-570, May.
    2. Manski, Charles F. & Molinari, Francesca, 2021. "Estimating the COVID-19 infection rate: Anatomy of an inference problem," Journal of Econometrics, Elsevier, vol. 220(1), pages 181-192.
    3. Fernando Alvarez & David Argente, 2020. "A Simple Planning Problem for COVID-19 Lockdown," Working Papers 2020-34, Becker Friedman Institute for Research In Economics.
    4. Andrews, Donald W.K., 1992. "Generic Uniform Convergence," Econometric Theory, Cambridge University Press, vol. 8(2), pages 241-257, June.
    5. Aum, Sangmin & Lee, Sang Yoon (Tim) & Shin, Yongseok, 2021. "COVID-19 doesn’t need lockdowns to destroy jobs: The effect of local outbreaks in Korea," Labour Economics, Elsevier, vol. 70(C).
    6. Martin S Eichenbaum & Sergio Rebelo & Mathias Trabandt, 2021. "The Macroeconomics of Epidemics [Economic activity and the spread of viral diseases: Evidence from high frequency data]," Review of Financial Studies, Society for Financial Studies, vol. 34(11), pages 5149-5187.
    7. James H. Stock, 2020. "Data Gaps and the Policy Response to the Novel Coronavirus," NBER Working Papers 26902, National Bureau of Economic Research, Inc.
    8. 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.
    9. Daron Acemoglu & Victor Chernozhukov & Iván Werning & Michael D. Whinston, 2021. "Optimal Targeted Lockdowns in a Multigroup SIR Model," American Economic Review: Insights, American Economic Association, vol. 3(4), pages 487-502, December.
    10. Fernández-Villaverde, Jesús & Jones, Charles I., 2022. "Estimating and simulating a SIRD Model of COVID-19 for many countries, states, and cities," Journal of Economic Dynamics and Control, Elsevier, vol. 140(C).
    11. Chen, Le-Yu & Lee, Sokbae, 2018. "Best subset binary prediction," Journal of Econometrics, Elsevier, vol. 206(1), pages 39-56.
    12. Liu, Laura & Moon, Hyungsik Roger & Schorfheide, Frank, 2021. "Panel forecasts of country-level Covid-19 infections," Journal of Econometrics, Elsevier, vol. 220(1), pages 2-22.
    13. Andrew Atkeson, 2020. "What Will be the Economic Impact of COVID-19 in the US? Rough Estimates of Disease Scenarios," Staff Report 595, Federal Reserve Bank of Minneapolis.
    14. 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.
    15. Robert S. Pindyck, 2020. "COVID-19 and the Welfare Effects of Reducing Contagion," NBER Working Papers 27121, National Bureau of Economic Research, Inc.
    16. A. Belloni & V. Chernozhukov & L. Wang, 2011. "Square-root lasso: pivotal recovery of sparse signals via conic programming," Biometrika, Biometrika Trust, vol. 98(4), pages 791-806.
    17. Alexis Akira Toda, 2020. "Susceptible-Infected-Recovered (SIR) Dynamics of COVID-19 and Economic Impact," Papers 2003.11221, arXiv.org, revised Mar 2020.
    18. James D. Hamilton, 2018. "Why You Should Never Use the Hodrick-Prescott Filter," The Review of Economics and Statistics, MIT Press, vol. 100(5), pages 831-843, December.
    19. Christopher Avery & William Bossert & Adam Clark & Glenn Ellison & Sara Fisher Ellison, 2020. "Policy Implications of Models of the Spread of Coronavirus: Perspectives and Opportunities for Economists," NBER Working Papers 27007, National Bureau of Economic Research, Inc.
    20. Adriana Cornea-Madeira, 2017. "The Explicit Formula for the Hodrick-Prescott Filter in a Finite Sample," The Review of Economics and Statistics, MIT Press, vol. 99(2), pages 314-318, May.
    21. Chernozhukov, Victor & Kasahara, Hiroyuki & Schrimpf, Paul, 2021. "Causal impact of masks, policies, behavior on early covid-19 pandemic in the U.S," Journal of Econometrics, Elsevier, vol. 220(1), pages 23-62.
    22. Robert M. de Jong & Neslihan Sakarya, 2016. "The Econometrics of the Hodrick-Prescott Filter," The Review of Economics and Statistics, MIT Press, vol. 98(2), pages 310-317, May.
    23. Christopher Avery & William Bossert & Adam Thomas Clark & Glenn Ellison & Sara Ellison, 2020. "Policy Implications of Models of the Spread of Coronavirus: Perspectives and Opportunities for Economists," CESifo Working Paper Series 8293, CESifo.
    24. Le-Yu Chen & Sokbae Lee, 2018. "High Dimensional Classification through $\ell_0$-Penalized Empirical Risk Minimization," Papers 1811.09540, arXiv.org.
    25. Li, Shaoran & Linton, Oliver, 2021. "When will the Covid-19 pandemic peak?," Journal of Econometrics, Elsevier, vol. 220(1), pages 130-157.
    26. Sydney C. Ludvigson & Sai Ma & Serena Ng, 2020. "COVID-19 and The Macroeconomic Effects of Costly Disasters," NBER Working Papers 26987, National Bureau of Economic Research, Inc.
    27. Delgado, Miguel A. & Hidalgo, Javier, 2000. "Nonparametric inference on structural breaks," Journal of Econometrics, Elsevier, vol. 96(1), pages 113-144, May.
    28. Charles F. Manski, 2020. "Bounding the Predictive Values of COVID-19 Antibody Tests," NBER Working Papers 27226, National Bureau of Economic Research, Inc.
    Full references (including those not matched with items on IDEAS)

    Citations

    RePEc Biblio mentions

    As found on the RePEc Biblio, the curated bibliography for Economics:
    1. > Economics of Welfare > Health Economics > Economics of Pandemics > Specific pandemics > Covid-19 > Health > Measurement

    Citations

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


    Cited by:

    1. Soo Beom Choi & Insung Ahn, 2020. "Forecasting imported COVID-19 cases in South Korea using mobile roaming data," PLOS ONE, Public Library of Science, vol. 15(11), pages 1-10, November.
    2. Jonas E. Arias & Jesús Fernández-Villaverde & Juan F. Rubio-Ramírez & Minchul Shin, 2021. "Bayesian Estimation of Epidemiological Models: Methods, Causality, and Policy Trade-Offs," CESifo Working Paper Series 8977, CESifo.
    3. Julliard, Christian & Shi, Ran & Yuan, Kathy, 2023. "The spread of COVID-19 in London: Network effects and optimal lockdowns," Journal of Econometrics, Elsevier, vol. 235(2), pages 2125-2154.
    4. Ziwei Mei & Peter C. B. Phillips & Zhentao Shi, 2022. "The boosted HP filter is more general than you might think," Papers 2209.09810, arXiv.org.
    5. Tobias Hartl, 2021. "Monitoring the pandemic: A fractional filter for the COVID-19 contact rate," Papers 2102.10067, arXiv.org.
    6. Webel, Karsten, 2022. "A review of some recent developments in the modelling and seasonal adjustment of infra-monthly time series," Discussion Papers 31/2022, Deutsche Bundesbank.
    7. Jonas E. Arias & Jesús Fernández-Villaverde & Juan F. Rubio-Ramirez & Minchul Shin, 2021. "Bayesian Estimation of Epidemiological Models: Methods, Causality, and Policy Trade-Offs," Working Papers 21-18, Federal Reserve Bank of Philadelphia.
    8. Cai, Junyang & Zhou, Jian, 2022. "How many asymptomatic cases were unconfirmed in the US COVID-19 pandemic? The evidence from a serological survey," Chaos, Solitons & Fractals, Elsevier, vol. 164(C).
    9. Hartl, Tobias, 2021. "Monitoring the pandemic: A fractional filter for the COVID-19 contact rate," VfS Annual Conference 2021 (Virtual Conference): Climate Economics 242380, Verein für Socialpolitik / German Economic Association.
    10. Saulius Jokubaitis & Dmitrij Celov, 2022. "Business Cycle Synchronization in the EU: A Regional-Sectoral Look through Soft-Clustering and Wavelet Decomposition," Papers 2206.14128, arXiv.org.
    11. Jonas E. Arias & Jesús Fernández-Villaverde & Juan Rubio Ramírez & Minchul Shin, 2021. "The Causal Effects of Lockdown Policies on Health and Macroeconomic Outcomes," NBER Working Papers 28617, National Bureau of Economic Research, Inc.
    12. Richard K. Crump & Nikolay Gospodinov & Hunter Wieman, 2023. "Sparse Trend Estimation," Staff Reports 1049, Federal Reserve Bank of New York.

    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. Garriga, Carlos & Manuelli, Rody & Sanghi, Siddhartha, 2022. "Optimal management of an epidemic: Lockdown, vaccine and value of life," Journal of Economic Dynamics and Control, Elsevier, vol. 140(C).
    2. Fernández-Villaverde, Jesús & Jones, Charles I., 2022. "Estimating and simulating a SIRD Model of COVID-19 for many countries, states, and cities," Journal of Economic Dynamics and Control, Elsevier, vol. 140(C).
    3. Julliard, Christian & Shi, Ran & Yuan, Kathy, 2023. "The spread of COVID-19 in London: Network effects and optimal lockdowns," Journal of Econometrics, Elsevier, vol. 235(2), pages 2125-2154.
    4. Korolev, Ivan, 2021. "Identification and estimation of the SEIRD epidemic model for COVID-19," Journal of Econometrics, Elsevier, vol. 220(1), pages 63-85.
    5. Daron Acemoglu & Victor Chernozhukov & Iván Werning & Michael D. Whinston, 2021. "Optimal Targeted Lockdowns in a Multigroup SIR Model," American Economic Review: Insights, American Economic Association, vol. 3(4), pages 487-502, December.
    6. Chernozhukov, Victor & Kasahara, Hiroyuki & Schrimpf, Paul, 2021. "Causal impact of masks, policies, behavior on early covid-19 pandemic in the U.S," Journal of Econometrics, Elsevier, vol. 220(1), pages 23-62.
    7. Daron Acemoglu & Victor Chernozhukov & Ivàn Werning & Michael D. Whinston, 2020. "A Multi-Risk SIR Model with Optimally Targeted Lockdown," CeMMAP working papers CWP14/20, Centre for Microdata Methods and Practice, Institute for Fiscal Studies.
    8. David Berger & Kyle Herkenhoff & Chengdai Huang & Simon Mongey, 2022. "Testing and Reopening in an SEIR Model," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 43, pages 1-21, January.
    9. Miguel Casares & Paul Gomme & Hashmat Khan, 2022. "COVID‐19 pandemic and economic scenarios for Ontario," Canadian Journal of Economics/Revue canadienne d'économique, John Wiley & Sons, vol. 55(S1), pages 503-539, February.
    10. Attar, M. Aykut & Tekin-Koru, Ayça, 2022. "Latent social distancing: Identification, causes and consequences," Economic Systems, Elsevier, vol. 46(1).
    11. David Baqaee & Emmanuel Farhi & Michael J. Mina & James H. Stock, 2020. "Reopening Scenarios," NBER Working Papers 27244, National Bureau of Economic Research, Inc.
    12. Michael Barnett & Greg Buchak & Constantine Yannelis, 2023. "Epidemic responses under uncertainty," Proceedings of the National Academy of Sciences, Proceedings of the National Academy of Sciences, vol. 120(2), pages 2208111120-, January.
    13. Huberts, Nick F.D. & Thijssen, Jacco J.J., 2023. "Optimal timing of non-pharmaceutical interventions during an epidemic," European Journal of Operational Research, Elsevier, vol. 305(3), pages 1366-1389.
    14. Vandenbroucke Guillaume, 2022. "The Mechanics of Individually- and Socially-Optimal Decisions during an Epidemic," The B.E. Journal of Macroeconomics, De Gruyter, vol. 22(1), pages 131-158, January.
    15. Álvaro H. Chaves Castro, 2021. "Análisis sobre la evolución del COVID-19 en Colombia: ¿se alcanzará el pico de contagio?," Tiempo y Economía, Universidad de Bogotá Jorge Tadeo Lozano, vol. 8(1), pages 123-160, January.
    16. Masuhara, Hiroaki & Hosoya, Kei, 2022. "Convergent movement of COVID-19 outbreak in Japan based on SIR model," Economic Analysis and Policy, Elsevier, vol. 73(C), pages 29-43.
    17. Nicola Fuchs-Schündeln & Dirk Krueger & André Kurmann & Etienne Lalé & Alexander Ludwig & Irina Popova, 2023. "The Fiscal and Welfare Effects of Policy Responses to the Covid-19 School Closures," IMF Economic Review, Palgrave Macmillan;International Monetary Fund, vol. 71(1), pages 35-98, March.
    18. Pablo D. Fajgelbaum & Amit Khandelwal & Wookun Kim & Cristiano Mantovani & Edouard Schaal, 2021. "Optimal Lockdown in a Commuting Network," American Economic Review: Insights, American Economic Association, vol. 3(4), pages 503-522, December.
    19. Altig, Dave & Baker, Scott & Barrero, Jose Maria & Bloom, Nicholas & Bunn, Philip & Chen, Scarlet & Davis, Steven J. & Leather, Julia & Meyer, Brent & Mihaylov, Emil & Mizen, Paul & Parker, Nicholas &, 2020. "Economic uncertainty before and during the COVID-19 pandemic," Journal of Public Economics, Elsevier, vol. 191(C).
    20. David Berger & Kyle Herkenhoff & Chengdai Huang & Simon Mongey, 2022. "Testing and Reopening in an SEIR Model," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 43, pages 1-21, January.

    More about this item

    Keywords

    COVID-19; trend filtering; knots; piecewise linear fitting; Hodrick-Prescott filter;
    All these keywords.

    JEL classification:

    • C51 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Construction and Estimation
    • C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
    • C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models; Diffusion Processes

    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:mcm:deptwp:2020-06. 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: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/demcmca.html .

    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.