Tolerance level - steady state calculation

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.

Tolerance level - steady state calculation

Postby dalessan » Fri Aug 30, 2013 8:31 pm

Good afternoon,

I was wondering if it's possible to change the termination tolerance in the options of the command "steady".
I am using fsolve to solve for the steady-state (i.e. solve_algo = 0).

Thank you,
Diana
dalessan
 
Posts: 1
Joined: Fri Aug 30, 2013 7:46 pm

Re: Tolerance level - steady state calculation

Postby jpfeifer » Sat Aug 31, 2013 10:53 am

This is not yet possible. You have to do it manually. In dynare_solve.m you have to change the
Code: Select all
options.TolFun=1e-8;

after the
Code: Select all
if options_.solve_algo == 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: Tolerance level - steady state calculation

Postby piya_uci » Fri Jun 10, 2016 12:59 am

What is the algorithm used by fsolve in dynare? Is it possible to change this?
piya_uci
 
Posts: 7
Joined: Fri Jun 10, 2016 12:55 am

Re: Tolerance level - steady state calculation

Postby jpfeifer » Fri Jun 10, 2016 6:45 am

fsolve is a Matlab solver. You can generally change the solution algorithm in Dynare to something different. The exact command depends on the application you have (mode_compute, solve_algo, stack_solve, etc)
------------
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: No registered users and 10 guests