R Package Vignette for Boosted HP Filter

5 Pages Posted: 9 Jun 2022

See all articles by Zhentao Shi

Zhentao Shi

Department of Economics, the Chinese University of Hong Kong

Date Written: May 28, 2022

Abstract

This vignette introduces the HP filter, the boosted HP filter, and the usage of the R package bHP. The Hodrick-Prescott filter (HP filter; Hodrick and Prescott (1997)) is one of the fundamental statistical tools in macroeconomic data analysis. Thanks to its simplicity, it has been widely used in empirical macroeconomics studies. As an operational algorithm, its pros and cons have been debated over decades, and academic interest has been renewed in recent years to investigate its properties and extensions. While Hamilton (2018) argues against the usage of the HP filter, P. C. Phillips and Shi (2021) propose a machine learning enhancement of the original HP filter, called the boosted HP filter (bHP), and establish consistency when it is applied to a large class of trended time series in macroeconomic applications.

Keywords: HP filter, time series

JEL Classification: C32

Suggested Citation

Shi, Zhentao, R Package Vignette for Boosted HP Filter (May 28, 2022). Available at SSRN: https://ssrn.com/abstract=4121928 or http://dx.doi.org/10.2139/ssrn.4121928

Zhentao Shi (Contact Author)

Department of Economics, the Chinese University of Hong Kong ( email )

Shatin, N.T.
Hong Kong

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
109
Abstract Views
351
Rank
507,655
PlumX Metrics