Page 1 of 1

steady state objects

PostPosted: Tue Jun 09, 2015 7:27 pm
by pg28
hi

when computing the steady state, Dynare solves a system of equations, do you know where is stored the value of the objective functions?
how can we adjust the convergence criteria or check the accuracy with which each equation is satisfied?

Thanks!

Re: steady state objects

PostPosted: Thu Jun 11, 2015 9:07 am
by jpfeifer
You can print out the residuals with
Code: Select all
resid(1);

But they are not stored. By setting
Code: Select all
options_.dynatol.f

before calling steady, you can change the tolerance with which the respective equations hold. The default is 1e-5. All equations where the residual is smaller than this will be displayed as holding with 0 residual.