Error: Reference to non existent field

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: Reference to non existent field

Postby vrv » Sun Sep 26, 2010 8:30 pm

Hi, I am trying to calibrate and simulate a simple non deterministic model.
I tried to introduce the model with both specifications, in levels and in logs, however I get the same error message.

??? Reference to non-existent field 'maximum_lag'.

Error in ==> GHH_ps1_levels at 146
oo_.endo_simul=[oo_.steady_state*ones(1,M_.maximum_lag)];

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

I join to this message both .mod files.
I am using Dynare 4.1.2 for mac, and matlab 7.1 .

Thank you in advance for your help.
Best Regards.
Attachments
GHH_ps1_levels.mod
(921 Bytes) Downloaded 157 times
GHH_ps1.mod
(1.17 KiB) Downloaded 152 times
vrv
 
Posts: 1
Joined: Sun Sep 26, 2010 8:20 pm

Re: Error: Reference to non existent field

Postby jpfeifer » Mon Oct 04, 2010 1:51 pm

Don't set a clear at the beginning of the file. Dynare does this automatically. If you set it by hand, Dynare clears the workspace after preprocessing and the mentioned structure is deleted, resulting in the error.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests