Hagemann, describing the IMF's methodology to calculate the output gap, shows that no standardised procedure is imposed for all countries, though the production function approach tends to dominate. For some countries, the estimates of the IMF are based on direct HP filtering. The HP filter is...