Page 1 of 1
Convergence problems
Posted:
Sat Jul 25, 2009 2:09 am
by follicule
Hi,
I am working on a model of financial accelerator for an open economy. I have built up my model and when i try to run it , i always get the error, CONVERGENCE PROBLEMS. i can't know how to deal with that . Please help !
Here is the file and data.
Thanks
Re: Convergence problems
Posted:
Tue Aug 25, 2009 11:32 am
by gazdmat
same problem...
someone pls help
Re: Convergence problems
Posted:
Tue Aug 25, 2009 12:47 pm
by StephaneAdjemian
Hi, Dynare fails in finding the steady state of your model. You may try to give more sensible values to the endogenous variables in the initval block. These values are used to initialize the newton like routine called by Dynare to compute the steady state, so they have to be not too far from the unknown steady state. But the best way is to provide an analytical expression of the steady state (writing a _steadystate.m file, you will find some examples on the forum).
Best,
Stéphane.
Re: Convergence problems
Posted:
Tue Aug 25, 2009 1:18 pm
by gazdmat
in the initval block i gave the STEADY STATE values! i calculated them in the mod file (recursively)
these are the variable_ss parameters
so?
Re: Convergence problems
Posted:
Tue Aug 25, 2009 1:27 pm
by gazdmat
and, of course, i cheked them in an other .mod
here
Re: Convergence problems
Posted:
Tue Aug 25, 2009 1:36 pm
by StephaneAdjemian
If I rewrite the last six equations as:
- Code: Select all
eta_I = exp(eps_I)*eta_I(-1)^rho_I;
eta_b = exp(eps_b)*eta_b(-1)^rho_b;
eta_a = exp(eps_a)*eta_a(-1)^rho_a;
eta_l = exp(eps_l)*eta_l(-1)^rho_l;
eta_g = exp(eps_g)*eta_g(-1)^rho_g;
pit = exp(eps_pit)*pit(-1)^rho_pit;
I get the steady state... But there is a problem with BK conditions. I did not try to change the values of the parameters.
Stéphane.
Re: Convergence problems
Posted:
Wed Aug 26, 2009 7:42 am
by gazdmat
thanks a lot