A problem after installing dynare version 4.0.2

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.

A problem after installing dynare version 4.0.2

Postby winifred » Thu Nov 20, 2008 2:36 pm

Before I installed dynare-4.0.2, i can run the codes in .mod file,

stoch_simul(hp_filter = 1600, order = 1);

statistic1 = 100*sqrt(diag(oo_.var(1:11,1:11)))./oo_.mean(1:11);

table('Relative standard deviations in %',strvcat('VARIABLE','REL. S.D.'),lgy_(1:11,:),statistic1,10,8,4)

After installing dynare-4.0.2, it doesn't work. It shows the error messange as below:

??? Undefined variable lgy_.

Error in ==> mymodel2 at 145
table('Relative standard deviations in %',strvcat('VARIABLE','REL. S.D.'),lgy_(1:11,:),statistic1,10,8,4)

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



Can someone help me. Many thanks!


Winifred
winifred
 
Posts: 12
Joined: Tue Oct 21, 2008 10:02 am

Re: A problem after installing dynare version 4.0.2

Postby SébastienVillemot » Tue Nov 25, 2008 9:08 am

Hi

I suppose you were using Dynare version 3 before installing version 4.0.2.

Some internal structures have changed inside Dynare, so you need to slightly modify your code.

Replacing "lgy_(1:11,:)" with "M_.endo_names(1:11,:)" should solve your problem.

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: A problem after installing dynare version 4.0.2

Postby olguinma » Fri Mar 19, 2010 1:37 am

Hi,

I' am relatively new using Dynare and also have the same problem runing the rbc.mod example in dynare 4:

??? 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) ;


I dont understand how to solve this error. Do I need to change some file?

I have noticed that the structure of dynare is quiet different from v.3 but dont know what changes must do in order to run succesfuly this example.

Thanks.

olguinma.
olguinma
olguinma
 
Posts: 3
Joined: Sat Mar 29, 2008 6:47 am
Location: Buenos Aires, Argentina


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests