fs2000a example

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.

fs2000a example

Postby aszydlo » Thu Nov 02, 2006 12:22 pm

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
aszydlo
 
Posts: 2
Joined: Thu Nov 02, 2006 11:57 am

Postby MichelJuillard » Sat Nov 04, 2006 7:09 pm

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
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

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