Scandinavian Working Papers in Economics

Discussion Papers,
Statistics Norway, Research Department

No 1031: Decomposing the Output Gap. Robust Univariate and Multivariate Hodrick–Prescott Filtering with Extreme Observations

Håvard Hungnes ()
Additional contact information
Håvard Hungnes: Statistics Norway

Abstract: This paper introduces two methodological improvements to the Hodrick– Prescott (HP) filter for decomposing GDP into trend and cycle components. First, we propose a robust univariate filter that accounts for extreme observations — such as the COVID–19 pandemic — by treating them as additive outliers. Second, we develop a multivariate HP filter that incorporates time–varying, import– adjusted budget shares of GDP sub–components. This adaptive weighting minimizes cyclical variance and yields a more stable trend estimate. Applying the framework to U.S. data, we find that private investment is the dominant source of cyclical fluctuations, while government expenditure exhibits a persistent counter–cyclical pattern. The proposed approach enhances real–time policy analysis by reducing endpoint bias and improving the identification of cyclical dynamics.

Keywords: output gap; Hodrick–Prescott filter; robust filtering; multivariate decomposition; additive outliers; time–varying budget shares; business cycle analysis

JEL-codes: E32; C22; E37; C43; C51

40 pages, December 2025

Full text files

DP1031.pdf PDF-file 

Download statistics

Questions (including download problems) about the papers in this series should be directed to L Maasø ()
Report other problems with accessing this service to Sune Karlsson ().

RePEc:ssb:dispap:1031This page generated on 2026-01-07 04:36:24.