IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2006.10555.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 $\textit{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 $\ell_1$ trend filter, while both methods fitting data equally well. Theoretically, we establish risk consistency of both the sparse HP and $\ell_1$ trend filters. Ultimately, we propose to use time-varying $\textit{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," Papers 2006.10555, arXiv.org, revised Jul 2020.
  • Handle: RePEc:arx:papers:2006.10555
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2006.10555
    File Function: Latest version
    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. 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.
    4. 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.
    5. Fernando Alvarez & David Argente, 2020. "A Simple Planning Problem for COVID-19 Lockdown," Working Papers 2020-34, Becker Friedman Institute for Research In Economics.
    6. Alexis Akira Toda, 2020. "Susceptible-Infected-Recovered (SIR) Dynamics of COVID-19 and Economic Impact," Papers 2003.11221, arXiv.org, revised Mar 2020.
    7. Andrews, Donald W.K., 1992. "Generic Uniform Convergence," Econometric Theory, Cambridge University Press, vol. 8(2), pages 241-257, June.
    8. 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).
    9. 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]," The Review of Financial Studies, Society for Financial Studies, vol. 34(11), pages 5149-5187.
    10. 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.
    11. James H. Stock, 2020. "Data Gaps and the Policy Response to the Novel Coronavirus," NBER Working Papers 26902, National Bureau of Economic Research, Inc.
    12. 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.
    13. 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.
    14. 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.
    15. 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).
    16. 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.
    17. Andrew Atkeson, 2020. "What Will Be the Economic Impact of COVID-19 in the US? Rough Estimates of Disease Scenarios," NBER Working Papers 26867, National Bureau of Economic Research, Inc.
    18. Chen, Le-Yu & Lee, Sokbae, 2018. "Best subset binary prediction," Journal of Econometrics, Elsevier, vol. 206(1), pages 39-56.
    19. 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.
    20. 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.
    21. 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.
    22. Le-Yu Chen & Sokbae Lee, 2018. "High Dimensional Classification through $\ell_0$-Penalized Empirical Risk Minimization," Papers 1811.09540, arXiv.org.
    23. Li, Shaoran & Linton, Oliver, 2021. "When will the Covid-19 pandemic peak?," Journal of Econometrics, Elsevier, vol. 220(1), pages 130-157.
    24. 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.
    25. 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.
    26. Delgado, Miguel A. & Hidalgo, Javier, 2000. "Nonparametric inference on structural breaks," Journal of Econometrics, Elsevier, vol. 96(1), pages 113-144, May.
    27. Robert S. Pindyck, 2020. "COVID-19 and the Welfare Effects of Reducing Contagion," NBER Working Papers 27121, National Bureau of Economic Research, Inc.
    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

    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. Otilia Boldea & Adriana Cornea-Madeira & João Madeira, 2023. "Disentangling the effect of measures, variants, and vaccines on SARS-CoV-2 infections in England: a dynamic intensity model," The Econometrics Journal, Royal Economic Society, vol. 26(3), pages 444-466.
    3. 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.
    4. 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.
    5. 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, revised Apr 2024.
    6. Difang Huang & Ying Liang & Boyao Wu & Yanyi Ye, 2024. "Estimating the Impact of Social Distance Policy in Mitigating COVID-19 Spread with Factor-Based Imputation Approach," Papers 2405.12180, arXiv.org.
    7. Tobias Hartl, 2021. "Monitoring the pandemic: A fractional filter for the COVID-19 contact rate," Papers 2102.10067, arXiv.org.
    8. 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.
    9. 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.
    10. Yang, Jinyu & Dong, Dayong & Liang, Chao, 2024. "Climate policy uncertainty and the U.S. economic cycle," Technological Forecasting and Social Change, Elsevier, vol. 202(C).
    11. 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).
    12. 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.
    13. 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.
    14. 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.
    15. 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. Çakmaklı, Cem & Demiralp, Selva & Özcan, Şebnem Kalemli & Yeşiltaş, Sevcan & Yıldırım, Muhammed A., 2023. "COVID-19 and emerging markets: A SIR model, demand shocks and capital flows," Journal of International Economics, Elsevier, vol. 145(C).
    13. 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.
    14. 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.
    15. 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.
    16. Á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.
    17. Difang Huang & Ying Liang & Boyao Wu & Yanyi Ye, 2024. "Estimating the Impact of Social Distance Policy in Mitigating COVID-19 Spread with Factor-Based Imputation Approach," Papers 2405.12180, arXiv.org.
    18. 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.
    19. 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.
    20. 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.

    More about this item

    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:arx:papers:2006.10555. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.