Bayoumi and Eichengreen (1993)
Posted: Mon Apr 02, 2012 5:25 pm
Hello
I am trying to replicate the procedure as in Bayoumi and Eichengreen(1993)* to investigate the similarities between demand and supply shocks among countries in the West African Monetary zone (WAMZ) - Nigeria, Ghana, Sierra Leone, Liberia, Gambia and Guinea. These countries intend to form a monetary zone called 'the Eco' by 2015 (on paper i.e
)
Bayoumi and Eichengreen(1993) estimate bi-variate VARs of output growth and inflation across the several countries in the sample using the Blanchard and Quah identification procedure. They then obtain correlations between the supply and demand shocks among all countries, which is where i'm stuck
here's my code for one country:
Then, i replicate the same procedure for the remaining 5 countries.
First Question - So far is my code in order?
Second Question - Are the values stored in 'sresids(i=1,2)' the supply and demand shocks? If yes then these are the values to be used in capturing the correlations between each countries and an 'anchor' country - which in my case would be Nigeria as the biggest economy in the zone.
*Bayoumi, T. and Eichengreen, B. (1993) ‘Shocking Aspects of Monetary European
Monetary Unification’. In Giavazzi, F. and Torres, F. (eds) The Transition to Economic and Monetary Union in Europe (Cambridge: Cambridge University Press).
Many thanks,
Walle
I am trying to replicate the procedure as in Bayoumi and Eichengreen(1993)* to investigate the similarities between demand and supply shocks among countries in the West African Monetary zone (WAMZ) - Nigeria, Ghana, Sierra Leone, Liberia, Gambia and Guinea. These countries intend to form a monetary zone called 'the Eco' by 2015 (on paper i.e
Bayoumi and Eichengreen(1993) estimate bi-variate VARs of output growth and inflation across the several countries in the sample using the Blanchard and Quah identification procedure. They then obtain correlations between the supply and demand shocks among all countries, which is where i'm stuck
here's my code for one country:
Code: Select all
***************************************************************************
*LIBERIA
***************************************************************************
OPEN DATA "C:\Users\WALE OKUNRINBOYE\Documents\monetary union\New folder (2)\Liberia.xlsx"
CALENDAR(A) 1960:1
DATA(FORMAT=XLSX,ORG=COLUMNS,LEFT=2) 1960:01 2010:01 LIB_NGDP LIB_RGDP LIB_INF
table
************************************************************************
*PRELIMINARY TRANSFORMATIONS
************************************************************************
*TAKING LOGS
SET L_LIB_RGDP = LOG(LIB_RGDP)
SET L_LIB_NGDP = LOG(LIB_NGDP)
*OUTPUT GROWTH RATES
SET LIB_OUTPUT = L_LIB_RGDP-L_LIB_RGDP{1}
***************************************************************
*SET UP/ESTIMATE VAR SYSTEM
***************************************************************
compute [vect[strings]] shocklabels=||"Supply","Demand"||
compute [vect[strings]] varlabels=||"Output","Inflation"||
compute neqn = 2
compute nlags = 2
compute nsteps = 12
compute ndraws = 10000
system(model=libvar)
variables LIB_OUTPUT LIB_INF
lags 1 to nlags
det constant
end(system)
estimate(noprint,resids=resids)
**************************************************************************************
* Compute the Blanchard-Quah factorization of the covariance matrix
***************************************************************************************
compute bqfactor=%bqfactor(%sigma,%varlagsums)
@structresids(factor=bqfactor) resids %regstart() %regend() sresidsFirst Question - So far is my code in order?
Second Question - Are the values stored in 'sresids(i=1,2)' the supply and demand shocks? If yes then these are the values to be used in capturing the correlations between each countries and an 'anchor' country - which in my case would be Nigeria as the biggest economy in the zone.
*Bayoumi, T. and Eichengreen, B. (1993) ‘Shocking Aspects of Monetary European
Monetary Unification’. In Giavazzi, F. and Torres, F. (eds) The Transition to Economic and Monetary Union in Europe (Cambridge: Cambridge University Press).
Many thanks,
Walle