Identification crashes

Hi everyone,

I’m using Marco Ratto’s identification toolbox and it used to work fine, but now it crashes when it tries to plot the measures of identification strength… I get the following error:

Error using bar (line 55)
Only complex vectors are supported.

Error in plot_identification (line 74)
bar(log([idehess.deltaM(is) idehess.deltaM_prior(is)]))

Error in dynare_identification (line 341)
plot_identification(params,idemoments_point,idehess_point,idemodel_point,idelre_point,advanced,parameters,name,IdentifDirectoryName);

If I understand this correctly, the problem is that Matlab tries to plot complex matrices (which gives an error). I understand that the measures of identification strength are defined as the square root of the squared change in the likelihood times 1 - the squared correlation term. Shouldn’t this term be positive by definition, such that the square root is real? How is it possible that I get complex numbers? I’m worried that there is something strange happening in my model…

Any hints are highly appreciated. Thanks a lot!

Might be a bug. Please provide me with the mod-file.

Just in case anyone encounters the same problem, thanks to jpfeifer, I learnt that it can be solved by using the most recent unstable Dynare version (post 4.4.2).