Problem from different version of Dynare

Dear Friends,
I want to replicate one public code by Chang et al. (2019), but as they write the code with dynare 4.5, and now my dynare is 5.3, I fail to run it.
Specifically, the fail happen in the function “stoch_simul”. The dynare 4.5 requires info=stoch_simul(var_list), but dynare 5.3 requires [info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list).
My purpose is to run mainfile.m in the attachment, if I want to run it by Dynare 5.3, how can I modify the mainfile.m.
Thanks for your help!

Because of the attachment is too big, I show it by presenting the link:
https://www.frbsf.org/wp-content/uploads/sites/4/CLSZ_rep_code.zip
Reference:
Chun Chang, Zheng Liu, Mark M. Spiegel, Jingyi Zhang, Reserve requirements and optimal Chinese stabilization policy, Journal of Monetary Economics, Volume 103,
2019, Pages 33-51.

Which file of the package are you trying to run?

I want to run mainfile.m.

It seems you only need to replace all calls to stoch_simul in display_simple by the new syntax:
display_simple.m (12.9 KB)

1 Like