Replicating gali and Blanchard 2010
Posted:
Mon Apr 27, 2015 5:16 pm
by samyd12345
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!
Re: Replicating gali and Blanchard 2010
Posted:
Tue Apr 28, 2015 5:56 am
by jpfeifer
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.
Re: Replicating gali and Blanchard 2010
Posted:
Tue Apr 28, 2015 5:42 pm
by samyd12345
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?
Re: Replicating gali and Blanchard 2010
Posted:
Tue Apr 28, 2015 7:45 pm
by jpfeifer
ERROR: GB.mod: line 37, col 1: Unknown symbol: w
You only define capital W.