Problem with new keynesian model

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.

Problem with new keynesian model

Postby John123 » Fri Jan 28, 2011 2:15 pm

Dear all,

i'm trying to run a new keynesian model with endogenous capital accumulation. As i want to see the effecty by shocks on all variables, i don't use a three equation specification (as fe. Gali), but specify all equations.
Running the model yields the following error code:

Starting Dynare (version 4.1.3).
Starting preprocessing of the model file ...
ERROR: erweitertesModell.mod:63.120: character unrecognized by lexer

Can anybody help me? I'm quite new in using Dynare, maybe i also made a mistake by extending the simple basic model by endogenous capital accumulation
Thank you!
Attachments
new keynesian model.mod
(3.62 KiB) Downloaded 345 times
John123
 
Posts: 9
Joined: Fri Dec 03, 2010 10:39 am

Re: Problem with new keynesian model

Postby jpfeifer » Sat Jan 29, 2011 9:07 am

Hi,
as the error says, there is a mistake in line 63, column 120. You wrote "rk" as "r k". If you correct this mistake Dynare will tell you that there is also a wrong bracket in this equation. Moreover, do not uncomment the steady command and set order to 1 in stoch_simul as otherwise the large variance of your shocks will most probably lead to explosive behavior (or decrease the shock size).
------------
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: Problem with new keynesian model

Postby John123 » Tue Feb 01, 2011 7:47 am

Hi,
ah ok i think, i found the error. Thank you very much for your help.
John123
 
Posts: 9
Joined: Fri Dec 03, 2010 10:39 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 8 guests