how to calculate value and policy function in Dynare

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

how to calculate value and policy function in Dynare

Postby suxijian » Tue Jun 03, 2014 11:44 am

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.
Attachments
original model and value function.pdf
(47.17 KiB) Downloaded 95 times
sample RBC.mod
(689 Bytes) Downloaded 47 times
suxijian
 
Posts: 6
Joined: Mon Jun 02, 2014 9:37 am

Re: how to calculate value and policy function in Dynare

Postby jpfeifer » Wed Jun 04, 2014 4:47 pm

For the value function, see http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5370. 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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: how to calculate value and policy function in Dynare

Postby suxijian » Thu Jun 05, 2014 9:05 am

Many thanks for your instructions, Jpfeifer. I will read the contents and try to do it.
suxijian
 
Posts: 6
Joined: Mon Jun 02, 2014 9:37 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests