Problem with the posterior maximization

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.

Problem with the posterior maximization

Postby dareios82 » Mon Jul 09, 2007 2:26 pm

Hello,

it's Dario, we met at the summer school. I am estimating the original SW model using their dataset. Everything works fine with the snapshot version downloaded on June the 25th. With the latest snapshot I get the following error message once the posterior maximization has converged:

??? Error using ==> evalin
Undefined function or variable 'mYY'.

Error in ==> DsgeVarLikelihood at 15
mYY = evalin('base', 'mYY');

Error in ==> hessian at 21
f0=feval(func,x,varargin{:});

Error in ==> dynare_estimation at 411
hh = reshape(hessian('DsgeVarLikelihood',xparam1,gend),nx,nx);

Error in ==> EAmodel_hist_DSGE_F19_8 at 440
dynare_estimation(var_list_);

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

What does go wrong? Can you tell me again the command to open the (MATLAB) file at the line where the error appears?

Best

D
dareios82
 
Posts: 10
Joined: Sat Jun 30, 2007 3:01 pm

Postby MichelJuillard » Mon Jul 09, 2007 6:38 pm

Hi Dario,

this is odd. Are you doing VarDsge estimation?

Can you upload your *.mod file and your data file?

Thanks

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: Problem with the posterior maximization

Postby StephaneAdjemian » Fri Jul 13, 2007 10:56 pm

Hi Dario,

I've fixed the bug today. If you try with the new snapshot version of dynare v4 it should run without problem.

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


Return to Dynare help

Who is online

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