Page 1 of 1

Problem with the posterior maximization

PostPosted: Mon Jul 09, 2007 2:26 pm
by dareios82
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

PostPosted: Mon Jul 09, 2007 6:38 pm
by MichelJuillard
Hi Dario,

this is odd. Are you doing VarDsge estimation?

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

Thanks

Michel

Re: Problem with the posterior maximization

PostPosted: Fri Jul 13, 2007 10:56 pm
by StephaneAdjemian
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.