An Aggregation-Consistent Implementation of the Hamilton Filter
Marco Cozzi
No 2401, Department Discussion Papers from Department of Economics, University of Victoria
Abstract:
I propose a modified implementation of the popular Hamilton filter, to make the cyclical component extracted from an aggregate variable consistent with the aggregation of the cyclical components extracted from its underlying variables. This procedure is helpful in many circumstances, for instance when dealing with a variable that comes from a definition or when the empirical relationship is based on an equilibrium condition of a growth model. The procedure consists of the following steps: 1) build the aggregate variable, 2) run the Hamilton filter regression on the aggregate variable and store the related OLS estimates, 3) use these estimated parameters to predict the trends of all the underlying variables, 4) rescale the constant terms to obtain mean-zero cyclical components that are aggregation-consistent. I consider two applications, exploiting U.S. and Canadian data. The former is based on the GDP expenditure components, while the latter on the GDP of its Provinces and Territories. I find sizable differences between the cyclical components of aggregate GDP computed with and without the adjustment, making it a valuable procedure for both assessing the output gap and validating empirically DSGE models.
Keywords: Business cycles; Filtering; Hamilton filter; Output gap; Trend-cycle decomposition. JEL Classifications: C22; E30; E32. (search for similar items in EconPapers)
Pages: 13 pages
Date: 2024-05
New Economics Papers: this item is included in nep-dge, nep-ecm and nep-ets
Note: ISSN 1914-2838
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://www.uvic.ca/socialsciences/economics/_assets/docs/ddp_2401.pdf (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:vic:vicddp:2401
Access Statistics for this paper
More papers in Department Discussion Papers from Department of Economics, University of Victoria PO Box 1700, STN CSC, Victoria, BC, Canada, V8W 2Y2. Contact information at EDIRC.
Bibliographic data for series maintained by Kali Moon ().