error in RBC.MOD

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 in RBC.MOD

Postby xibu » Wed Mar 31, 2010 1:33 am

Dear all,

I am a dynare beginner when run the example "rbc.mod", there is an error occuring:

??? Undefined variable lgy_.

Error in ==> rbc at 125
table('Relative standard deviations in %',strvcat('VARIABLE','REL. S.D.'),lgy_(1:6,:),statistic1,10,8,4);

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

how to deal with it?

Thanks,

Xibu
xibu
 
Posts: 4
Joined: Sun Mar 28, 2010 11:51 pm

Re: error in RBC.MOD

Postby StephaneAdjemian » Mon May 10, 2010 10:05 am

Hi, This example is not compatible with dynare 4! The global lgy_, used in dynare version 3, was an array of char containing the names of the endogenous variables of the model. If you replace lgy_ by M_.endo_names it should be ok.
Best, Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.


Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 2 guests