Page 1 of 1

the problems about residual

PostPosted: Sat Apr 06, 2013 12:33 pm
by jinyou_yin
My code for simulation goes well.and i input ''resid(1)'' after simulation ,results as follows comes out:
Residuals of the static equations:

Equation number 1 : 0
Equation number 2 : 0
Equation number 3 : 0
Equation number 4 : 0
Equation number 5 : 0
Equation number 6 : 0
Equation number 7 : 0
Equation number 8 : 0
Equation number 9 : 0
Equation number 10 : 0
Equation number 11 : 0
Equation number 12 : 0
Equation number 13 : 0
Equation number 14 : 0
Equation number 15 : 0
Equation number 16 : 0
Equation number 17 : 0
Equation number 18 : 0

ans =

1.0e-15 *

0
0
0
0
0
0.1110
0
0
-0.4441
-0.1665
0.0555
0
0
0
0
0
-0.2220
0
The version of my dynare is 4.3.2 The up side of this result is 0, but the bottom side says no .whis this mean?(I know few about MATLAB)
Thank you for your time.
Best

Re: the problems about residual

PostPosted: Tue Apr 09, 2013 8:11 am
by jpfeifer
This is due to numerical rounding. Everything that is 0 to the last 10 decimals or so is taken to be 0.