Error message when running a code for Ireland 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.

Error message when running a code for Ireland model

Postby bigbigben » Sun Jan 28, 2007 8:03 pm

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.
Attachments
Ireland.mod
(1.61 KiB) Downloaded 227 times
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Postby MichelJuillard » Tue Jan 30, 2007 10:31 pm

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
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby bigbigben » Wed Jan 31, 2007 12:43 am

The model in log-linearing form works fine but it doesn't work for the other setting, say, the linarizing around the level.
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Postby MichelJuillard » Wed Jan 31, 2007 2:15 pm

Could you please post the exact version of Ireland.mod that generates the output reported in your first message.

Thanks

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby bigbigben » Wed Jan 31, 2007 4:59 pm

The commented lines are the model in level
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Postby MichelJuillard » Fri Feb 02, 2007 10:18 pm

yes, but the initval values aren't appropriate for a model in level

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests