Another error in metropolis.m

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.

Another error in metropolis.m

Postby arnedam » Mon Feb 06, 2006 10:46 am

I got the following error message immediately after the table with the MH estimation results:

??? Undefined function or variable 'MAX_nirfs'.

Error in ==> c:\matlab\dynare_v3\matlab\metropolis.m
On line 2496 ==> elseif nvn & B > MAX_nirfs

Error in ==> c:\matlab\dynare_v3\matlab\dynare_estimation.m
On line 772 ==> metropolis(xparam1,invhess,gend,data,rawdata,bounds);

Error in ==> Z:\demand\matlab\dynare\m1est7.m
On line 390 ==> dynare_estimation(var_list_);

Error in ==> c:\matlab\dynare_v3\matlab\dynare.m
On line 26 ==> evalin('base',fname) ;



The MH algorithm was called with the following Dynare statement:
estimation(datafile=UKdat,nobs=84,mh_replic=20000,mh_nblocks=5,mh_jscale=0.1,mode_compute=0,mode_file=m1est6_mode,moments_varendo,bayesian_irf);
arnedam
 

Postby StephaneAdjemian » Mon Feb 06, 2006 12:15 pm

I'm sorry for this little bug.

All you have to do is to open the file metropolis.m and to replace "MAX_nirfs" by "MAX_nirfs_dsge" (line 2496).

St
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Postby arnedam » Mon Feb 06, 2006 3:21 pm

StephaneAdjemian wrote:I'm sorry for this little bug.

All you have to do is to open the file metropolis.m and to replace "MAX_nirfs" by "MAX_nirfs_dsge" (line 2496).

St
arnedam
 

Postby StephaneAdjemian » Mon Feb 06, 2006 5:09 pm

arnedam wrote:
StephaneAdjemian wrote:I'm sorry for this little bug.

All you have to do is to open the file metropolis.m and to replace "MAX_nirfs" by "MAX_nirfs_dsge" (line 2496).

St
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Postby arnedam » Tue Feb 07, 2006 10:23 am

Thank you very much, St
arnedam
 


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 9 guests