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

Sokbae Lee, Yuan Liao, Myung Hwan Seo, Youngki Shin
6/18/2020
econ.EMstat.AP

Official code: yshin12/sparseHP (1 star, R, GPL-3.0, last commit 2020-07-29).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

yshin12/sparseHPOfficial100%
GPL-3.0

Sparse HP and other filtering procedures proposed in Lee et al. (2020)

13RJun 16, 20206 years agoGPL-3.0

Similar Papers

Cite this paper

@article{lee2020sparse,
  title  = {Sparse HP Filter: Finding Kinks in the COVID-19 Contact Rate},
  author = {Sokbae Lee and Yuan Liao and Myung Hwan Seo and Youngki Shin},
  year   = {2020},
  eprint = {2006.10555},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.10555}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2006.10555.svg)](https://codeofpaper.com/paper/2006.10555)

Discussion