Hi, everyone, I’m a novice in Dynare, and have a problem about how to get the value function and policy function from Dynare. It seems that the user guide didn’t discuss about the related contents.
Here is a sample code that I write to solve out a simple RBC model and do simulation. The code is brief and successful. However, I didn’t know to get the value function and policy function from Dynare. Does someone can give me instructions and suggestions? Many thanks.
I upload my sample code and the original model and the value function I set here.
original model and value function.pdf (47.2 KB)
sample RBC.mod (689 Bytes)
For the value function, see [Compute value function in Dynare). For the policy function, see the output of the decision rules Dynare provides after running stoch_simul. On my homepage you can find a Matlab function to plot the policy functions.
Many thanks for your instructions, Jpfeifer. I will read the contents and try to do it.