I am trying to replicate Smets & Wouters (2007). The author’s usmodel.mod file writes the following estimation command:
Regarding “mode_file = usmodel_mode”, how to create the “usmodel_mode” file? Which command could I use to save previous value for the mode? Thank you very much in advance!
Thank you, professor! I found that “usmodel_mode.mat” file.
If I want to build a new model in the future and use similar code for estimation, how could I create the mat file for the new model?
I tested “dynasave(newmodel);” using smets & wouter’s script, but it reports error:
Error using dynasave (line 39)
dynasave:: The results structure does not contain simulated series. Maybe the periods option has not been set.
Your guidance and advice will be greatly appreciated!