Optimal HP filtering for South Africa
Leon du Toit ()
No 07/2008, Working Papers from Stellenbosch University, Department of Economics
Abstract:
Among the various methods used to identify the business cycle from aggregate data, the Hodrick-Prescott filter has become an industry standard – it ‘identifies’ the business cycle by removing low-frequency information, thereby smoothing the data. Since the filter’s inception in 1980, the value of the smoothing constant for quarterly data has been set at a ‘default’ of 1600, following the suggestion of Hodrick and Prescott (1980). This paper argues that this ‘default value’ is inappropriate due to its ad hoc nature and problematic underlying assumptions. Instead this paper uses the method of optimal filtering, developed by Pedersen (1998, 2001, and 2002), to determine the optimal value of the smoothing constant for South Africa. The optimal smoothing constant is that value which least distorts the frequency information of the time series. The result depends on both the censoring rule for the duration of the business cycles and the structure of the economy. The paper raises a number of important issues concerning the practical use of the HP filter, and provides an easily replicable method in the form of MATLAB code.
Keywords: Hodrick-Prescott filter; Spectral analysis; Ideal filtering; Optimal filtering; Distortionary filtering; Business cycles; MATLAB (search for similar items in EconPapers)
JEL-codes: C22 E32 (search for similar items in EconPapers)
Date: 2008
New Economics Papers: this item is included in nep-ecm and nep-mac
References: Add references at CitEc
Citations: View citations in EconPapers (9)
Downloads: (external link)
https://www.ekon.sun.ac.za/wpapers/2008/wp072008/wp-07-2008.pdf First version, 2008 (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:sza:wpaper:wpapers55
Access Statistics for this paper
More papers in Working Papers from Stellenbosch University, Department of Economics Contact information at EDIRC.
Bibliographic data for series maintained by Melt van Schoor ().