Eigenvalues is close to 0/0

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Eigenvalues is close to 0/0

Postby michel.cands » Wed Apr 15, 2015 3:39 am

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
michel.cands
 
Posts: 3
Joined: Wed Apr 15, 2015 3:15 am

Re: Eigenvalues is close to 0/0

Postby jpfeifer » Thu Apr 16, 2015 2:18 pm

Try running model_diagnostics.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Eigenvalues is close to 0/0

Postby michel.cands » Sat Apr 25, 2015 11:36 pm

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
michel.cands
 
Posts: 3
Joined: Wed Apr 15, 2015 3:15 am

Re: Eigenvalues is close to 0/0

Postby jpfeifer » Sun Apr 26, 2015 8:31 am

If you don't write
Code: Select all
model_diagnostics;

into your mod-file, but try to run it from the Matlab command window, you need to type
Code: Select all
model_diagnostics(M_,options_,oo_)
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Eigenvalues is close to 0/0

Postby michel.cands » Thu May 28, 2015 4:37 pm

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!
michel.cands
 
Posts: 3
Joined: Wed Apr 15, 2015 3:15 am

Re: Eigenvalues is close to 0/0

Postby jpfeifer » Fri May 29, 2015 3:17 pm

There must be a mistake somewhere, either in your code or in the one of the authors. Have you tried contacting them?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 6 guests