error _it undefined

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 _it undefined

Postby gazzani.andrea » Fri Sep 30, 2011 7:35 am

I used up to today Dynare 4.1, and my model worked correctly, now I switched to 4.2 and I got the following message. Does somebody know why?

??? Input argument "it_" is undefined.

Error in ==> Problemfix2_dynamic at 46
rhs =1-params(3)+params(3)*y(3)+x(it_, 2);

Error in ==> dr1 at 153


Error in ==> resol at 128
else

Error in ==> check at 45


Error in ==> Problemfix2 at 167
check;

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


Thank you
gazzani.andrea
 
Posts: 34
Joined: Thu Sep 01, 2011 5:30 am

Re: error _it undefined

Postby SébastienVillemot » Wed Oct 12, 2011 5:07 pm

Can you post your MOD file, so that we can replicate your problem and determine if it is a bug of Dynare?
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: error _it undefined

Postby gazzani.andrea » Wed Oct 12, 2011 5:42 pm

Oh thanks I installed Dynare 4.2.2 and now it is fine, so probably was just a problem related to the install of 4.2.1.
Thanks anyway
Andrea
gazzani.andrea
 
Posts: 34
Joined: Thu Sep 01, 2011 5:30 am

Re: error _it undefined

Postby dha » Thu May 10, 2012 3:32 pm

i'm having the same problem with dynare 4.2.5
it happens when simulating the shock
MODEL SIMULATION

??? Input argument "it_" is undefined.

Error in ==> model_dynamic at 16
rhs =y(5)-params(10)*(y(2)-y(6)-x(it_, 1))+x(it_, 5)-x(it_+1, 5)+T22*params(3)*(x(it_+1, 3)-x(it_,
3))+params(10)*params(1)*x(it_, 4);

Error in ==> simk at 229
[d1,jacobian] = feval([M_.fname '_dynamic'],oo_.endo_simul(iyr),oo_.exo_simul, M_.params, it_);

Error in ==> simul at 95
simk;

Error in ==> model at 164
simul();

Error in ==> dynare at 120
evalin('base',fname) ;
Attachments
model.mod
here is the .mod file
(1.39 KiB) Downloaded 204 times
dha
 
Posts: 2
Joined: Wed May 09, 2012 9:19 pm

Re: error _it undefined

Postby jpfeifer » Thu May 10, 2012 7:13 pm

This is a bug in Dynare 4.2.5. Please replace simk.m in the Dynare-Matlab folder with the attached one.
Attachments
simk.m
simk.m to replace the one in Dynare 4.2.5
(11.19 KiB) Downloaded 212 times
------------
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

Re: error _it undefined

Postby dha » Thu May 10, 2012 7:21 pm

thank you it is working now
dha
 
Posts: 2
Joined: Wed May 09, 2012 9:19 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests