by Glm » Tue Sep 04, 2012 8:07 am
Hi! I took the example file (basic RBC model) and added the variable "test=(k-k(-1))^4". When simulating, this term didn't show up and then I figured this "test" variable is too small and therefore it's not showing up. But here's the problem, even when I multiply this term with 1000000000000000000000000000000000000000 it's still not showing up. Sometimes in models I have this problem even when raising to 2 "test=(k-k(-1))^2". Since it's quite popular in the literature to use quadratic adjustment cost functions, for prices, capital e.t.c. this problem could mean that these terms are irrelevant. It seems like Dynare round this term to zero no matter what you do. Is this a bug in Dynare?