Page 1 of 1

The Jacobian or the dynamic model contains Inf???

PostPosted: Fri Jul 03, 2015 6:37 pm
by Alkebulan
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.

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

PostPosted: Mon Jul 06, 2015 7:00 am
by jpfeifer
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.

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

PostPosted: Mon Jul 06, 2015 8:41 am
by Alkebulan
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,

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

PostPosted: Mon Jul 06, 2015 8:48 am
by jpfeifer
See the manual on
Code: Select all
irf_plot_threshold

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

PostPosted: Mon Jul 06, 2015 9:12 am
by Alkebulan
Thank you very much.