Problem with the posterior maximization

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

Hi Dario,

this is odd. Are you doing VarDsge estimation?

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

Thanks

Michel

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.