Error computing likelihood; This case shouldn't happen

Hi all

Has anyone enounter this error before?

Error in computing likelihood for initial parameter values
??? Error using ==> print_info at 67
This case shouldn’t happen. Contact the authors of Dynare

The code works perfectly fine with v3 but not with the latest v4. It seems to me that it does not read the mode file I provide in the estimation command. I don’t have any NaN for parameters. Any ideas?


Have you checked your parameter values? Are all of them in the permissible region?


Thanks. mode file is computed after I have carried out estimation with v3, so the likelihood can indeed be evaluated at these parameter values.

Hi, You may have a problem with the steady state of your model. Do you use a matlab steadystate file to compute the steady state of your

Best, Stéphane.

Hi Stephane

Thanks for the reply. I set up a linear model so don’t use any matlab function inside the mod file. It is just weird that it works perfectly fine with v3 but not 4.



John, Can you post your mod file and the data file.
Best, Stéphane.