Professional Documents
Culture Documents
Introduction: Output gap is one of the most important macroeconomic indicator that policymakers
would like to know. The estimation of output gap, however, is not easily acquired. In this project report, I
explain the theoretical framework of Blanchard and Quah method and the implementation in R, to
compute the output gap for an economy. In application, I implement the method in 6 developed
economies: the United States, the United Kingdom, Switzerland, Germany, France and Japan.
Macroeconomics then has to build up some models from which we have a framework to
compute the potential output and output gap. Hodrick-Prescott filter is one of those methods. It
aims at minimizing the difference between actual output and potential output while imposing
constraints on the extent to which growth in potential output can vary, which means their
optimization problem is:
1
min
{( ) + [(+1 ) ( 1 )]2 }
2
=1 =2
The first term of this equation is the sum of squared differences between actual output
levels and potential output levels. The second term is the squared changes in potential output
growth. is a parameter with value between zero and infinity that determines the extent of
permissible variations in potential growth and is determined outside the model. If is zero, the
1
difference between actual output and potential output is minimized. If increases to infinity,
the variations in potential output growth will be minimized. In either case, we could filter out
the trend, or the long term potential output and then directly get output gap. is widely set to
1600 for quarterly data, as proposed by Kydland and Prescott (1990).
In 1989, Blanchard and Quah suggested a new method to estimate output gap by using
Structural Vector Autogressive (SVAR) model and this method is considered to be better at
estimating output gap than the others. We could see this superiority by comparing the
estimated output gaps from different methods at their correlation with domestic inflation rate,
based on the Philips equation (Bjornland, 2005), or by looking at whether the turning points of
the gaps are associated with the ones in reality (Bjornland 2005), or by observing the two kinds
of outputgaps computed from one method and see whether they are the same (Bersch, 2013).
In fact, SVAR model is usually applied in order to measure the impact of some shock
(demand or supply) on economic performance. SVAR is basically VAR model with more than
one endogenous variable and therefore there are different shocks in the residuals which affect
the variables in long run or short run. To identify these structual shocks, some theoy-based-
restrictions need to be put. SVAR model is to deal with these restrictions and allow us to see the
impact of one specific shock on a specific endogenous variable.
= + + + + , ~(0, ).
where = [1, 2, , ]1 , and we could use maximum likelihood estimation to
obtain matrices as well as residuals . In order to test stationarity of this joint process { },
we could transform the equation above into:
[ ]=[ ]+[ ][
]+[ ]
+
Or simply: = + + ;
If the eigenvalues of matrix lie within the unit circle, then the process { } is
covariance stationary.
2
=
(+1)
2
restrictions can be obtained from covariance matrix of residuals : = = .
(1)
The other 2
restrictions are unknown theoretically, which means we have to come up with
some ideas from reality.
Blanchard and Quah (1989) suggest a SVAR model with 2 endogenous variables: real
GNP growth rate and unemployment rate, and 2 shocks: demand shock and supply shock. They
want to identify the effect of demand shock on real GNP growth rate, therefore they propose a
long run restriction on this effect and could then measure the cumulative values over time. In
details, they assume that neither supply shock nor demand shock has long run impact on real
unemployment but supply shock does on real GNP growth rate. Demand shock also only
affects real GNP growth rate in a short period of time and will vanish soon enough.
Identifying the impact of demand shock on real GNP growth rate is important because it
is also the impact of demand shock on output. Because demand shocks impact will soon die
out, it is believed to be the driver of output fluctuations around potential one, and therefore the
calculated accumulative effect is the output gap we want to achieve. With this approach, we do
not need to estimate the potential output when trying to compute the output gap.
Technically, Blanchard and Quah (1989) assume that the process { } is covariance
stationary. In fact this assumption could be satisfied easily because we could modify the data
with several common techniques such as time series decomposition, differencing with ,
etc. With stationary process, we could estimate a VAR(p) model as follows:
= + + + +
where = [ ] (with real GNP growth rate and unemployment being endogenous
variables), and = [ ] (with demand and supply shock). As soon as having estimated
3
values of residuals (a matrix with 2 columns), we could continue with finding B matrix using
the property of variance mtrix of residuals and the restrictions aforementioned.
= + + +
After getting stationary series, I can construct the VAR model. The number of lags is
acquired by using different suggestions from Akaike information criterion (AIC), Bayesian
information criterion (BIC), Schwarz Criterion (SC), and Akaikes Final Prediction
Error Criterion (FPE) which could obtained at one time by command VARselect. As proposed
by most criterion, the number of lags then help estimate residuals, matrix (of which
eigenvalues help confirm the stationarity of process), and B matrix. As stated above, I could use
B matrix and VAR residuals to acquire the output gap.
For comparison, I use Hodrick-Prescott filter and get another estimation of output gap.
Both of these estimates usually show the similar fluctuations, reflecting the same business
cycles. On the results shown in graphs below, the blue line represents output gap measured by
Blanchard and Quah method and the orange line by Hodrick-Prescott filter. The yellow line is
just an interest where I use command BQ from package VARS of R software, which could be
useful in terms of comparison.
4
Reference
Bersch, J., Sinclair, T. M., Statistical versus economic output gap measures: Evidence from Mongolia,
Institute for International Ecnomic Policy, IIEP-WP-2013-7 (2013).
Bjornland, H. C., Brubakk, L., Jore, A. S., The output gap in Norway a comparison of different
methods. Norges Bankss Economics Department, Economic Bulletin, p90-100 (2005).
Blanchard, Olivier J. and Danny Quah, 1989, The Dynamic Effects of Aggregate Demand and
Supply Disturbances, American Economic Review, Vol. 79, No. 4, pp. 655-673.
Hjelm, G., Jonsson, K., In search of a method for measuring the output gap of the Swedish economy.
National institute of economic research (NIER), working paper NR 115 (2010).
Hodrick, Robert J. and Edward C. Prescott, Postwar U.S. Business Cycles: An Empirical
Investigation, Journal of Money, Credit, and Banking, Vol. 29, No. 1, pp. 1-16 (1997).
5
Appendix
Note that for the sake of stationarity, the number of periods in each model for each
country may be different. In the graphs below I do not display the real timing but the order of
periods instead.
6
7
8