The Jacobian or the dynamic model contains Inf???

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.

The Jacobian or the dynamic model contains Inf???

Postby Alkebulan » Fri Jul 03, 2015 6:37 pm

I get the following the error message when I run my code:
"The Jacobian or the dynamic model contains Inf. For more information, use options_.debug" Then when I use 'options_.debug" I get ans=0. I am not sure what's going on. Can anyone help?
I checked my equations for mistakes (many times) and I am pretty confident they are all correct. And the steady state is well defined.
Last edited by Alkebulan on Mon Apr 04, 2016 5:00 am, edited 1 time in total.
Alkebulan
 
Posts: 13
Joined: Sat Feb 07, 2015 4:51 am

Re: The Jacobian or the dynamic model contains Inf???

Postby jpfeifer » Mon Jul 06, 2015 7:00 am

I get
STOCHASTIC_SOLVER: The Jacobian of the dynamic model contains Inf. The problem is associated with:

Derivative of Equation 17 with respect to lag of Variable Ai (initial value of Ai: 0)
Derivative of Equation 23 with respect to lag of Variable Ai (initial value of Ai: 0)

You are dividing by Ai, which has steady state 0, but it is not in exp in some equations, resulting in a division by 0.
------------
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: The Jacobian or the dynamic model contains Inf???

Postby Alkebulan » Mon Jul 06, 2015 8:41 am

Thank you! I rewrite my equations and still made those mistake.
One last quick question: I know that changes in variables have to be over a certain threshold for dynare to display their IRF, how and where can I change that? Thanks in advance.

Cheers,
Alkebulan
 
Posts: 13
Joined: Sat Feb 07, 2015 4:51 am

Re: The Jacobian or the dynamic model contains Inf???

Postby jpfeifer » Mon Jul 06, 2015 8:48 am

See the manual on
Code: Select all
irf_plot_threshold
------------
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: The Jacobian or the dynamic model contains Inf???

Postby Alkebulan » Mon Jul 06, 2015 9:12 am

Thank you very much.
Alkebulan
 
Posts: 13
Joined: Sat Feb 07, 2015 4:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 3 guests

cron