Page 1 of 1

fs2000a example

PostPosted: Thu Nov 02, 2006 12:22 pm
by aszydlo
Hi everybody,

Two issues.

1) After running fs2000a example in dynare_v3 (snapshot from 22.03.2006) everything works fine till the computation of the posterior mode. Then the MH doesn't want to kick off and the following error occurs:

??? Error: File: C:\dynare_v3\matlab\metropolis.m Line: 1464 Column: 22
Expected a variable, function, or constant, found ")".

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

Error in ==> C:\MATLAB6p5\work\fs2000a.m
On line 213 ==> dynare_estimation(var_list_);

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

Any idea, what's wrong ?


Regards,

Arek

PostPosted: Sat Nov 04, 2006 7:09 pm
by MichelJuillard
This is problem with old versions of Matlab such as 6.5.
In metropolis.m, on line 1464, replace
subindx = subset();

by
subindx = subset;


I will make the change for tomorrow snapshot. Note that the date in the dowload section refers to the first day the snapshot existed, not the current version. The snapshots are automaticaly redone every day.

Best

Michel