File Exchange

image thumbnail

Using MATLAB to Develop Macroeconomic Models

version 1.0.0.1 (266 KB) by

Analyze a stylized version of the Smets-Wouters model for the United States economy.

10 Downloads

Updated

View License

Slides, software, and data for the MathWorks webinar, "Using MATLAB to Develop Macroeconomic Models." The file moneydemo.zip contains a file moneydemo.pdf with slides for the webinar and a collection of MATLAB scripts and helper functions to perform a number of macroeconomic analyses. The main script is called moneydemo.m. Instructions and some suggestions for tweaking the MATLAB code are in the file readme.txt.

Comments and Ratings (10)

Bob Taylor

Bob Taylor (view profile)

The FRED URL has changed. Replace the line:
c = fred;
with the line:
c = fred('https://research.stlouisfed.org/fred2/');
and the script will work properly.

David

David (view profile)

Chuanqi

Thanks

excelent, thanks

Lars

Lars (view profile)

Lars

Lars (view profile)

The impulse response graph that the above showed is a 3-dimension, but I just need a 2-dimensional impulse response. could you make some adjustments?

thanks.

Bob Taylor

Bob Taylor (view profile)

It would take a little effort set up a variance decomposition. Some of what you might need, however, is already in the code in vgxpred so I would suggest looking at the code as a start (particularly the lag operator C and the subsequent loop).

It is very good, in addition to impulse response, could you construct variance decomposition?

Xing

Xing (view profile)

Updates

1.0.0.1

Updated license

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video