Open Economy Macroeconomics by Martin Uribe and Stephanie Schmitt-Grohe.

Chapter: Nominal Rigidity, Exchange Rates, And Unemployment

Slides . Source File: slides_dnwr.tex in source_files.zip

Replication Files (Matlab code)
Figure 9.11: plot_ir.m in usg_dnwr.zip
Figure 9.12: plot_ir.m in usg_dnwr.zip
Figure 9.16: plot_welf.m in usg_dnwr.zip
Figure 9.17: plot_welf.m in usg_dnwr.zip
Figure 9.19: typical_crisis.m in calvo.zip
Table 9.4: simu_welf.m (welfare cost) and simu.m (unemployment) in usg_dnwr.zip
Table 9.9: welfare_calvo_run.m in welfare_calvo.zip
usg_dnwr.zip
calvo.zip
welfare_calvo.zip

Notes:
(1) Symbolic Math Toolbox is required.
(2) The files listed under "General Tools" below are required to solve the Calvo model.

General Tools
Matlab Code for First- and Second-Order Accurate Solution to DSGE Models