The output gap is constructed by fitting three statistical trend filters: a quadratic trend, a Hodrick-Prescott trend and a band-pass trend on UK real GDP and then deriving the average gap by pooling these three filters.