MJDGGES returns the following error code22


I have been coding up a DSGE model for Bayesian estimation and I keep running into a particular error message when i come to solving the model in the first instance:

??? Error using ==> print_info at 49
MJDGGES returns the following error code22

Error in ==> check at 53

Error in ==> bank_model_2009 at 495

Error in ==> dynare at 102
evalin(‘base’,fname) ;

This message comes at the point I ask dynare to check the BK conditions.

I have already solved this model using Klein’s, Sims’s and McCallum’s toolkits, but for some reason I have run up against a glitch in dynare (it is of course very possible that I have transposed the code incorrectly, but even after repeated checks I can’t seem to find the problem). I coded the model in log-linearised form, listing all the parameters, model steady states and then the equations (I am working from my old templates from dyanre 3, but i don’t think the syntax has changed).

My questions are:

  1. What does this error mean? Does it mean that there is a problem with the 22nd eigenvalue or something along those lines?
  2. Should I send my code, and if so could I do it privately?

Many thanks for your help in advance. I hope to hear from you soon.




Just a quick message to say I located the glitch. I wasn’t sure how to remove my post but I thought I should post a reply (to myself) to note that thankfully the glitch has been sorted.