Hello, i am trying to run the code for the paper of Sims and Wu (2020 JME) “The Central Bank Toolkit”. I can run it without problem for the case of no ZLB binding.
But when it is occasionally binding, and I have to call OCCBIN toolkit, I have the following problem:
Error using eval
Must be a text scalar.
Error in solve_one_constraint (line 44)
eval([Mbase_.param_names(i_indx_,:),’= M_.params(i_indx_);’]);
Where did you get the different Occbin versions from? The master-branch at GitHub - JohannesPfeifer/Occbin_update should be compatible with 4.6 for example. You also did not provide the sw_2020.mod for the baseline case.
Now I tried with the updated version you provided and get this error. Seems I will have to try for different parameter values. I attach the baseline scenario mod + matlab. I used dynare 5.0 + updated OCCBIN you provided. execute_sw2020.m (6.7 KB) sw_2020.mod (7.8 KB)
Error using print_info (line 32)
Impossible to find the steady state (the sum of square residuals of the static equations is
0.9125). Either the model doesn’t have a steady state, there are an infinity of steady states, or
the guess values are too far from the solution
Error in steady (line 102)
print_info(info,options_.noprint, options_);
If you mean the Sims & Wu (2021) paper with the title “Evaluating Central Banks’ tool kit: Past, present, and future”, I can help you out.
I replicated all figures in that paper some time ago under Dynare 4.6.4.
Under Windows with Dynare 4.6.4 installed under 'C:/dynare/4.6.4/matlab'
you only have to call the respective main files to replicate the desired figure from Sims & Wu (2021).
The files are just an updated version of the replication codes from the Homepage of Jing Cynthia Wu.
The design of the code changed a bit because I take advantage of some of Dynares capabilities.
I will send the files via PM.
I have used your updated Occinbin toolkit in dynare 4.6.4. I have got steady state result but I also got the error as follow:
Unrecognized field name “ys”.
Error in solve_one_constraint (line 49)
eval([Mbase_.endo_names{i,:} 'ss = oobase.dr.ys(i); ']);
Error in runsim (line 38)
solve_one_constraint(modnam,modnamstar,…
Could you please let me know what the problem is? Thank you!
Thank you very much for your reply. I am using Dynare 5.1 now. But since I am having more than one shocks and I want to plot simulations to all these shocks with and without ZLB bindings, I don’t know how to structure the ‘shocks(surprise)’ block.
Hi, sorry to disturb you.I’m doing the DSGE model with ZLB,and I want to examine the effct of the combination of two shocks.Now I meet the same problem with you,have your problem solved? If so,may I plea you to share some experience with me?