Convergence problems

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.

Convergence problems

Postby follicule » Sat Jul 25, 2009 2:04 am

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
Attachments
mydata.xls
(35 KiB) Downloaded 493 times
memo5.mod
(6.09 KiB) Downloaded 557 times
follicule
 
Posts: 4
Joined: Tue Jun 30, 2009 6:19 am

Re: Convergence problems

Postby reluginbuhl » Wed Sep 16, 2009 11:48 am

You might want to try programming the analytic solution to your model's steady state. See section 3.6.3 of the user's manual:

"The alternative is to write a Matlab program to find your model’s steady
state. Doing so has the clear advantages of being able to incorporate your
Matlab program directly into your .mod file so that running loops with different
parameter values, for instance, becomes seamless. NOTE! When doing so,
your matlab (.m) file should have the same name as your .mod file, followed
by steadystate For instance, if your .mod file is called example.mod, your
Matlab file should be called example steadystate.m and should be saved in
the same directory as your .mod file. Dynare will automatically check the directory
where you’ve saved your .mod file to see if such a Matlab file exists. If
so, it will use that file to find steady state values regardless of whether you’ve
provided initial values in your .mod file."

This might help...
reluginbuhl
 
Posts: 53
Joined: Wed Mar 04, 2009 2:41 pm

Re: Convergence problems

Postby Ravelomanana » Mon May 11, 2015 6:47 pm

After making a brief review of your model. I think you should linearize it because initial values are more difficult to find. By linearizing it you dont need to set up init val block because they are all equal to zero. It may take more time but it avoids convergense issue
Ravelomanana
 
Posts: 17
Joined: Mon May 11, 2015 5:49 pm

Re: Convergence problems

Postby jpfeifer » Tue May 12, 2015 7:58 am

@Ravelomanana: this is not a solution. For linearization, you tyically need to compute the steady state analytically. But if you can compute the steady state, you an use the steady_state_model-block without the need for linearization
------------
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 User Guide

Who is online

Users browsing this forum: No registered users and 0 guests