resid (1) - Confusion!

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.

resid (1) - Confusion!

Postby danishussalam » Sat May 10, 2014 8:06 pm

Dear All,

I use a resid(1) option to view the residuals of the static equation which in turn guides me what initial value i should change in the inival block. My model has a total of 38 equations and what i don't understand is why dynare gives me a different set of non-zero equations?

for instance after using resid(1) or

steady; followed by check;

or steady(solve_algo=0) to steady(solve_algo=3) followed by check;

every time I get a different set of residual equations that demands my attention. Can anyone please explain why is it so?

Does that mean if I somehow manage to find a solution to my model let's say with solve_algo=1, that same solution won't hold for any other algorithm?
danishussalam
 
Posts: 21
Joined: Thu Apr 10, 2014 9:27 am

Re: resid (1) - Confusion!

Postby jpfeifer » Mon May 12, 2014 12:30 pm

resid (1) prints the residuals given the current initial values. Directly after initval, they are the ones specified in this block. After a steady command, they are the residuals given the best-fitting values found during steady state search. That is why resid(1) typically belongs before a steady command and after initval.
------------
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: resid (1) - Confusion!

Postby danishussalam » Mon May 12, 2014 4:37 pm

Thanks alot!
danishussalam
 
Posts: 21
Joined: Thu Apr 10, 2014 9:27 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests