Hi,Jpfeifer, I also have a similar problem with value function in Dynare. I release a new topic in the forum,could you look at my problem and give some instructions? Many thanks.
As you told Thisisusername, it seems that what I need to do is just write down the value function following the FOCs in the Dynare code? I input the code
- Code: Select all
value=log(c)-theta*(h^(1+phi))/(1+phi)+beta*value(+1)
but the code is fail to run and the feedback is
[img]Starting Dynare (version 4.4.2).
Starting preprocessing of the model file ...
ERROR: sample.mod: line 23, cols 1-5: Unknown symbol: value
??? Error using ==> dynare at 174
DYNARE: preprocessing failed[/img]
I am not sure whether I have understand what you tell Thisisusername. Please take a look at it if you have the time.