rational expectations open economy model simulation

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.

rational expectations open economy model simulation

Postby asmae » Mon Apr 08, 2013 8:34 am

Hello,

I'm trying to simulate a RBC model where an economy is hit by a negative leverage shock (the model is inspired from KM97 and PW2012 already talked about in the forum).
In writing my code i used some of the files posted in the forum, but still my simulation doesn't give any result.

Here attached my mod file.

Any help will be appreciated :|
Attachments
RBC.mod
(1.68 KiB) Downloaded 204 times
asmae
 
Posts: 14
Joined: Fri Mar 22, 2013 10:57 am

Re: rational expectations open economy model simulation

Postby jpfeifer » Wed Apr 10, 2013 7:00 am

You use an undefined variable, i.e. R in line 20, column 4. That's why Dynare says
ERROR: RBC.mod:20.4-8: To use an external function (R) within the model block, you must first declare it via the external_function() statement.

??? Error using ==> dynare at 122
DYNARE: preprocessing failed
------------
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: rational expectations open economy model simulation

Postby asmae » Wed Apr 10, 2013 10:30 pm

Hello,

yes you are right. Thank you for your reply.
asmae
 
Posts: 14
Joined: Fri Mar 22, 2013 10:57 am


Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 2 guests