Hello, the residuals of my static equations are almost all 0 except the one from the Calvo pricing equation. They are equations number 32 and 33 in this code:espoir.mod (6.7 KB)

I have used the equations that Eric Sims provides in his website, that is to say the following ones

I set Pi star (the rest price) as 0 in the steady state since I assume 0 inflation at the steady state. But the x_1t and x_2t equations (z_1 and z_2 in my code) don’t have 0 residuals. What should I do please ?

Maybe you sent wrong file. First, Z_1=*((1/Xss)-1)/(1-theta*beta_l); appears to be incomplete given that the lhs starts with a *. Second, there is no value for sigma_A in the mod file.

Thank you for your answer. Sorry I indeed attached the wrong file, here is a corrected one:inf.mod (6.6 KB)

I did not assume any value for sigma_A as I assume A to be a constant parameter, I just forgot to erase sigma_A, it’s done in the new file I have sent.

Thank you for your answer. I indeed have set the net inflation rate=0 (Pi=0 and Pi_star=0 in my file). And the gross inflation rate and gross reset inflation rates equations are definied as 1+Pi and 1+ Pi_star so I don’t see why you see a problem.

Thank you very much jpfeifer it solved my problem !

I have two other small questions if you don’t mind.

I still have an non zero residual for my equation (15) (the patient budget constraint) and I don’t know why. Here is the equation on the pic. Since he is a lender then the loans to Government b_lg and the loan to other consumers b_l are negative, this is why I put a minus in front of them in the budget constraint:

But for unknown reason residuals of equation (15) are non zero

Is there a way to have very small residuals for my equations and still enable dynare to run ? It’s because my equations 21 and 23 have very small residuals and it prevents me from runing dynare, and yet I did not do any mistake in those two equations.

Unless you are going for an analytical steady state residuals are not a problem if subsequently a steady state is found during numerical steady state finding. That may then also solve point 2.