Occbin_estimation: BK conditions are not satisfied

Thank you Professor so much for your help. I run into two question.

  1. When I correct the bind line with 1e-8


    name 'ZLB'; bind v2<=-1e-8; relax exp(xi)*exp(Q)*(exp(fm)-kappa*exp(fm)/exp(Pi))>Psi*exp(pk)*exp(Ih);    
name 'rate'; bind RTR<=1; relax RTR>1;

the error exists again.

I thought it might be that I still wrongly set the two binding lines so that the ZLB falls between two regimes. Am I correct? But I don’t know how to correctly set the binding line for borrowing constraint to avoid the oscillation issue. It seems much easier for rate ZLB. Could you please give me some hint?

  1. When I run the model with the typo 1e8 (because I want to know what’s exactly the results like) and then adjust the options_.occbin.smoother.max_number_of_iterations=30, the smoother iteration only stopped at 21 and reported no convergence. Is that correct? Why didn’t smoother iterated until 30 times?

Thank you so much for your constant help. This is my newest mod file.
test_estimation 2.zip (1.5 MB)

Hi, Professor, I tried estimating the model setting no ZLB constraints. The estimation works, but the one with the ZLB still not worked. Could you please give me some hint. Sorry to bother you so many time. This model indeed puzzled me for a long time. Thank you so much for your help.

  1. The error message is gone with the bugfix in bug fixes in error traps in PKF update steps (!2063) · Merge requests · Dynare / dynare · GitLab
  2. The smoother does not iterate until 30 due to already getting a periodic solution after 21 iterations. I don’t really know what is going on in your model and why there is always a periodic solution.