Occbin estimation issue

Dear users

I am trying to estimate a NK model with an occasionally binding constraint and a zero lower bound. However, the code generates an error message that reads “IVF: The solver returned with an error code.” The model is based on Jermann and Quadrini(2012), which investigates the macroeconomic effects of financial shocks. The code is from the Pfeifer’s replication package. Could you provide some guidance on how to handle this type of problem?

Attached contains the codes and data.

Sincerely yours

financial_est_borrconzlb.mod (15.5 KB)
financial_est_borrconzlb_steadystate.m (2.6 KB)
dataobsfile.mat (23.4 KB)
dataobsfile2.mat (23.4 KB)

This is tricky. First, you need to increase


But even after that, the Inversion Filter fails to find a shock combination explaining the data in period 82.