Page 1 of 1

error in RBC.MOD

PostPosted: Wed Mar 31, 2010 1:33 am
by xibu
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

Re: error in RBC.MOD

PostPosted: Mon May 10, 2010 10:05 am
by StephaneAdjemian
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.