"??? Undefined variable lgy_."

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

"??? Undefined variable lgy_."

Postby billsnow » Thu Feb 19, 2009 7:04 pm

When I run the examle file rbc.mod in Dynare 4, it gives me the error message like this:

??? Undefined variable lgy_.

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

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

But it runs well in Dynare 3.

How should I correct this?

Thanks.

Bill
billsnow
 
Posts: 6
Joined: Wed Feb 18, 2009 12:39 am
Location: Ottawa, ON, Canada

Re: "??? Undefined variable lgy_."

Postby SébastienVillemot » Mon Feb 23, 2009 9:55 am

Hi,

The "lgy_" structure is now replaced by "M_.endo_names". Beware that the order of variables may have changed since version 3.

Best,

Sébastien
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: "??? Undefined variable lgy_."

Postby billsnow » Mon Feb 23, 2009 9:26 pm

Thanks, Sébastien.

I got it!!! I have corrected the .m files.


Bill
billsnow
 
Posts: 6
Joined: Wed Feb 18, 2009 12:39 am
Location: Ottawa, ON, Canada


Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 1 guest