Behavioral New Keynesian Model
Posted: Tue Feb 03, 2015 9:39 pm
Dear all,
I'm new in Dynare and I'm currently trying to simulate a personal behavioral model.
The model is totally backward looking since I have written simply heuristics for any expectations.
The problem is that any utility function Z,V and U has always calculated equal 0.
This happens for each one, apart from V which is the only one that doesn't include past values.
For this reason, I'm sure that the problem concernes past values of pi, g and a, but I don't understand why Dynare works out, for example:
g(-1)-g(-2)=0,
when g(-1) should be the value of g one period ago, and g(-2) should be a value of g two periods ago, and hence different values.
Moreover, it seems very strange to me that the weights of forecasters could be negative when they are calculated as a ratio between exponential functions.
I have attached my file.mod.
I hope in your answer and I thank you.
Best,
Alessandro
I'm new in Dynare and I'm currently trying to simulate a personal behavioral model.
The model is totally backward looking since I have written simply heuristics for any expectations.
The problem is that any utility function Z,V and U has always calculated equal 0.
This happens for each one, apart from V which is the only one that doesn't include past values.
For this reason, I'm sure that the problem concernes past values of pi, g and a, but I don't understand why Dynare works out, for example:
g(-1)-g(-2)=0,
when g(-1) should be the value of g one period ago, and g(-2) should be a value of g two periods ago, and hence different values.
Moreover, it seems very strange to me that the weights of forecasters could be negative when they are calculated as a ratio between exponential functions.
I have attached my file.mod.
I hope in your answer and I thank you.
Best,
Alessandro