A simple question about residuals

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.

A simple question about residuals

Postby dongji87 » Fri Oct 07, 2011 9:43 am

Hi , everyone!

I face the following problem:

if i put the resid block before steady block, dynare always shows nonzero results, and the steady states are different with what i have computed by hand, though it really finished computation. Does it matter? What results in this? Hope you help me,Thank you!


Residuals of the static equations:

Equation number 1 : -6.1329e-005
Equation number 2 : 8e-006
Equation number 3 : 7.6963e-005
Equation number 4 : -1.0566e-005
Equation number 5 : -7.6206e-005
Equation number 6 : 0.00074312
Equation number 7 : 0.00014972
Equation number 8 : -5e-006
Equation number 9 : 0.00013995
Equation number 10 : 2.64e-006
Equation number 11 : 4.8389e-005
Equation number 12 : 0
Equation number 13 : -7.616e-005
Equation number 14 : -4.085e-007
Equation number 15 : -3.25e-005
Equation number 16 : -1e-005
Equation number 17 : 1e-005
Equation number 18 : -0.33952
Equation number 19 : 0
Equation number 20 : 9.7546
Equation number 21 : 0


Warning: Some of the parameters have no value (kss, kpp, yss, ypp, mm, yy, kmm, lpp, imm, cmm) when using steady. If these parameters are not initialized in a steadystate file,
Dynare may not be able to solve the model...
> In test_for_deep_parameters_calibration at 46
In steady at 33
In yzx3 at 278
In dynare at 120
Attachments
yzx3.mod
(2.08 KiB) Downloaded 106 times
dongji87
 
Posts: 13
Joined: Fri Aug 26, 2011 7:28 am

Re: A simple question about residuals

Postby SébastienVillemot » Wed Oct 19, 2011 9:17 am

Since "resid" is before "steady", it displays the residuals for the values given in "initval".

Do you mean that in "initval" you put the steady state that you computed by hand? If this is the case, then it means that something is wrong with your hand-computed steady state (or alternatively with the model equations that you put in your MOD file).
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 13 guests