Page 1 of 1

Error message when running a code for Ireland model

PostPosted: Sun Jan 28, 2007 8:03 pm
by bigbigben
something funny happened when I was running a dynare code for Ireland (2004) model. Everything went fine except the check procedure. Below is the error message and I can't understand it.
??? Undefined function or variable "g".

Error in ==> check at 28
sscond(1) = (g-1+delt)*kss - iss;

Error in ==> Ireland at 145
check;

Error in ==> dynare at 26
evalin('base',fname) ;

I attach the code here. Actually, everyone can google and find it.

PostPosted: Tue Jan 30, 2007 10:31 pm
by MichelJuillard
I couldn't reproduce the problem. It works with version 3. With version 4, it is necessary to specify steady(solve_algo=3) to succeed in computing the steady state.

Best

Michel

PostPosted: Wed Jan 31, 2007 12:43 am
by bigbigben
The model in log-linearing form works fine but it doesn't work for the other setting, say, the linarizing around the level.

PostPosted: Wed Jan 31, 2007 2:15 pm
by MichelJuillard
Could you please post the exact version of Ireland.mod that generates the output reported in your first message.

Thanks

Michel

PostPosted: Wed Jan 31, 2007 4:59 pm
by bigbigben
The commented lines are the model in level

PostPosted: Fri Feb 02, 2007 10:18 pm
by MichelJuillard
yes, but the initval values aren't appropriate for a model in level

Best

Michel