{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hintsps2SP06 - Hints to Problem Set 2 Pablo D'Erasmo 1 DATA...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Hints to Problem Set # 2 Pablo D’Erasmo * January 26, 2006 1. DATA Download the variables from FRED (the Federal Reserve Bank of St. Louis Economic Database at http://research.stlouisfed.org/fred2/ Construct the quarterly unemployment rate as an average of the monthly rates. Timing of the variables and shocks is very important in this model. Thus, make sure to pair GNP growth rates and unemployment data correspondingly. 2. VAR to VMA The Matlab command to run a regression of y on X is “regress(y,X)”, where y (n × 1) is the dependent variable and X (n × p) is the matrix of p independent variables, in this case the number of lags p = 8. Run two OLS regressions (one for Δ y and other for u to find the 32 coefficients). If the command “regress”is not available in your version of Matlab, you can fin the coefficients by computing ( X X ) - 1 X y for each equation. As the VAR(8) process is covariance stationary (we take this as true), the lag polynomial: ( I n - B 1 L - B 2 L 2 - ... - B 8 L 8 ) (1) is invertible, where B i are the (2 × 2) matrices representing the regression coeffi- cients. In general, the inverse is given by the following form:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}