var exo and loss function

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.

var exo and loss function

Postby selima » Wed Jul 24, 2013 3:45 pm

Good mornin . I find some problems in the modefile that I work with"A New Keynesian Model of the Armenian Economy" prepared by Ashot Mkrtchyan, Era Dabla-Norris, and Ara Stepanyan 2009, but I add some modifications using the model of (svensson,2000) to compare the welfare of different monetary policy regimes. I think also that I have some mistakes in the loss function.Can you tell me what is wrong please .Thank you very much

The error message is :
Starting Dynare (version 4.3.2).
Starting preprocessing of the model file ...
ERROR: NK_GM052C.mod:54.1-6: syntax error, unexpected VAREXO

??? Error using ==> dynare at 114
DYNARE: preprocessing failed
Attachments
NK_GM052C.mod
(6.31 KiB) Downloaded 105 times
selima
 
Posts: 46
Joined: Thu Jan 10, 2013 5:13 pm

Re: var exo and loss function

Postby jpfeifer » Wed Jul 24, 2013 10:53 pm

Because you are systematically missing semicolons after the lines. If you get an error like
ERROR: NK_GM052C.mod:54.1-6: syntax error, unexpected VAREXO

it means that there is a problen in line 54, column1 to 6. If column1 1 is affected, it typically means that there is an issue at the end of the previous line. This is a limitation of the preprocessor that cannot be avoided. Thus, if the first column appears, check the end of the previous nonempty line.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests