Very basic RBC

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.

Very basic RBC

Postby matrix99 » Mon Oct 06, 2014 8:26 pm

Hi guys, I'm trying to learn dynare in these days for my master thesis, so i started with a very simple RBC following the paper attached (BasicRBC). Despite this, it appears i do something wrong in the initval section, because i don't get zero steadystate values. Any suggestion for a beginner? Thank you very much!
Attachments
f.mod
(530 Bytes) Downloaded 43 times
basicRBC.pdf
(173.31 KiB) Downloaded 46 times
matrix99
 
Posts: 3
Joined: Mon Oct 06, 2014 3:37 pm

Re: Very basic RBC

Postby jpfeifer » Tue Oct 07, 2014 8:24 am

1. Your timing is wrong, see the manual. Given your beginning of period stock convention, you must use
Code: Select all
predetermined_variables k;

2. There is a log missing in the RHS of your exogenous law of motion. It must be
Code: Select all
  log(z)=rho*log(z(-1)) + e;

Attached is the running file.
Attachments
f.mod
(583 Bytes) Downloaded 41 times
------------
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: Very basic RBC

Postby matrix99 » Tue Oct 07, 2014 9:31 am

Thank you very much!
matrix99
 
Posts: 3
Joined: Mon Oct 06, 2014 3:37 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests

cron