Eigenvalues is close to 0/0

Hi, my name is Michel,

I’m trying run a model with labour market frictions and bargaining power but i had a bad experience with my code.
I’m working with three files, one for the calibration, one for solve a system inside the calibration and one for the model.
The calibration file was checked, but every time I run the model I get the following error message (after the steady state results):

Error using print_info (line 51)
One of the eigenvalues is close to 0/0 (the absolute value of numerator and denominator is smaller than 1e-6)

Error in stoch_simul (line 71)
print_info(info, options_.noprint);

Error in codigock (line 469)
info = stoch_simul(var_list_);

Error in dynare (line 120)
evalin(‘base’,fname) ;

My steady states are not consistent?
Is there a way to fix that?
Is there a way to see those eigenvalues or the equations that determine them?

Sorry about the English.

Thaks

Try running model_diagnostics.

Dear Johannes Pfeifer

Thanks for the answer;
But when i try running the model_diagnostics, i get the following message:

Error using model_diagnostics (line 38)
Not enough input arguments.

Is there any way to fix this?

Thanks

If you don’t write

into your mod-file, but try to run it from the Matlab command window, you need to type

Dear Johannes Pfeifer
Thanks for the tip;
I get the following message:

“model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations”

This is surprising, since I’m trying to replicate an existing model.
I’m trying to replicate the model " Bargaining, Aggregate Demand and Employment" by Charpe and Kuhn (2012) which was published in Dynare Working Pappers, but the code found on the page is different from the model presented by the authors in the paper.

The available code on the site relates to another model and the authors develop a convergence for the base model of the article. I would like to replicate this model in the article by pure form, without any convergence. I wrote all the equations, checked all leads, but the model does not run.

Theoretically, since the authors found solution, I should be able to obtain it also in pure form.

Any advice?

Again, thank you for your attention! It has been a great help!

There must be a mistake somewhere, either in your code or in the one of the authors. Have you tried contacting them?