========================================================= == LiuWaggonerZha regime-switching DSGE model. ========================================================= ------------------------- -- Common Matlab files ------------------------- MatlabFiles.zip: all the files must be put on the Matlab directory path. ------------------------- -- Setup files ------------------------- model_lwz_setup.m: a setup file and the gensys solution for regime-switching DSGE model. Search for <<> for all ad hoc changes. paravals*.m: various parameter settings depending on types of models. ------------------------- -- Main functions. ------------------------- plot_irfs.m: reads model_lwz_setup.m to plot impulse responses for constant-parameter and regime-switching models (Figures 1 and 2 in the paper). rs_dynamics.m: reproduces Figures 3 and 4.