Replicating gali and Blanchard 2010

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.

Replicating gali and Blanchard 2010

Postby samyd12345 » Mon Apr 27, 2015 5:16 pm

Hi,

We are trying to replicate their 2010 paper and got stuck on the initval, how to you find them or solve for this problem since at the moment it says error in line 49?

Thank you!
Attachments
GB.mod
(2.99 KiB) Downloaded 57 times
samyd12345
 
Posts: 8
Joined: Fri Apr 17, 2015 6:04 pm

Re: Replicating gali and Blanchard 2010

Postby jpfeifer » Tue Apr 28, 2015 5:56 am

It says:
ERROR: GB.mod: line 29, col 102: syntax error, unexpected ')'

which tells you all you need to know. There is an issue with the brackets. After
Code: Select all
(1-del*g)

in that line there is a closing bracket that was never opened. The opening bracket before
Code: Select all
N^(1+phi)

never closes and there is no semicolon at the end of the 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

Re: Replicating gali and Blanchard 2010

Postby samyd12345 » Tue Apr 28, 2015 5:42 pm

Hi,

Running the dynare command now, i still get the error lines:

>> dynare GB.mod
Error: File: GB.m Line: 101 Column: 2
The input character is not valid in MATLAB statements or expressions.

Error in dynare (line 26)
evalin('base',fname) ;

what is the problem now, i have checked the file several time now but i cant find any issues?
Attachments
GB.mod
(2.84 KiB) Downloaded 84 times
samyd12345
 
Posts: 8
Joined: Fri Apr 17, 2015 6:04 pm

Re: Replicating gali and Blanchard 2010

Postby jpfeifer » Tue Apr 28, 2015 7:45 pm

ERROR: GB.mod: line 37, col 1: Unknown symbol: w

You only define capital W.
------------
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: Google [Bot] and 6 guests